/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);
|
/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);
|
/toolchain/binutils/binutils-2.25/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] == '/')
|
/toolchain/binutils/binutils-2.25/gas/ |
dwarf2dbg.c | 541 size_t dir_len; 567 dir_len = file - filename; 570 if (dir_len) 573 --dir_len; 576 if (filename_ncmp (filename, dirs[dir], dir_len) == 0 577 && dirs[dir][dir_len] == '\0') 589 dirs[dir] = (char *) xmalloc (dir_len + 1); 590 memcpy (dirs[dir], filename, dir_len); 591 dirs[dir][dir_len] = '\0'; 604 last_used_dir_len = dir_len; 540 size_t dir_len; local 871 size_t dir_len = strlen (dirs[files[filenum].dir]); local [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
zip_writer.cc | 201 uint32 dir_len = output.ByteCount(); local 209 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...] |
/frameworks/native/cmds/installd/ |
utils.cpp | 962 size_t dir_len = dir->len; local 963 const char* subdir = strchr(path + dir_len, '/'); 975 if ((path[dir_len] == '.') || ((subdir != NULL) && (*subdir == '.'))) { 991 const size_t dir_len = android_system_dirs.dirs[i].len; local 992 if (!strncmp(path, android_system_dirs.dirs[i].path, dir_len)) { [all...] |
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | 2882 size_t dir_len = (size_t)(last_slash - program_path); local [all...] |