Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dfts.c542 DIR *dirp; in fts_build() local
556 if ((dirp = opendir(cur->fts_accpath)) == NULL) { in fts_build()
601 if (fts_safe_changedir(sp, cur, dirfd(dirp), NULL)) { in fts_build()
607 (void)closedir(dirp); in fts_build()
608 dirp = NULL; in fts_build()
642 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
659 (void)closedir(dirp); in fts_build()
685 (void)closedir(dirp); in fts_build()
714 p->fts_info = fts_stat(sp, p, 0, dirfd(dirp)); in fts_build()
736 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