/external/strace/ |
D | dirent.c | 51 zero_extend_signed_to_ull(d.d_off), d.d_reclen); in print_old_dirent() 52 if (d.d_reclen > D_NAME_LEN_MAX) in print_old_dirent() 53 d.d_reclen = D_NAME_LEN_MAX; in print_old_dirent() 54 printpathn(tcp, addr + offsetof(kernel_dirent, d_name), d.d_reclen); in print_old_dirent() 122 int oob = d->d_reclen < sizeof(kernel_dirent) || in SYS_FUNC() 123 i + d->d_reclen - 1 >= len; in SYS_FUNC() 124 int d_name_len = oob ? len - i : d->d_reclen; in SYS_FUNC() 133 d->d_reclen); in SYS_FUNC() 141 printxval(dirent_types, buf[i + d->d_reclen - 1], "DT_???"); in SYS_FUNC() 145 if (d->d_reclen < sizeof(kernel_dirent)) { in SYS_FUNC() [all …]
|
D | dirent64.c | 90 if (d->d_reclen >= d_name_offset in SYS_FUNC() 91 && i + d->d_reclen <= len) { in SYS_FUNC() 92 d_name_len = d->d_reclen - d_name_offset; in SYS_FUNC() 104 d->d_reclen); in SYS_FUNC() 112 if (d->d_reclen < d_name_offset) { in SYS_FUNC() 116 i += d->d_reclen; in SYS_FUNC()
|
/external/ltp/testcases/kernel/syscalls/getdents/ |
D | getdents01.c | 135 size_t d_reclen; in main() local 138 d_reclen = dirp64->d_reclen; in main() 141 d_reclen = dirp->d_reclen; in main() 149 rval -= d_reclen; in main() 152 dirp64 = (void*)dirp64 + d_reclen; in main() 154 dirp = (void*)dirp + d_reclen; in main()
|
D | getdents.h | 33 unsigned short d_reclen; member 51 unsigned short d_reclen; member
|
/external/llvm-project/compiler-rt/test/msan/ |
D | scandir.cpp | 23 __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()
|
/external/compiler-rt/test/msan/ |
D | scandir.cc | 23 __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()
|
/external/strace/tests-m32/ |
D | getdents.c | 79 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent() 84 (unsigned long long) d->d_off, d->d_reclen); in print_dirent() 92 str_d_type(*((const char *) d + d->d_reclen - 1))); in print_dirent() 121 for (i = 0; i < rc; i += d->d_reclen) { in main()
|
D | getdents64.c | 65 unsigned short d_reclen; member 88 int d_name_len = d->d_reclen - d_name_offset; in print_dirent() 93 d->d_ino, d->d_off, d->d_reclen, str_d_type(d->d_type)); in print_dirent() 127 for (i = 0; i < rc; i += d->d_reclen) { in main()
|
D | readdir.c | 68 unsigned short d_reclen; in main() member 82 e.d_name[e.d_reclen] = '\0'; in main() 85 e.d_ino, e.d_off, e.d_reclen, in main()
|
/external/strace/tests/ |
D | getdents.c | 79 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent() 84 (unsigned long long) d->d_off, d->d_reclen); in print_dirent() 92 str_d_type(*((const char *) d + d->d_reclen - 1))); in print_dirent() 121 for (i = 0; i < rc; i += d->d_reclen) { in main()
|
D | getdents64.c | 65 unsigned short d_reclen; member 88 int d_name_len = d->d_reclen - d_name_offset; in print_dirent() 93 d->d_ino, d->d_off, d->d_reclen, str_d_type(d->d_type)); in print_dirent() 127 for (i = 0; i < rc; i += d->d_reclen) { in main()
|
D | readdir.c | 68 unsigned short d_reclen; in main() member 82 e.d_name[e.d_reclen] = '\0'; in main() 85 e.d_ino, e.d_off, e.d_reclen, in main()
|
/external/strace/tests-mx32/ |
D | getdents.c | 79 int d_name_len = d->d_reclen - d_name_offset - 1; in print_dirent() 84 (unsigned long long) d->d_off, d->d_reclen); in print_dirent() 92 str_d_type(*((const char *) d + d->d_reclen - 1))); in print_dirent() 121 for (i = 0; i < rc; i += d->d_reclen) { in main()
|
D | getdents64.c | 65 unsigned short d_reclen; member 88 int d_name_len = d->d_reclen - d_name_offset; in print_dirent() 93 d->d_ino, d->d_off, d->d_reclen, str_d_type(d->d_type)); in print_dirent() 127 for (i = 0; i < rc; i += d->d_reclen) { in main()
|
D | readdir.c | 68 unsigned short d_reclen; in main() member 82 e.d_name[e.d_reclen] = '\0'; in main() 85 e.d_ino, e.d_off, e.d_reclen, in main()
|
/external/e2fsprogs/contrib/ |
D | spd_readdir.c | 64 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/crosvm/devices/src/virtio/fs/ |
D | read_dir.rs | 19 d_reclen: libc::c_ushort, field 86 let namelen = dirent64.d_reclen as usize - size_of::<LinuxDirent64>(); in next() 100 rem.len() >= dirent64.d_reclen as usize, in next() 103 self.current += dirent64.d_reclen as usize; in next()
|
/external/libchromeos-rs/src/ |
D | read_dir.rs | 19 d_reclen: libc::c_ushort, field 78 let namelen = dirent64.d_reclen as usize - size_of::<LinuxDirent64>(); in next() 92 rem.len() >= dirent64.d_reclen as usize, in next() 95 self.current += dirent64.d_reclen as usize; in next()
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd11/ |
D | mod.rs | 37 pub d_reclen: u16, 158 && self.d_reclen == other.d_reclen 173 .field("d_reclen", &self.d_reclen) 183 self.d_reclen.hash(state);
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd13/ |
D | mod.rs | 35 pub d_reclen: u16, 157 && self.d_reclen == other.d_reclen 173 .field("d_reclen", &self.d_reclen) 184 self.d_reclen.hash(state);
|
/external/rust/crates/libc/src/unix/bsd/freebsdlike/freebsd/freebsd12/ |
D | mod.rs | 35 pub d_reclen: u16, 157 && self.d_reclen == other.d_reclen 173 .field("d_reclen", &self.d_reclen) 184 self.d_reclen.hash(state);
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | interception_readdir_r_test.cc | 33 ((struct dirent *)entry_buffer)->d_reclen = 9999; in main() 52 ((struct dirent64 *)entry_buffer)->d_reclen = 9999; in main()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | directory_reader.h | 93 buf_used_ -= dent->d_reclen; in PopEntry() 94 my_memmove(buf_, buf_ + dent->d_reclen, buf_used_); in PopEntry()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | interception_readdir_r_test.cpp | 36 ((struct dirent *)entry_buffer)->d_reclen = 9999; in main() 55 ((struct dirent64 *)entry_buffer)->d_reclen = 9999; in main()
|
/external/libchrome/base/files/ |
D | dir_reader_linux.h | 26 unsigned short d_reclen; member 55 offset_ += dirent->d_reclen; in Next()
|