Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfts.c556 DIR *dirp; in fts_build() local
570 if ((dirp = opendir(cur->fts_accpath)) == NULL) { in fts_build()
615 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build()
621 (void)closedir(dirp); in fts_build()
622 dirp = NULL; in fts_build()
656 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
673 (void)closedir(dirp); in fts_build()
699 (void)closedir(dirp); in fts_build()
727 p->fts_info = fts_stat(sp, p, 0, dirfd(dirp)); in fts_build()
749 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