HomeSort by relevance Sort by last modified time
    Searched defs:rec_len (Results 1 - 25 of 118) sorted by null

1 2 3 4 5

  /external/e2fsprogs/lib/ext2fs/
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);
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...]
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)
dir_iterate.c 28 unsigned int *rec_len)
30 unsigned int len = dirent->rec_len;
33 *rec_len = len;
35 *rec_len = fs->blocksize;
37 *rec_len = (len & 65532) | ((len & 3) << 16);
48 dirent->rec_len = len;
53 dirent->rec_len = EXT4_MAX_REC_LEN;
55 dirent->rec_len = 0;
57 dirent->rec_len = (len & 65532) | ((len >> 16) & 3);
74 unsigned int rec_len; local
191 unsigned int rec_len, size; local
    [all...]
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:__anon20175
    [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/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...]
  /external/e2fsprogs/e2fsck/
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);
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...]
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...]
pass1.c 409 unsigned int i, rec_len, not_device = 0; local
482 retval = ext2fs_get_rec_len(ctx->fs, dirent, &rec_len);
488 (rec_len < 12) ||
489 (rec_len % 4) ||
490 (rec_len >= ctx->fs->blocksize - 12))
493 dirent = (struct ext2_dir_entry *) (buf + rec_len);
494 retval = ext2fs_get_rec_len(ctx->fs, dirent, &rec_len);
500 (rec_len < 12) ||
501 (rec_len % 4))
    [all...]
  /system/extras/ext4_utils/
contents.c 64 u16 rec_len = 8 + ALIGN(name_len, 4); local
68 u32 end_block = (*offset + rec_len - 1) / info.block_size;
74 prev->rec_len += end_block * info.block_size - *offset;
80 dentry->rec_len = rec_len;
85 *offset += rec_len;
168 dentry->rec_len += len - offset;
  /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/libnfc-nci/src/nfc/ndef/
ndef_utils.c 272 UINT32 rec_len = 0; local
277 rec_len++;
281 rec_len++;
287 rec_len++;
292 rec_len += 4;
299 rec_len++;
305 rec_len += (payload_len + type_len + id_len);
307 return (rec_len);
    [all...]
  /external/qemu/telephony/
sim_card.c 176 byte_t rec_len; member in struct:__anon28411
217 file_size = file->linear.rec_count * file->linear.rec_len;
277 gsm_hex_from_byte( dst, file->linear.rec_len );
  /external/grub/stage2/
fsys_ext2fs.c 177 __u16 rec_len; /* Directory entry length */ member in struct:ext2_dir_entry
750 loc += dp->rec_len;
  /bionic/libc/kernel/common/linux/
ext2_fs.h 380 __le16 rec_len; member in struct:ext2_dir_entry
387 __le16 rec_len; member in struct:ext2_dir_entry_2
ext3_fs.h 447 __le16 rec_len; member in struct:ext3_dir_entry
455 __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/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
  /prebuilts/gcc/linux-x86/host/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
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/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
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/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
  /prebuilts/ndk/4/platforms/android-3/arch-arm/usr/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

Completed in 536 milliseconds

1 2 3 4 5