Home
last modified time | relevance | path

Searched refs:dirp (Results 1 – 4 of 4) sorted by relevance

/bionic/libc/bionic/
Dfts.c551 DIR *dirp; in fts_build() local
565 if ((dirp = opendir(cur->fts_accpath)) == NULL) { in fts_build()
610 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build()
616 (void)closedir(dirp); in fts_build()
617 dirp = NULL; in fts_build()
651 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
668 (void)closedir(dirp); in fts_build()
694 (void)closedir(dirp); in fts_build()
722 p->fts_info = fts_stat(sp, p, 0, dirfd(dirp)); in fts_build()
744 if (dirp) in fts_build()
[all …]
Dndk_cruft.cpp267 int getdents(unsigned int fd, dirent* dirp, unsigned int count) { in getdents() argument
268 return __getdents64(fd, dirp, count); in getdents()
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c721 DIR *dirp; in glob3() local
740 if ((dirp = g_opendir(pathbuf, pglob)) == NULL) { in glob3()
759 while ((dp = (*readdirfunc)(dirp)) != NULL) { in glob3()
817 (*pglob->gl_closedir)(dirp); in glob3()
819 closedir(dirp); in glob3()
/bionic/libc/
DSECCOMP_ALLOWLIST_APP.TXT15 int getdents:getdents(unsigned int fd, struct linux_dirent *dirp, unsigned int count) lp32,x86_64