Home
last modified time | relevance | path

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

1234

/external/python/pyfakefs/pyfakefs/tests/
Dall_tests_without_extra_packages.py24 from os import scandir
26 scandir = None variable
27 extra_packages.scandir = scandir
28 extra_packages.use_scandir = scandir
Dexample.py38 import scandir
41 scandir = None variable
141 return list(scandir.scandir(path))
142 return list(os.scandir(path))
/external/python/cpython3/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())
682 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)
/external/python/pyfakefs/pyfakefs/
Dextra_packages.py23 import scandir
29 from os import scandir # noqa: F401
Dfake_scandir.py165 def scandir(filesystem, path=''): function
277 def scandir(self, path='.'): member in FakeScanDirModule
291 return scandir(self.filesystem, path)
/external/musl/src/dirent/
Dscandir.c8 int scandir(const char *path, struct dirent ***res, in scandir() function
47 weak_alias(scandir, scandir64);
/external/musl/include/
Ddirent.h33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d…
63 #define scandir64 scandir
/external/python/pyfakefs/
Dextra_requirements.txt1 # "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will
11 scandir>=1.8
Dmypy.ini24 [mypy-scandir.*]
DCHANGES.md44 * `os.listdir`, `os.scandir` and `pathlib.Path.listdir` now return the
54 * `os.listdir`, `os.scandir` and `pathlib.Path.listdir` now return the
359 * raise for `os.scandir` with non-existing directory
437 * import external `pathlib2` and `scandir` packages first if present
609 * Added support for file descriptor path parameter in `os.scandir`
611 * Added support to fake out backported `scandir` module ([#332](../../issues/332))
624 * Links in base path in `os.scandir` shall not be resolved ([#350](../../issues/350))
735 * Support for `os.scandir` (Python >= 3.5) ([#119](../../issues/119))
/external/linux-kselftest/tools/testing/selftests/ia64/
Daliasing-test.c69 n = scandir(path, &namelist, 0, alphasort); in scan_tree()
154 n = scandir(path, &namelist, 0, alphasort); in scan_rom()
/external/compiler-rt/test/msan/
Dscandir_null.cc26 int res = scandir(buf, &d, NULL, NULL); in main()
Dscandir.cc45 int res = scandir(buf, &d, my_filter, my_compar); in main()
/external/autotest/venv/
Drequirements.txt21 scandir==1.5
/external/elfutils/tests/
Dlfs-symbols66 scandir
/external/cronet/build/
Dclobber.py50 for e in os.scandir(build_dir):
/external/angle/build/
Dclobber.py50 for e in os.scandir(build_dir):
/external/sg3_utils/src/
Dsg_map26.c383 num = scandir(dir_name, &namelist, nd_match_scandir_select, NULL); in list_matching_nodes()
430 num = scandir(dir_name, &namelist, first_scandir_select, NULL); in scan_for_first()
498 num = scandir(dir_name, &namelist, from_sg_scandir_select, NULL); in from_sg_scan()
542 num = scandir(dir_name, &namelist, to_sg_scandir_select, NULL); in to_sg_scan()
/external/python/cpython3/PC/layout/support/
Dfilesets.py81 condition, (type(root)(f2) for f2 in os.scandir(d) if f2.is_dir())
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst18 New os.scandir() function, part of the :pep:`471`: "os.scandir() function -- a
/external/bc/scripts/
Dafl.py122 with os.scandir(dir) as it:
/external/python/cpython3/Lib/test/
Dtest_os.py4074 entry = [entry for entry in os.scandir(self.path)].pop()
4098 for entry in os.scandir(self.path))
4116 scandir_iter = os.scandir(self.path)
4122 scandir_iter = os.scandir(self.path)
4198 entries = list(os.scandir(path))
4217 entries = dict((entry.name, entry) for entry in os.scandir())
4305 entries = list(os.scandir(path_bytes))
4319 entries = list(os.scandir(path_bytes))
4332 self.assertIn(os.scandir, os.supports_fd)
4340 with os.scandir(fd) as it:
[all …]
/external/wpa_supplicant_8/hs20/server/www/
Dusers.php212 $files = scandir("$osu_root/spp/policy");

1234