/ndk/sources/host-tools/sed-4.2.1/lib/ |
dirname.c | 32 dir_len (char const *file) function 73 size_t length = dir_len (file);
|
localcharset.c | 135 size_t dir_len = strlen (dir); local 137 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); 138 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); 141 memcpy (file_name, dir, dir_len); 143 file_name[dir_len] = DIRECTORY_SEPARATOR; 144 memcpy (file_name + dir_len + add_slash, base, base_len + 1);
|
dirname.h | 64 size_t dir_len (char const *file);
|
/external/bison/lib/ |
dirname.h | 43 size_t dir_len (char const *file);
|
dirname.c | 33 dir_len (char const *file) function 55 size_t length = dir_len (file);
|
/frameworks/base/cmds/installd/ |
utils.c | 293 const size_t dir_len = android_system_dirs.dirs[i].len; local 294 if (!strncmp(path, android_system_dirs.dirs[i].path, dir_len)) { 295 if (path[dir_len] == '.' || strchr(path + dir_len, '/') != NULL) { 400 size_t dir_len; local 404 dir_len = android_app_dir.len; 406 dir_len = android_app_private_dir.len; 408 dir_len = android_asec_dir.len; 420 if ((subdir = strchr(path + dir_len, '/')) != NULL) { 433 if (path[dir_len] == '. [all...] |
/external/e2fsprogs/intl/ |
localcharset.c | 125 size_t dir_len = strlen (dir); local 127 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); 128 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); 131 memcpy (file_name, dir, dir_len); 133 file_name[dir_len] = DIRECTORY_SEPARATOR; 134 memcpy (file_name + dir_len + add_slash, base, base_len + 1);
|
/external/e2fsprogs/misc/ |
lsattr.c | 132 int dir_len = strlen(dir_name); local 134 path = malloc(dir_len + strlen (de->d_name) + 2); 136 if (dir_len && dir_name[dir_len-1] == '/')
|
/external/protobuf/src/google/protobuf/compiler/ |
zip_writer.cc | 171 uint32 dir_len = output.ByteCount(); local 179 output.WriteLittleEndian32(dir_len); // central directory byte size
|
/sdk/emulator/qtools/ |
trace_reader.cpp | 34 int ii, len, base_len, dir_len, path_len, qtrace_len; local 57 dir_len = len - base_len; 63 path_len = dir_len + base_len + qtrace_len + strlen(ext) + 1; 65 if (dir_len > 0) 66 strncpy(fname, filename, dir_len); 67 fname[dir_len] = 0; [all...] |
/external/qemu/ |
trace.c | 233 int ii, len, base_len, dir_len, path_len, qtrace_len; local 256 dir_len = len - base_len; 262 path_len = dir_len + base_len + qtrace_len + strlen(ext) + 1; 264 if (dir_len > 0) 265 strncpy(fname, filename, dir_len); 266 fname[dir_len] = 0; [all...] |