/external/e2fsprogs/lib/ext2fs/ |
dirblock.c | 28 unsigned int name_len, rec_len; local 41 dirent->rec_len = ext2fs_swab16(dirent->rec_len); 49 if ((retval = ext2fs_get_rec_len(fs, dirent, &rec_len)) != 0) 51 if ((rec_len < 8) || (rec_len % 4)) { 52 rec_len = 8; 54 } else if (((name_len & 0xFF) + 8) > rec_len) 56 p += rec_len; 75 unsigned int rec_len; local [all...] |
dir_iterate.c | 28 unsigned int *rec_len) 30 unsigned int len = dirent->rec_len; 33 *rec_len = fs->blocksize; 35 *rec_len = (len & 65532) | ((len & 3) << 16); 46 dirent->rec_len = len; 51 dirent->rec_len = EXT4_MAX_REC_LEN; 53 dirent->rec_len = 0; 55 dirent->rec_len = (len & 65532) | ((len >> 16) & 3); 72 unsigned int rec_len; local 78 if (ext2fs_get_rec_len(fs, dirent, &rec_len)) 189 unsigned int rec_len, size; local [all...] |
newdir.c | 34 int rec_len; local 59 rec_len = fs->blocksize - EXT2_DIR_REC_LEN(1); 60 dir->rec_len = EXT2_DIR_REC_LEN(1); 65 dir = (struct ext2_dir_entry *) (buf + dir->rec_len); 66 retval = ext2fs_set_rec_len(fs, rec_len, dir);
|
link.c | 41 unsigned int rec_len, min_rec_len, curr_rec_len; local 44 rec_len = EXT2_DIR_REC_LEN(ls->namelen); 57 (offset + curr_rec_len + next->rec_len <= blocksize)) { 58 curr_rec_len += next->rec_len; 72 if (curr_rec_len < (min_rec_len + rec_len)) 74 rec_len = curr_rec_len - min_rec_len; 79 dirent->rec_len); 82 ls->err = ext2fs_set_rec_len(ls->fs, rec_len, next); 92 if (curr_rec_len < rec_len)
|
unlink.c | 60 prev->rec_len += dirent->rec_len;
|
tdb.c | 172 tdb_len_t rec_len; /* total byte length of record */ member in struct:list_struct 179 char record[rec_len]; 1107 rec.rec_len = size - sizeof(rec); 2490 tdb_len_t rec_len; member in struct:__anon5618 [all...] |
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
ndrdic.c | 87 NJ_UINT16 i, rec_len; local 99 rec_len = (NJ_UINT16)((i + 7) / 8); 101 *connect = (NJ_UINT8*)(F_HINSI_TOP_ADDR(rule) + ((hinsi - 1) * rec_len)); 104 rec_len = (NJ_UINT16)((i + 7) / 8); 106 *connect = (NJ_UINT8*)(B_HINSI_TOP_ADDR(rule) + ((hinsi - 1) * rec_len));
|
/external/e2fsprogs/misc/ |
e2image.c | 348 unsigned int rec_len; local 352 for (p = buf; p < end-8; p += rec_len) { 354 rec_len = dirent->rec_len; 356 rec_len = ext2fs_swab16(rec_len); 358 if (rec_len == EXT4_MAX_REC_LEN || rec_len == 0) 359 rec_len = fs->blocksize; 361 rec_len = (rec_len & 65532) | ((rec_len & 3) << 16) [all...] |
/external/e2fsprogs/e2fsck/ |
pass2.c | 15 * - The length of the directory entry (rec_len) should be at 19 * should be less than (rec_len - 8). 347 unsigned int rec_len, new_len; local 360 (void) ext2fs_get_rec_len(ctx->fs, dirent, &rec_len); 363 if (rec_len < 12) 364 rec_len = dirent->rec_len = 12; 379 if (rec_len > 12) { 380 new_len = rec_len - 12; 386 dirent->rec_len = 12 407 int rec_len, problem = 0; local 642 unsigned int rec_len, prev_rec_len; local 716 unsigned int rec_len; local [all...] |
message.c | 21 * %Dr <dirent>->rec_len 361 unsigned int rec_len; local 377 if ((ext2fs_get_rec_len(fs, dirent, &rec_len) == 0) && 378 (len > rec_len)) 379 len = rec_len; 383 (void) ext2fs_get_rec_len(fs, dirent, &rec_len); 384 printf("%u", rec_len);
|
rehash.c | 91 unsigned int offset, dir_offset, rec_len; local 120 (void) ext2fs_get_rec_len(fs, dirent, &rec_len); 121 if (((dir_offset + rec_len) > fs->blocksize) || 122 (rec_len < 8) || 123 ((rec_len % 4) != 0) || 124 (((dirent->name_len & 0xFF)+8) > rec_len)) { 128 dir_offset += rec_len; 406 unsigned int rec_len, prev_rec_len; local 442 rec_len = EXT2_DIR_REC_LEN(ent->dir->name_len & 0xFF); 443 if (rec_len > left) [all...] |
/system/extras/ext4_utils/ |
contents.c | 55 u16 rec_len = 8 + ALIGN(name_len, 4); local 59 u32 end_block = (*offset + rec_len - 1) / info.block_size; 65 prev->rec_len += end_block * info.block_size - *offset; 71 dentry->rec_len = rec_len; 76 *offset += rec_len; 160 dentry->rec_len = len - offset;
|
/external/e2fsprogs/debugfs/ |
htree.c | 44 unsigned int rec_len; local 70 errcode = ext2fs_get_rec_len(fs, dirent, &rec_len); 73 "while getting rec_len for block %lu", 77 if (((offset + rec_len) > fs->blocksize) || 78 (rec_len < 8) || 79 ((rec_len % 4) != 0) || 80 ((((unsigned) dirent->name_len & 0xFF)+8) > rec_len)) { 95 hash, minor_hash, rec_len, name); 103 offset += rec_len; 397 unsigned int rec_len; local [all...] |
ls.c | 110 dirent->rec_len, name);
|
/external/qemu/telephony/ |
sim_card.c | 176 byte_t rec_len; member in struct:__anon10277 217 file_size = file->linear.rec_count * file->linear.rec_len; 277 gsm_hex_from_byte( dst, file->linear.rec_len );
|
/external/e2fsprogs/ext2ed/ |
dir_com.c | 120 next = dir_entry_ptr->rec_len; 465 wprintw (show_pad,"inode = %-8lu rec_len = %-4lu name_len = %-3lu name = %s\n", /* Display the various fields */ 466 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp); 620 if (strcasecmp ("rec_len",variable)==0) { 622 dir_entry_ptr->rec_len=(unsigned int) atol (value); 623 wprintw (command_win,"Variable %s set to %lu\n",variable,dir_entry_ptr->rec_len);refresh_command_win (); 650 wprintw (show_pad,"inode = %-8lu rec_len = %-4lu name_len = %-3lu name = %s\n", 651 dir_entry_ptr->inode,dir_entry_ptr->rec_len,dir_entry_ptr->name_len,temp);
|
disk.c | 213 current_type->length=type_data.u.t_ext2_dir_entry.rec_len;
|
/bionic/libc/kernel/common/linux/ |
ext2_fs.h | 349 __le16 rec_len; member in struct:ext2_dir_entry 356 __le16 rec_len; member in struct:ext2_dir_entry_2
|
ext3_fs.h | 412 __le16 rec_len; member in struct:ext3_dir_entry 419 __le16 rec_len; member in struct:ext3_dir_entry_2
|
/development/ndk/platforms/android-3/include/linux/ |
ext2_fs.h | 349 __le16 rec_len; member in struct:ext2_dir_entry 356 __le16 rec_len; member in struct:ext2_dir_entry_2
|
ext3_fs.h | 412 __le16 rec_len; member in struct:ext3_dir_entry 419 __le16 rec_len; member in struct:ext3_dir_entry_2
|
/external/grub/stage2/ |
fsys_ext2fs.c | 177 __u16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry 750 loc += dp->rec_len;
|
/external/kernel-headers/original/linux/ |
ext2_fs.h | 512 __le16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry 525 __le16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry_2
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
ext2_fs.h | 486 __le16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry 499 __le16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry_2
|
ext3_fs.h | 568 __le16 rec_len; /* Directory entry length */ member in struct:ext3_dir_entry 581 __le16 rec_len; /* Directory entry length */ member in struct:ext3_dir_entry_2
|