Searched refs:dir_len (Results 1 – 13 of 13) sorted by relevance
/external/e2fsprogs/intl/ |
D | localcharset.c | 125 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/ |
D | old_dos.c | 50 unsigned int dir_len, in getOldDosByParams() argument 57 (dir_len == 0 || dir_len == old_dos[i].dir_len) && in getOldDosByParams()
|
D | mformat.c | 240 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 …]
|
D | init.c | 300 This->dir_len = params->dir_len; in fs_init() 338 This->dir_len = WORD_S(dirents) * MDIR_SIZE / This->sector_size; in fs_init()
|
D | fsP.h | 58 unsigned int dir_len; member
|
D | mtools.h | 87 unsigned int dir_len; member 99 unsigned int dir_len,
|
D | file.c | 361 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()
|
D | fat.c | 712 This->clus_start = This->dir_start + This->dir_len; in old_fat_read()
|
/external/e2fsprogs/misc/ |
D | lsattr.c | 144 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/ |
D | zip_writer.cc | 205 uint32 dir_len = output.ByteCount(); in WriteDirectory() local 213 output.WriteLittleEndian32(dir_len); // central directory byte size in WriteDirectory()
|
/external/igt-gpu-tools/lib/ |
D | igt_aux.c | 1144 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/ |
D | msan_test.cc | 2925 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/ |
D | msan_test.cpp | 3147 size_t dir_len = (size_t)(last_slash - program_path); in GetPathToLoadable() local 3162 (int)dir_len, program_path, basename); in GetPathToLoadable()
|