Searched defs:dir_len (Results 1 - 2 of 2) sorted by relevance

/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconf_xorg/fbc/
H A Dfbc_gamma_table.c314 size_t dir_len; /* Length of directory path */ local
318 dir_len = 0; /* Case of no directory component */
320 dir_len = dir_ptr - config_file_path + 1;
322 if ((dir_len + strlen(device_name) + strlen(GAMMA_TABLE_EXT))
327 memcpy(gfile_path_buf, config_file_path, dir_len);
328 strcpy(gfile_path_buf + dir_len, device_name);
/solaris-x11-s12/open-src/app/gfx-utils/sun-src/fbconfig/
H A Dfbconfig.c976 size_t dir_len; /* Length of "/dev/fbs/" */ local
997 dir_len = strlen(DEVICE_DIR "/");
1020 if (dir_len + file_len >= MAX_DEV_PATH_LEN) {
1075 strcpy(&device_path[dir_len], dev_entry->name);
1161 suffix_ptr = &device_path[dir_len + file_len]; /* The Nul */
1169 &device_path[dir_len],
1201 device_path[dir_len + file_len] = ' '; /* Was Nul */
1263 size_t dir_len; /* Length of "/dev/fbs/" */ local
1295 dir_len = strlen(DEVICE_DIR "/");
1317 if (dir_len
[all...]

Completed in 13 milliseconds