Home
last modified time | relevance | path

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

12

/external/strace/
Ddirent.c52 (unsigned long long) d.d_off, d.d_reclen); in print_old_dirent()
53 if (d.d_reclen > D_NAME_LEN_MAX) in print_old_dirent()
54 d.d_reclen = D_NAME_LEN_MAX; in print_old_dirent()
55 printpathn(tcp, addr + offsetof(kernel_dirent, d_name), d.d_reclen); in print_old_dirent()
118 int oob = d->d_reclen < sizeof(kernel_dirent) || in SYS_FUNC()
119 i + d->d_reclen - 1 >= len; in SYS_FUNC()
120 int d_name_len = oob ? len - i : d->d_reclen; in SYS_FUNC()
128 (unsigned long long) d->d_off, d->d_reclen); in SYS_FUNC()
139 printxval(dirent_types, buf[i + d->d_reclen - 1], "DT_???"); in SYS_FUNC()
143 if (d->d_reclen < sizeof(kernel_dirent)) { in SYS_FUNC()
[all …]
Ddirent64.c84 if (d->d_reclen >= d_name_offset in SYS_FUNC()
85 && i + d->d_reclen <= len) { in SYS_FUNC()
86 d_name_len = d->d_reclen - d_name_offset; in SYS_FUNC()
98 d->d_reclen); in SYS_FUNC()
109 if (d->d_reclen < d_name_offset) { in SYS_FUNC()
113 i += d->d_reclen; in SYS_FUNC()
Dkernel_types.h54 unsigned short d_reclen; member
/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/strace/tests/
Dgetdents.c83 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent()
88 (unsigned long long) d->d_off, d->d_reclen); in print_dirent()
96 str_d_type(*((const char *) d + d->d_reclen - 1))); in print_dirent()
120 for (i = 0; i < rc; i += d->d_reclen) { in main()
Dgetdents64.c67 unsigned short d_reclen; member
90 int d_name_len = d->d_reclen - d_name_offset; in print_dirent()
95 d->d_ino, d->d_off, d->d_reclen, str_d_type(d->d_type)); in print_dirent()
124 for (i = 0; i < rc; i += d->d_reclen) { in main()
Dreaddir.c70 unsigned short d_reclen; in main() member
86 e.d_name[e.d_reclen] = '\0'; in main()
89 e.d_ino, e.d_off, e.d_reclen, 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/libchrome/base/files/
Ddir_reader_linux.h26 unsigned short d_reclen; member
55 offset_ += dirent->d_reclen; in Next()
/external/e2fsprogs/lib/e2p/
Diod.c62 len = dep->d_reclen; in iterate_on_dir()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h434 unsigned short d_reclen; member
440 unsigned short d_reclen; member
447 unsigned short d_reclen; member
454 unsigned short d_reclen; member
463 unsigned short d_reclen; member
Dsanitizer_platform_limits_posix.cc1032 CHECK_SIZE_AND_OFFSET(dirent, d_reclen);
1038 CHECK_SIZE_AND_OFFSET(dirent64, d_reclen);
Dsanitizer_linux.cc508 unsigned short d_reclen; member
671 entry_ = (struct linux_dirent *)(((char *)entry_) + entry_->d_reclen); in GetNextTID()
Dsanitizer_common_interceptors.inc2386 if (res) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, res, res->d_reclen);
2401 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *result, (*result)->d_reclen);
2422 if (res) COMMON_INTERCEPTOR_WRITE_RANGE(ctx, res, res->d_reclen);
2437 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, *result, (*result)->d_reclen);
2954 COMMON_INTERCEPTOR_INITIALIZE_RANGE(dir, dir->d_reclen);
2962 COMMON_INTERCEPTOR_INITIALIZE_RANGE(*a, (*a)->d_reclen);
2964 COMMON_INTERCEPTOR_INITIALIZE_RANGE(*b, (*b)->d_reclen);
2988 (*namelist)[i]->d_reclen);
3007 COMMON_INTERCEPTOR_INITIALIZE_RANGE(dir, dir->d_reclen);
3015 COMMON_INTERCEPTOR_INITIALIZE_RANGE(*a, (*a)->d_reclen);
[all …]
/external/compiler-rt/test/msan/Linux/
Dglob_altdirfunc.cc29 if (d) __msan_poison(d, d->d_reclen); // hehe in my_gl_readdir()
/external/autotest/client/tests/ltp/patches/
Dgetdents.patch68 + unsigned short d_reclen;
95 + kdircpy(d_reclen);
96 + reclen = dirp[i].d_reclen;
/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/dbus/dbus/
Ddbus-sysdeps-util-win.c460 unsigned short d_reclen; /* length of d_name */ member
548 dp->dent.d_reclen = strlen(dp->dent.d_name); in _dbus_readdir()
/external/valgrind/include/vki/
Dvki-tilegx-linux.h726 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 */

12