Home
last modified time | relevance | path

Searched refs:scandir (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/dirent/
Dscandir.c36 int n = scandir(name, &namelist, NULL, alphasort); in scandir_0100()
56 int n = scandir(name, &namelist, NULL, versionsort); in scandir_0200()
76 int n = scandir(name, &namelist, filter, versionsort); in scandir_0300()
96 int n = scandir(NULL, &namelist, NULL, alphasort); in scandir_0400()
Dalphasort.c27 int total = scandir("/", &namelist, 0, alphasort); in alphasort_0100()
39 int total = scandir(NULL, &namelist, 0, alphasort); in alphasort_0200()
Dtest_src_functionalext_supplement_dirent.gni21 "scandir",
/third_party/python/Lib/
Dpathlib.py290 scandir = os.scandir variable in _NormalAccessor
404 scandir = parent_path._accessor.scandir
407 return self._select_from(parent_path, is_dir, exists, scandir)
412 def _select_from(self, parent_path, is_dir, exists, scandir): argument
422 def _select_from(self, parent_path, is_dir, exists, scandir): argument
426 for p in self.successor._select_from(path, is_dir, exists, scandir):
438 def _select_from(self, parent_path, is_dir, exists, scandir): argument
440 with scandir(parent_path) as scandir_it:
457 for p in self.successor._select_from(path, is_dir, exists, scandir):
468 def _iterate_directories(self, parent_path, is_dir, scandir): argument
[all …]
Dshutil.py554 with os.scandir(src) as itr:
595 with os.scandir(path) as scandir_it:
598 onerror(os.scandir, path, sys.exc_info())
626 with os.scandir(topfd) as scandir_it:
630 onerror(os.scandir, path, sys.exc_info())
678 os.scandir in os.supports_fd and
Dos.py357 scandir_it = scandir(top)
428 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
484 scandir_it = scandir(topfd)
/third_party/musl/src/dirent/
Dscandir.c8 int scandir(const char *path, struct dirent ***res, in scandir() function
47 weak_alias(scandir, scandir64);
/third_party/musl/ndk_musl_include/
Ddirent.h33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d…
59 #define scandir64 scandir
/third_party/musl/porting/uniproton/kernel/include/
Ddirent.h33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d…
63 #define scandir64 scandir
/third_party/musl/include/
Ddirent.h33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d…
63 #define scandir64 scandir
/third_party/musl/porting/liteos_a/kernel/include/
Ddirent.h33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d…
63 #define scandir64 scandir
/third_party/musl/porting/liteos_m/kernel/include/
Ddirent.h33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d…
63 #define scandir64 scandir
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Ddirent.h33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d…
63 #define scandir64 scandir
/third_party/protobuf/php/tests/
Dautoload.php7 $files = scandir($dir);
/third_party/musl/libc-test/src/api/
Ddirent.c27 …nt***,int(*)(const struct dirent*),int(*)(const struct dirent**,const struct dirent**)) = scandir;} in f()
/third_party/libuv/src/unix/
Dos390-syscalls.h61 int scandir(const char* maindir, struct dirent*** namelist,
/third_party/mindspore/mindspore/dataset/datapreprocess/
Dpreprocess_imagenet_validate_dataset.py32 sub_dir = [dir_.name for dir_ in os.scandir(train_dataset_path) if dir_.is_dir()]
/third_party/node/test/parallel/
Dtest-repl-underscore.js180 /^Uncaught Error: ENOENT: no such file or directory, scandir '.*nonexistent\?'/,
/third_party/mindspore/mindspore/profiler/parser/
Dhccl_parser.py180 operators_names_in_hccl = [entry.name for entry in os.scandir(dir_path) if entry.is_dir()
229 operators_dir = [entry.name for entry in os.scandir(dir_path) if entry.is_dir()
249 files = [entry.name for entry in os.scandir(dir_path) if entry.is_file()]
/third_party/python/PC/layout/support/
Dfilesets.py81 condition, (type(root)(f2) for f2 in os.scandir(d) if f2.is_dir())
/third_party/libevdev/libevdev/
Dlibevdev-uinput.c223 ndev = scandir(path, &namelist, is_event_device, alphasort); in fetch_device_node()
262 ndev = scandir(SYS_INPUT_DIR, &namelist, is_input_device, alphasort); in fetch_syspath_and_devnode()
/third_party/libuv/docs/src/
Dmigration_010_100.rst239 actually implemented using ``scandir(3)``.
244 list of *dents* returned by ``scandir(3)`` around.
/third_party/python/Misc/NEWS.d/
D3.5.0a2.rst18 New os.scandir() function, part of the :pep:`471`: "os.scandir() function -- a
/third_party/python/Lib/test/
Dtest_os.py4077 entry = [entry for entry in os.scandir(self.path)].pop()
4101 for entry in os.scandir(self.path))
4119 scandir_iter = os.scandir(self.path)
4125 scandir_iter = os.scandir(self.path)
4201 entries = list(os.scandir(path))
4220 entries = dict((entry.name, entry) for entry in os.scandir())
4308 entries = list(os.scandir(path_bytes))
4322 entries = list(os.scandir(path_bytes))
4335 self.assertIn(os.scandir, os.supports_fd)
4344 with os.scandir(fd) as it:
[all …]
/third_party/libwebsockets/win32port/dirent/
Ddirent-win32.h308 static int scandir (const char *dirname, struct dirent ***namelist,
882 scandir( in scandir() function

1234