Searched refs:dir_len (Results 1 – 6 of 6) sorted by relevance
/external/e2fsprogs/intl/ |
D | localcharset.c | 125 size_t dir_len = strlen (dir); in get_charset_aliases() local 127 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); in get_charset_aliases() 128 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); in get_charset_aliases() 131 memcpy (file_name, dir, dir_len); in get_charset_aliases() 133 file_name[dir_len] = DIRECTORY_SEPARATOR; in get_charset_aliases() 134 memcpy (file_name + dir_len + add_slash, base, base_len + 1); in get_charset_aliases()
|
/external/e2fsprogs/misc/ |
D | lsattr.c | 132 int dir_len = strlen(dir_name); in lsattr_dir_proc() local 134 path = malloc(dir_len + strlen (de->d_name) + 2); in lsattr_dir_proc() 136 if (dir_len && dir_name[dir_len-1] == '/') in lsattr_dir_proc()
|
/external/bison/lib/ |
D | dirname.c | 33 dir_len (char const *file) in dir_len() function 55 size_t length = dir_len (file); in dir_name()
|
D | dirname.h | 43 size_t dir_len (char const *file);
|
/external/protobuf/src/google/protobuf/compiler/ |
D | zip_writer.cc | 171 uint32 dir_len = output.ByteCount(); in WriteDirectory() local 179 output.WriteLittleEndian32(dir_len); // central directory byte size in WriteDirectory()
|
/external/qemu/ |
D | trace.c | 233 int ii, len, base_len, dir_len, path_len, qtrace_len; in create_trace_path() local 256 dir_len = len - base_len; in create_trace_path() 262 path_len = dir_len + base_len + qtrace_len + strlen(ext) + 1; in create_trace_path() 264 if (dir_len > 0) in create_trace_path() 265 strncpy(fname, filename, dir_len); in create_trace_path() 266 fname[dir_len] = 0; in create_trace_path()
|