Lines Matching refs:dirent
262 struct dirent { struct
281 typedef struct dirent dirent; argument
284 struct dirent ent;
294 static struct dirent *readdir (DIR *dirp);
298 DIR *dirp, struct dirent *entry, struct dirent **result);
308 static int scandir (const char *dirname, struct dirent ***namelist,
309 int (*filter)(const struct dirent*),
310 int (*compare)(const struct dirent**, const struct dirent**));
312 static int alphasort (const struct dirent **a, const struct dirent **b);
314 static int versionsort (const struct dirent **a, const struct dirent **b);
732 static struct dirent*
736 struct dirent *entry; in readdir()
757 struct dirent *entry, in readdir_r()
758 struct dirent **result) in readdir_r()
807 entry->d_reclen = sizeof (struct dirent); in readdir_r()
884 struct dirent ***namelist, in scandir()
885 int (*filter)(const struct dirent*), in scandir() argument
886 int (*compare)(const struct dirent**, const struct dirent**)) in scandir() argument
888 struct dirent **files = NULL; in scandir()
893 struct dirent *entry; in scandir()
894 struct dirent *tmp = NULL; in scandir()
923 files = (dirent**) p; in scandir()
935 tmp = (struct dirent*) malloc (sizeof (struct dirent)); in scandir()
1020 const struct dirent **a, const struct dirent **b) in alphasort()
1028 const struct dirent **a, const struct dirent **b) in versionsort()