/external/bison/lib/ |
dirname.h | 41 size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE;
|
dirname-lgpl.c | 32 dir_len (char const *file) function 73 size_t length = dir_len (file);
|
localcharset.c | 138 size_t dir_len = strlen (dir); local 140 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); 141 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); 144 memcpy (file_name, dir, dir_len); 146 file_name[dir_len] = DIRECTORY_SEPARATOR; 147 memcpy (file_name + dir_len + add_slash, base, base_len + 1);
|
/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/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] == '/')
|
/frameworks/native/cmds/installd/ |
utils.c | 803 const size_t dir_len = android_system_dirs.dirs[i].len; local 804 if (!strncmp(path, android_system_dirs.dirs[i].path, dir_len)) { 805 if (path[dir_len] == '.' || strchr(path + dir_len, '/') != NULL) { 910 size_t dir_len; local 914 dir_len = android_app_dir.len; 916 dir_len = android_app_private_dir.len; 918 dir_len = android_asec_dir.len; 930 if ((subdir = strchr(path + dir_len, '/')) != NULL) { 943 if (path[dir_len] == '. [all...] |
/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
|
/ndk/sources/host-tools/make-3.81/glob/ |
glob.c | 951 size_t dir_len = strlen (dir); 960 pglob->gl_pathv[pglob->gl_pathc] = malloc (dir_len + 1 971 dir, dir_len), 975 memcpy (pglob->gl_pathv[pglob->gl_pathc], dir, dir_len); 976 pglob->gl_pathv[pglob->gl_pathc][dir_len] = '/'; 977 memcpy (&pglob->gl_pathv[pglob->gl_pathc][dir_len + 1], 950 size_t dir_len = strlen (dir); local [all...] |
/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...] |