Home
last modified time | relevance | path

Searched refs:dir_len (Results 1 – 7 of 7) sorted by relevance

/external/e2fsprogs/intl/
Dlocalcharset.c125 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/bison/lib/
Dlocalcharset.c138 size_t dir_len = strlen (dir); in get_charset_aliases() local
140 int add_slash = (dir_len > 0 && !ISSLASH (dir[dir_len - 1])); in get_charset_aliases()
141 file_name = (char *) malloc (dir_len + add_slash + base_len + 1); in get_charset_aliases()
144 memcpy (file_name, dir, dir_len); in get_charset_aliases()
146 file_name[dir_len] = DIRECTORY_SEPARATOR; in get_charset_aliases()
147 memcpy (file_name + dir_len + add_slash, base, base_len + 1); in get_charset_aliases()
Ddirname-lgpl.c32 dir_len (char const *file) in dir_len() function
73 size_t length = dir_len (file); in mdir_name()
Ddirname.h41 size_t dir_len (char const *file) _GL_ATTRIBUTE_PURE;
/external/e2fsprogs/misc/
Dlsattr.c132 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/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc201 uint32 dir_len = output.ByteCount(); in WriteDirectory() local
209 output.WriteLittleEndian32(dir_len); // central directory byte size in WriteDirectory()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2882 size_t dir_len = (size_t)(last_slash - program_path); in GetPathToLoadable() local
2893 (int)dir_len, program_path, basename); in GetPathToLoadable()