Home
last modified time | relevance | path

Searched refs:DIR (Results 1 – 14 of 14) sorted by relevance

/bionic/tests/headers/posix/
Ddirent_h.c34 INCOMPLETE_TYPE(DIR); in dirent_h()
47 FUNCTION(closedir, int (*f)(DIR*)); in dirent_h()
48 FUNCTION(dirfd, int (*f)(DIR*)); in dirent_h()
49 FUNCTION(fdopendir, DIR* (*f)(int)); in dirent_h()
50 FUNCTION(opendir, DIR* (*f)(const char*)); in dirent_h()
51 FUNCTION(readdir, struct dirent* (*f)(DIR*)); in dirent_h()
52 FUNCTION(readdir_r, int (*f)(DIR*, struct dirent*, struct dirent**)); in dirent_h()
53 FUNCTION(rewinddir, void (*f)(DIR*)); in dirent_h()
57 FUNCTION(seekdir, void (*f)(DIR*, long)); in dirent_h()
58 FUNCTION(telldir, long (*f)(DIR*)); in dirent_h()
/bionic/libc/bionic/
Ddirent.cpp53 struct DIR { struct
64 static uint64_t __get_dir_tag(DIR* dir) { in __get_dir_tag()
69 static DIR* __allocate_DIR(int fd) { in __allocate_DIR()
70 DIR* d = reinterpret_cast<DIR*>(malloc(sizeof(DIR))); in __allocate_DIR()
83 int dirfd(DIR* d) { in dirfd()
88 DIR* fdopendir(int fd) { in fdopendir()
102 DIR* opendir(const char* path) { in opendir()
107 static bool __fill_DIR(DIR* d) { in __fill_DIR()
118 static dirent* __readdir_locked(DIR* d) { in __readdir_locked()
132 dirent* readdir(DIR* d) { in readdir()
[all …]
Dscandir.cpp95 DIR* dir = nullptr; in scandirat()
Dfts.c551 DIR *dirp; in fts_build()
/bionic/libc/include/
Ddirent.h90 typedef struct DIR DIR; typedef
98 DIR* _Nullable opendir(const char* _Nonnull __path);
106 DIR* _Nullable fdopendir(int __dir_fd);
116 struct dirent* _Nullable readdir(DIR* _Nonnull __dir);
126 struct dirent64* _Nullable readdir64(DIR* _Nonnull __dir) __INTRODUCED_IN(21);
128 int readdir_r(DIR* _Nonnull __dir, struct dirent* _Nonnull __entry, struct dirent* _Nullable * _Non…
129 int readdir64_r(DIR* _Nonnull __dir, struct dirent64* _Nonnull __entry, struct dirent64* _Nullable …
137 int closedir(DIR* _Nonnull __dir);
143 void rewinddir(DIR* _Nonnull __dir);
152 void seekdir(DIR* _Nonnull __dir, long __location) __INTRODUCED_IN(23);
[all …]
/bionic/tests/
Ddirent_test.cpp188 DIR* d = fdopendir(fd); in TEST()
208 DIR* d = opendir("/proc/self"); in TEST()
216 DIR* d = nullptr; in TEST()
222 DIR* d = opendir("/proc/self"); in TEST()
228 DIR* d = opendir("/proc/self"); in TEST()
245 DIR* d = opendir("/proc/self"); in TEST()
262 DIR* d = opendir("/proc/self"); in TEST()
280 DIR* d = opendir("/proc/self"); in TEST()
298 DIR* d = opendir("/proc/self"); in TEST()
327 DIR* d = opendir("/proc/self"); in TEST()
Dfdsan_test.cpp133 DIR* dir = opendir("/dev/"); in TEST_F()
Dutils.h283 auto fd_dir = std::unique_ptr<DIR, decltype(&closedir)>{ opendir("/proc/self/fd"), closedir }; in CountOpenFds()
Difaddrs_test.cpp98 std::unique_ptr<DIR, decltype(&closedir)> d(opendir("/sys/class/net"), closedir); in TEST()
/bionic/libc/private/
DScopedReaddir.h28 explicit ScopedReaddir(DIR* dir) { in ScopedReaddir()
47 DIR* dir_;
/bionic/tools/
Dupdate_notice.sh3 DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
4 cd $DIR/..
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c155 static DIR *g_opendir(Char *, glob_t *);
721 DIR *dirp; in glob3()
725 struct dirent *(*readdirfunc)(DIR *); in glob3()
753 readdirfunc = (struct dirent *(*)(DIR *))pglob->gl_readdir; in glob3()
1000 static DIR *
/bionic/tools/versioner/src/
Dversioner.cpp110 DIR* dir = opendir(dir_path.c_str()); in collectRequirements()
/bionic/docs/
Dstatus.md143 * Passing a null `FILE*` or `DIR*` to libc is now detected at runtime and