/glibc-2.36/include/ |
D | dirent.h | 24 extern struct dirent64 *__readdir64 (DIR *__dirp); 28 extern int __readdir64_r (DIR *__dirp, struct dirent64 *__entry, 29 struct dirent64 **__result); 31 struct dirent64 *** __namelist, 32 int (*__selector) (const struct dirent64 *), 33 int (*__cmp) (const struct dirent64 **, 34 const struct dirent64 **)); 46 extern int __alphasort64 (const struct dirent64 **a, const struct dirent64 **b) 48 extern int __versionsort64 (const struct dirent64 **a, 49 const struct dirent64 **b) [all …]
|
/glibc-2.36/dirent/ |
D | dirent.h | 175 extern struct dirent64 *readdir64 (DIR *__dirp) __nonnull ((1)); 204 struct dirent64 *__restrict __entry, 205 struct dirent64 **__restrict __result) 281 struct dirent64 ***__restrict __namelist, 282 int (*__selector) (const struct dirent64 *), 283 int (*__cmp) (const struct dirent64 **, 284 const struct dirent64 **)) 318 struct dirent64 ***__restrict __namelist, 319 int (*__selector) (const struct dirent64 *), 320 int (*__cmp) (const struct dirent64 **, [all …]
|
D | scandir64.c | 23 scandir64 (const char *dir, struct dirent64 ***namelist, in scandir64() argument 24 int (*select) (const struct dirent64 *), in scandir64() 25 int (*cmp) (const struct dirent64 **, const struct dirent64 **)) in scandir64() argument
|
D | scandirat64.c | 23 scandirat64 (int dfd, const char *dir, struct dirent64 ***namelist, in scandirat64() argument 24 int (*select) (const struct dirent64 *), in scandirat64() 25 int (*cmp) (const struct dirent64 **, const struct dirent64 **)) in scandirat64() argument
|
D | readdir64_r.c | 25 readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) in readdir64_r()
|
D | alphasort64.c | 24 alphasort64 (const struct dirent64 **a, const struct dirent64 **b) in alphasort64()
|
D | versionsort64.c | 24 versionsort64 (const struct dirent64 **a, const struct dirent64 **b) in versionsort64()
|
D | scandir64-tail.c | 23 #define DIRENT_TYPE struct dirent64
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | readdir_r.c | 34 if (sizeof (struct dirent64) == sizeof (struct dirent)) in __readdir_r() 37 (struct dirent64 *) entry, in __readdir_r() 38 (struct dirent64 **) result); in __readdir_r() 40 struct dirent64 *result64; in __readdir_r() 43 struct dirent64 d; in __readdir_r() 44 char b[offsetof (struct dirent64, d_name) + UCHAR_MAX + 1]; in __readdir_r()
|
D | readdir.c | 29 struct dirent64 *entry64 = __readdir64 (dirp); in __readdir() 31 if (sizeof (struct dirent64) == sizeof (struct dirent)) in __readdir() 39 assert (offsetof (struct dirent64, d_ino) == 0); in __readdir() 41 assert (offsetof (struct dirent64, memb) - sizeof (entry64->d_ino) \ in __readdir()
|
D | readdir64_r.c | 28 __readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) in __readdir64_r() 30 struct dirent64 *dp; in __readdir64_r() 90 dp = (struct dirent64 *) dirp->__ptr; in __readdir64_r()
|
D | readdir64.c | 26 struct dirent64 * 29 struct dirent64 *dp; in __readdir64() 89 dp = (struct dirent64 *) dirp->__ptr; in __readdir64()
|
D | getcwd.c | 114 struct dirent64 *d; in __hurd_canonicalize_directory_name_internal() 177 d = (struct dirent64 *) &dirdata[offset]; in __hurd_canonicalize_directory_name_internal()
|
/glibc-2.36/sysdeps/unix/sysv/linux/mips/mips64/ |
D | getdents64.c | 76 const size_t size_diff = (offsetof (struct dirent64, d_name) in __getdents64() 79 struct dirent64 *dp = (struct dirent64 *) buf; in __getdents64() 101 _Alignof (struct dirent64)); in __getdents64() 118 struct dirent64 d64; in __getdents64() 124 memcpy (dp, &d64, offsetof (struct dirent64, d_name)); in __getdents64() 131 dp = (struct dirent64 *) ((char *) dp + new_reclen); in __getdents64()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | getdents64.c | 71 <= offsetof (struct dirent64, d_name), 74 <= __alignof__ (struct dirent64), 93 struct dirent64 *source = (struct dirent64 *) p; 121 if (result_name_offset != offsetof (struct dirent64, d_name)) 123 reclen - offsetof (struct dirent64, d_name));
|
D | readdir64_r.c | 31 __readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) in __readdir64_r() 33 struct dirent64 *dp; in __readdir64_r() 74 dp = (struct dirent64 *) &dirp->data[dirp->offset]; in __readdir64_r() 82 if (reclen > offsetof (struct dirent64, d_name) + NAME_MAX + 1) in __readdir64_r() 89 reclen = offsetof (struct dirent64, d_name) + namelen + 1; in __readdir64_r()
|
D | scandir64.c | 23 __scandir64 (const char *dir, struct dirent64 ***namelist, in __scandir64() argument 24 int (*select) (const struct dirent64 *), in __scandir64() 25 int (*cmp) (const struct dirent64 **, const struct dirent64 **)) in __scandir64() argument
|
D | tst-getdents64.c | 42 if (ret < offsetof (struct dirent64, d_name)) in large_buffer_check() 112 struct dirent64 pad; in do_test_by_size() 126 struct dirent64 entry; in do_test_by_size() 133 struct dirent64 *refentry = readdir64 (reference); in do_test_by_size()
|
D | getdents.c | 42 struct dirent64 k; in __getdents() 50 # define size_diff (offsetof (struct dirent64, d_name) \ in __getdents() 83 old_reclen - offsetof (struct dirent64, d_name)); in __getdents()
|
D | readdir64.c | 30 struct dirent64 * 33 struct dirent64 *dp; in __readdir64() 72 dp = (struct dirent64 *) &dirp->data[dirp->offset]; in __readdir64()
|
D | versionsort64.c | 24 __versionsort64 (const struct dirent64 **a, const struct dirent64 **b) in __versionsort64()
|
D | alphasort64.c | 24 __alphasort64 (const struct dirent64 **a, const struct dirent64 **b) in __alphasort64()
|
D | closefrom_fallback.c | 73 memcpy (&d_reclen, begin + offsetof (struct dirent64, d_reclen), in __closefrom_fallback() 75 const char *dname = begin + offsetof (struct dirent64, d_name); in __closefrom_fallback()
|
D | malloc-hugepages.c | 170 memcpy (&d_reclen, begin + offsetof (struct dirent64, d_reclen), in __malloc_hugepage_config() 172 const char *dname = begin + offsetof (struct dirent64, d_name); in __malloc_hugepage_config()
|
/glibc-2.36/posix/ |
D | tst-dir.c | 49 struct dirent64 *d; in main() 52 struct dirent64 d; in main() 53 char room [offsetof (struct dirent64, d_name[0]) + NAME_MAX + 1]; in main()
|