Home
last modified time | relevance | path

Searched refs:dirent64 (Results 1 – 25 of 74) sorted by relevance

123

/glibc-2.36/include/
Ddirent.h24 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/
Ddirent.h175 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 …]
Dscandir64.c23 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
Dscandirat64.c23 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
Dreaddir64_r.c25 readdir64_r (DIR *dirp, struct dirent64 *entry, struct dirent64 **result) in readdir64_r()
Dalphasort64.c24 alphasort64 (const struct dirent64 **a, const struct dirent64 **b) in alphasort64()
Dversionsort64.c24 versionsort64 (const struct dirent64 **a, const struct dirent64 **b) in versionsort64()
Dscandir64-tail.c23 #define DIRENT_TYPE struct dirent64
/glibc-2.36/sysdeps/mach/hurd/
Dreaddir_r.c34 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()
Dreaddir.c29 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()
Dreaddir64_r.c28 __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()
Dreaddir64.c26 struct dirent64 *
29 struct dirent64 *dp; in __readdir64()
89 dp = (struct dirent64 *) dirp->__ptr; in __readdir64()
Dgetcwd.c114 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/
Dgetdents64.c76 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/
Dgetdents64.c71 <= 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));
Dreaddir64_r.c31 __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()
Dscandir64.c23 __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
Dtst-getdents64.c42 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()
Dgetdents.c42 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()
Dreaddir64.c30 struct dirent64 *
33 struct dirent64 *dp; in __readdir64()
72 dp = (struct dirent64 *) &dirp->data[dirp->offset]; in __readdir64()
Dversionsort64.c24 __versionsort64 (const struct dirent64 **a, const struct dirent64 **b) in __versionsort64()
Dalphasort64.c24 __alphasort64 (const struct dirent64 **a, const struct dirent64 **b) in __alphasort64()
Dclosefrom_fallback.c73 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()
Dmalloc-hugepages.c170 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/
Dtst-dir.c49 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()

123