Home
last modified time | relevance | path

Searched refs:dirent (Results 1 – 9 of 9) sorted by relevance

/bionic/libc/include/
Ddirent.h53 struct dirent { struct
63 extern int getdents(unsigned int, struct dirent*, unsigned int); argument
66 extern struct dirent* readdir(DIR* dirp);
67 extern int readdir_r(DIR* dirp, struct dirent *entry, struct dirent **result);
72 extern int scandir(const char *dir, struct dirent ***namelist,
73 int(*filter)(const struct dirent *),
74 int(*compar)(const struct dirent **,
75 const struct dirent **));
/bionic/libc/unistd/
Dopendir.c41 struct dirent* _DIR_next;
43 struct dirent _DIR_buff[15];
91 static struct dirent*
94 struct dirent* entry; in _readdir_unlocked()
123 reclen = offsetof(struct dirent, d_name) + strlen(entry->d_name) + 1; in _readdir_unlocked()
124 if ( reclen > sizeof(*entry) || reclen <= offsetof(struct dirent, d_name) ) in _readdir_unlocked()
130 if ( !memchr( entry->d_name, 0, reclen - offsetof(struct dirent, d_name)) ) in _readdir_unlocked()
134 dir->_DIR_next = (struct dirent*)((char*)entry + entry->d_reclen); in _readdir_unlocked()
145 struct dirent*
148 struct dirent *entry = NULL; in readdir()
[all …]
/bionic/libc/include/sys/
Ddirent.h37 struct dirent { struct
45 extern int getdents(unsigned int, struct dirent *, unsigned int); argument
/bionic/libc/kernel/common/linux/
Ddirent.h21 struct dirent { struct
Dmsdos_fs.h90 #define VFAT_IOCTL_READDIR_BOTH _IOR('r', 1, struct dirent [2])
91 #define VFAT_IOCTL_READDIR_SHORT _IOR('r', 2, struct dirent [2])
/bionic/libthread_db/
Dlibthread_db.c213 struct dirent * entry; in td_ta_thr_iter()
/bionic/libc/kernel/arch-mips/asm/
Dsgiarcs.h156 wronly_ssede, rdwr_ssede, dirent, dirent_creat enumerator
/bionic/libc/bionic/
Dfts.c545 struct dirent *dp; in fts_build()
/bionic/libc/
DSYSCALLS.TXT124 int getdents:getdents64(unsigned int, struct dirent *, unsigned int) 217,220