/third_party/node/deps/uv/src/unix/ |
H A D | os390-syscalls.h | 28 #include <dirent.h> 61 int scandir(const char* maindir, struct dirent*** namelist, 62 int (*filter)(const struct dirent *), 63 int (*compar)(const struct dirent **, 64 const struct dirent **));
|
H A D | os390-syscalls.c | 34 int scandir(const char* maindir, struct dirent*** namelist, in scandir() argument 35 int (*filter)(const struct dirent*), in scandir() 36 int (*compar)(const struct dirent**, in scandir() 37 const struct dirent **)) { in scandir() 38 struct dirent** nl; in scandir() 39 struct dirent** nl_copy; in scandir() 40 struct dirent* dirent; in scandir() local 53 dirent = readdir(mdir); in scandir() 54 if (!dirent) in scandir() [all...] |
/third_party/libuv/src/unix/ |
H A D | os390-syscalls.c | 34 int scandir(const char* maindir, struct dirent*** namelist, in scandir() argument 35 int (*filter)(const struct dirent*), in scandir() 36 int (*compar)(const struct dirent**, in scandir() 37 const struct dirent **)) { in scandir() 38 struct dirent** nl; in scandir() 39 struct dirent** nl_copy; in scandir() 40 struct dirent* dirent; in scandir() local 53 dirent = readdir(mdir); in scandir() 54 if (!dirent) in scandir() [all...] |
/third_party/musl/src/dirent/ |
H A D | readdir_r.c | 1 #include <dirent.h> 7 int readdir_r(DIR *restrict dir, struct dirent *restrict buf, struct dirent **restrict result) in readdir_r() 9 struct dirent *de; in readdir_r()
|
H A D | versionsort.c | 3 #include <dirent.h> 5 int versionsort(const struct dirent **a, const struct dirent **b) in versionsort()
|
H A D | alphasort.c | 2 #include <dirent.h> 4 int alphasort(const struct dirent **a, const struct dirent **b) in alphasort()
|
H A D | readdir.c | 1 #include <dirent.h> 13 struct dirent *readdir(DIR *dir) in readdir() 18 struct dirent *de; in readdir()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | getdents.c | 16 #include <dirent.h> 32 struct dirent buf; in getdents_0100() 46 struct dirent buf; in getdents_0200() 59 struct dirent buf; in getdents_0300()
|
/third_party/toybox/porting/liteos_a/toys/posix/ |
H A D | rm.c | 27 struct dirent *dirent = NULL; in toybox_cmd_do_rmdir() local 44 dirent = readdir(dir); in toybox_cmd_do_rmdir() 45 if (dirent == NULL) break; in toybox_cmd_do_rmdir() 47 size_t fullpath_buf_size = strlen(pathname) + strlen(dirent->d_name) + 2; in toybox_cmd_do_rmdir() 57 ret = snprintf(fullpath, fullpath_buf_size, "%s/%s", pathname, dirent->d_name); in toybox_cmd_do_rmdir()
|
/kernel/liteos_m/components/shell/src/cmds/ |
H A D | vfs_shellcmd.c | 47 #include <dirent.h> 74 DIR *dirent = NULL; in OsShellCmdDoChdir() local 94 dirent = opendir(fullpath); in OsShellCmdDoChdir() 95 if (dirent == NULL) { in OsShellCmdDoChdir() 103 (VOID)closedir(dirent); in OsShellCmdDoChdir() 120 STATIC CHAR *OsLsGetFullpath(const CHAR *path, struct dirent *pdirent) in OsLsGetFullpath() 159 struct dirent *pdirent = NULL; in OsLs() 523 struct dirent *dirent = NULL; in OsShellCmdDoRmdir() local 542 dirent in OsShellCmdDoRmdir() 710 struct dirent *dirent = NULL; OsWildcardExtractDirectory() local [all...] |
/third_party/ntfs-3g/ntfsprogs/ |
H A D | ntfsls.c | 127 static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name, 364 * @dirent: context for filldir callback supplied by the caller 374 static int readdir_recursive(ntfs_inode * ni, s64 * pos, ntfsls_dirent * dirent) in readdir_recursive() argument 410 result = ntfs_readdir(ni, pos, dirent, (ntfs_filldir_t) list_dir_entry); in readdir_recursive() 460 result = readdir_recursive(subdir->ni, &pos2, dirent); in readdir_recursive() 490 static int list_dir_entry(ntfsls_dirent * dirent, const ntfschar * name, in list_dir_entry() argument 558 ni = ntfs_inode_open(dirent->vol, mref); in list_dir_entry() 642 ntfsls_dirent dirent; in main() local 672 memset(&dirent, 0, sizeof(dirent)); in main() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/dirent/ |
H A D | alphasort.c | 16 #include <dirent.h> 26 struct dirent **namelist; in alphasort_0100() 38 struct dirent **namelist; in alphasort_0200()
|
H A D | readdir.c | 16 #include <dirent.h> 19 #include "../../../../../src/dirent/__dirent.h" 30 struct dirent *ret; in readdir_0100() 50 struct dirent *ret; in readdir_0200()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | path.h | 8 struct dirent; 14 bool is_directory(const char *base_path, const struct dirent *dent); 15 bool is_executable_file(const char *base_path, const struct dirent *dent);
|
/third_party/ffmpeg/libavformat/ |
H A D | libsmbclient.c | 211 struct smbc_dirent *dirent = NULL; in libsmbc_read_dir() local 221 dirent = smbc_readdir(libsmbc->dh); in libsmbc_read_dir() 222 if (!dirent) { in libsmbc_read_dir() 226 switch (dirent->smbc_type) { in libsmbc_read_dir() 252 } while (skip_entry || !strcmp(dirent->name, ".") || in libsmbc_read_dir() 253 !strcmp(dirent->name, "..")); in libsmbc_read_dir() 255 entry->name = av_strdup(dirent->name); in libsmbc_read_dir() 261 url = av_append_path_component(h->filename, dirent->name); in libsmbc_read_dir()
|
/third_party/alsa-utils/alsactl/ |
H A D | utils.c | 29 #include <dirent.h> 293 static int cleanup_filename_filter(const struct dirent *dirent) in cleanup_filename_filter() argument 297 if (dirent == NULL) in cleanup_filename_filter() 299 if (dirent->d_type == DT_DIR) in cleanup_filename_filter() 302 flen = strlen(dirent->d_name); in cleanup_filename_filter() 306 if (strncmp(&dirent->d_name[flen-5], ".conf", 5) == 0) in cleanup_filename_filter() 315 struct dirent **list; in snd_card_clean_cfgdir()
|
/kernel/linux/linux-5.10/tools/testing/selftests/proc/ |
H A D | proc.h | 4 #include <dirent.h> 43 static struct dirent *xreaddir(DIR *d) in xreaddir() 45 struct dirent *de; in xreaddir()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc.h | 4 #include <dirent.h> 43 static struct dirent *xreaddir(DIR *d) in xreaddir() 45 struct dirent *de; in xreaddir()
|
/kernel/liteos_a/fs/vfs/ |
H A D | Makefile | 75 $(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_closedir.c \ 76 $(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_opendir.c \ 77 $(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_readdir.c \ 78 $(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_rewinddir.c \ 79 $(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_seekdir.c \ 80 $(LITEOSTHIRDPARTY)/NuttX/fs/dirent/fs_telldir.c \
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | util.h | 19 struct dirent; 25 struct strlist *lsdir(const char *name, bool (*filter)(const char *, struct dirent *)); 26 bool lsdir_no_dot_filter(const char *name, struct dirent *d);
|
/third_party/libinput/src/ |
H A D | libinput-versionsort.h | 29 #include <dirent.h> 75 versionsort(const struct dirent **a, const struct dirent **b) in versionsort()
|
/third_party/musl/libc-test/src/common/ |
H A D | cfi_util.h | 18 #include <dirent.h>
37 struct dirent *ptr;
in ShowCfiLogFile() 55 struct dirent *ptr;
in ClearCfiLog() 117 struct dirent *ptr;
in FindDirAndCheck()
|
/third_party/musl/porting/liteos_m/kernel/include/sys/ |
H A D | dir.h | 1 #include <dirent.h> 2 #define direct dirent
|
/third_party/musl/porting/uniproton/kernel/include/sys/ |
H A D | dir.h | 1 #include <dirent.h> 2 #define direct dirent
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/ |
H A D | dir.h | 1 #include <dirent.h> 2 #define direct dirent
|