Home
last modified time | relevance | path

Searched refs:d_reclen (Results 1 – 23 of 23) sorted by relevance

/external/strace/
Ddirent.c9 unsigned short d_reclen; member
22 unsigned short d_reclen; in print_old_dirent()
34 (unsigned long) d.d_ino, (unsigned long) d.d_off, d.d_reclen); in print_old_dirent()
35 if (d.d_reclen > D_NAME_LEN_MAX) in print_old_dirent()
36 d.d_reclen = D_NAME_LEN_MAX; in print_old_dirent()
37 printpathn(tcp, addr + offsetof(old_dirent_t, d_name), d.d_reclen); in print_old_dirent()
102 int oob = d->d_reclen < sizeof(struct kernel_dirent) || in SYS_FUNC()
103 i + d->d_reclen - 1 >= len; in SYS_FUNC()
104 int d_name_len = oob ? len - i : d->d_reclen; in SYS_FUNC()
110 i ? " " : "", d->d_ino, d->d_off, d->d_reclen); in SYS_FUNC()
[all …]
DChangeLog-CVS806 d_reclen check as in sys_getdents: warn if d_reclen is 0 rather
/external/strace/tests/
Dgetdents.awk7 d_reclen = "d_reclen=" len
15 dirent_1 = "\\{" d_ino ", " d_off ", " d_reclen ", " d_name_1 ", " d_type_dir "\\}"
16 dirent_2 = "\\{" d_ino ", " d_off ", " d_reclen ", " d_name_2 ", " d_type_dir "\\}"
17 dirent_3 = "\\{" d_ino ", " d_off ", " d_reclen ", " d_name_3 ", " d_type_reg "\\}"
19 dirent64_1 = "\\{" d_ino ", " d_off ", " d_reclen ", " d_type_dir ", " d_name_1 "\\}"
20 dirent64_2 = "\\{" d_ino ", " d_off ", " d_reclen ", " d_type_dir ", " d_name_2 "\\}"
21 dirent64_3 = "\\{" d_ino ", " d_off ", " d_reclen ", " d_type_reg ", " d_name_3 "\\}"
Dgetdents.out1 …f=1, d_reclen=24, d_name=".", d_type=DT_DIR} {d_ino=234567890, d_off=2, d_reclen=24, d_name="..", …
/external/compiler-rt/test/msan/
Dscandir.cc23 __msan_print_shadow(a, a->d_reclen); in my_filter()
24 assert(__msan_test_shadow(a, a->d_reclen) == (size_t)-1); in my_filter()
31 assert(__msan_test_shadow(*a, (*a)->d_reclen) == (size_t)-1); in my_compar()
33 assert(__msan_test_shadow(*b, (*b)->d_reclen) == (size_t)-1); in my_compar()
50 assert(__msan_test_shadow(d[i], d[i]->d_reclen) == (size_t)-1); in main()
Dscandir_null.cc31 assert(__msan_test_shadow(d[i], d[i]->d_reclen) == (size_t)-1); in main()
/external/e2fsprogs/contrib/
Dspd_readdir.c64 unsigned short int d_reclen; member
222 ds->d_reclen = d->d_reclen; in cache_dirstruct()
334 dirstruct->ret_dir.d_reclen = ds->d_reclen; in readdir()
357 entry->d_reclen = ds->d_reclen; in readdir_r()
380 dirstruct->ret_dir64.d_reclen = ds->d_reclen; in readdir64()
404 entry->d_reclen = ds->d_reclen; in readdir64_r()
/external/google-breakpad/src/client/linux/minidump_writer/
Ddirectory_reader.h93 buf_used_ -= dent->d_reclen; in PopEntry()
94 my_memmove(buf_, buf_ + dent->d_reclen, buf_used_); in PopEntry()
/external/compiler-rt/test/asan/TestCases/Linux/
Dinterception_readdir_r_test.cc33 ((struct dirent *)entry_buffer)->d_reclen = 9999; in main()
52 ((struct dirent64 *)entry_buffer)->d_reclen = 9999; in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h422 unsigned short d_reclen; member
428 unsigned short d_reclen; member
435 unsigned short d_reclen; member
442 unsigned short d_reclen; member
451 unsigned short d_reclen; member
Dsanitizer_linux.cc507 unsigned short d_reclen; member
667 entry_ = (struct linux_dirent *)(((char *)entry_) + entry_->d_reclen); in GetNextTID()
Dsanitizer_platform_limits_posix.cc980 CHECK_SIZE_AND_OFFSET(dirent, d_reclen);
986 CHECK_SIZE_AND_OFFSET(dirent64, d_reclen);
Dsanitizer_common_interceptors.inc2210 if (res) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, res, res->d_reclen);
2225 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *result, (*result)->d_reclen);
2246 if (res) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, res, res->d_reclen);
2261 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *result, (*result)->d_reclen);
2743 COMMON_INTERCEPTOR_INITIALIZE_RANGE(dir, dir->d_reclen);
2751 COMMON_INTERCEPTOR_INITIALIZE_RANGE(*a, (*a)->d_reclen);
2753 COMMON_INTERCEPTOR_INITIALIZE_RANGE(*b, (*b)->d_reclen);
2776 (*namelist)[i]->d_reclen);
2795 COMMON_INTERCEPTOR_INITIALIZE_RANGE(dir, dir->d_reclen);
2803 COMMON_INTERCEPTOR_INITIALIZE_RANGE(*a, (*a)->d_reclen);
[all …]
/external/e2fsprogs/lib/e2p/
Diod.c62 len = dep->d_reclen; in iterate_on_dir()
/external/compiler-rt/test/msan/Linux/
Dglob_altdirfunc.cc29 if (d) __msan_poison(d, d->d_reclen); // hehe in my_gl_readdir()
/external/kernel-headers/original/uapi/linux/
Dmsdos_fs.h95 unsigned short d_reclen; member
Dcoda.h164 u_int16_t d_reclen; /* length of this record */ member
/external/valgrind/include/vki/
Dvki-tilegx-linux.h726 unsigned short d_reclen; member
Dvki-linux.h1389 unsigned short d_reclen; member
1397 unsigned short d_reclen; member
/external/e2fsprogs/
Dconfigure.in907 dnl Check to see if dirent has member d_reclen. On cygwin those d_reclen
909 AC_CHECK_MEMBER(struct dirent.d_reclen,[AC_DEFINE(HAVE_RECLEN_DIRENT, 1,
910 [Define to 1 if dirent has d_reclen])],,
/external/e2fsprogs/lib/
Dconfig.h.in296 /* Define to 1 if dirent has d_reclen */
/external/google-breakpad/src/third_party/lss/
Dlinux_syscall_support.h171 unsigned short d_reclen; member
184 unsigned short d_reclen; member
/external/v8/tools/profviz/
Dgnuplot-4.6.3-emscripten.js2491 …var ___dirent_struct_layout={__size__:1040,d_ino:0,d_name:4,d_off:1028,d_reclen:1032,d_type:1036};… property
3405 HEAP32[(((entry)+(offsets.d_reclen))>>2)]=name.length + 1