Home
last modified time | relevance | path

Searched refs:dir_len (Results 1 – 13 of 13) 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/mtools/
Dold_dos.c50 unsigned int dir_len, in getOldDosByParams() argument
57 (dir_len == 0 || dir_len == old_dos[i].dir_len) && in getOldDosByParams()
Dmformat.c240 rem_sect = tot_sectors - Fs->dir_len - Fs->fat_start; in calc_fat_bits2()
268 Fs->dir_len += in calc_fat_bits2()
315 dirlen = Fs->dir_len; in format_root()
328 set_word(boot->boot.dirents, Fs->dir_len * (Fs->sector_size / 32)); in format_root()
339 rem_sect = tot_sectors - Fs->dir_len - Fs->fat_start - 2 * Fs->fat_len; in xdf_calc_fat_size()
375 fprintf(stderr, "dir_len=%d\n", Fs->dir_len); in calc_fat_size()
377 real_rem_sect = rem_sect = tot_sectors - Fs->dir_len - Fs->fat_start; in calc_fat_size()
571 if(tot_sectors <= Fs->fat_start + Fs->num_fat + Fs->dir_len) { in calc_cluster_size()
578 rem_sect = tot_sectors - Fs->dir_len - Fs->fat_start; in calc_cluster_size()
616 Fs->dir_len, Fs->cluster_size); in calc_fs_parameters()
[all …]
Dinit.c300 This->dir_len = params->dir_len; in fs_init()
338 This->dir_len = WORD_S(dirents) * MDIR_SIZE / This->sector_size; in fs_init()
DfsP.h58 unsigned int dir_len; member
Dmtools.h87 unsigned int dir_len; member
99 unsigned int dir_len,
Dfile.c361 if(Fs->dir_len * Fs->sector_size < (size_t) where) { in root_map()
367 sizemaximize(*len, Fs->dir_len * Fs->sector_size - where); in root_map()
686 size = Fs->dir_len * Fs->sector_size; in OpenRoot()
Dfat.c712 This->clus_start = This->dir_start + This->dir_len; in old_fat_read()
/external/e2fsprogs/misc/
Dlsattr.c144 int dir_len = strlen(dir_name); in lsattr_dir_proc() local
146 path = malloc(dir_len + strlen (de->d_name) + 2); in lsattr_dir_proc()
148 if (dir_len && dir_name[dir_len-1] == '/') in lsattr_dir_proc()
/external/protobuf/src/google/protobuf/compiler/
Dzip_writer.cc205 uint32 dir_len = output.ByteCount(); in WriteDirectory() local
213 output.WriteLittleEndian32(dir_len); // central directory byte size in WriteDirectory()
/external/igt-gpu-tools/lib/
Digt_aux.c1144 const size_t dir_len = strlen(MODULE_PARAM_DIR); in igt_module_param_exit_handler() local
1155 strcpy(file_path + dir_len, data->name); in igt_module_param_exit_handler()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2925 size_t dir_len = (size_t)(last_slash - program_path); in GetPathToLoadable() local
2940 (int)dir_len, program_path, basename); in GetPathToLoadable()
/external/llvm-project/compiler-rt/lib/msan/tests/
Dmsan_test.cpp3147 size_t dir_len = (size_t)(last_slash - program_path); in GetPathToLoadable() local
3162 (int)dir_len, program_path, basename); in GetPathToLoadable()