Home
last modified time | relevance | path

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

123

/external/python/pyfakefs/pyfakefs/tests/
Dall_tests_without_extra_packages.py32 from os import scandir
34 scandir = None variable
35 extra_packages.scandir = scandir
36 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/pyfakefs/pyfakefs/
Dextra_packages.py30 import scandir
36 from os import scandir # noqa: F401
Dfake_scandir.py165 def scandir(filesystem, path=''): function
278 def scandir(self, path='.'): member in FakeScanDirModule
292 return scandir(self.filesystem, path)
/external/python/pyfakefs/
Dextra_requirements.txt1 # "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will
13 scandir>=1.8
DCHANGES.md102 * raise for `os.scandir` with non-existing directory
180 * import external `pathlib2` and `scandir` packages first if present
352 * Added support for file descriptor path parameter in `os.scandir`
354 * Added support to fake out backported `scandir` module ([#332](../../issues/332))
367 * Links in base path in `os.scandir` shall not be resolved ([#350](../../issues/350))
478 * Support for `os.scandir` (Python >= 3.5) ([#119](../../issues/119))
/external/python/cpython3/Lib/
Dpathlib.py408 scandir = os.scandir variable in _NormalAccessor
511 scandir = parent_path._accessor.scandir
514 return self._select_from(parent_path, is_dir, exists, scandir)
519 def _select_from(self, parent_path, is_dir, exists, scandir): argument
529 def _select_from(self, parent_path, is_dir, exists, scandir): argument
533 for p in self.successor._select_from(path, is_dir, exists, scandir):
545 def _select_from(self, parent_path, is_dir, exists, scandir): argument
547 with scandir(parent_path) as scandir_it:
564 for p in self.successor._select_from(path, is_dir, exists, scandir):
575 def _iterate_directories(self, parent_path, is_dir, scandir): argument
[all …]
Dshutil.py555 with os.scandir(src) as itr:
596 with os.scandir(path) as scandir_it:
599 onerror(os.scandir, path, sys.exc_info())
627 with os.scandir(topfd) as scandir_it:
631 onerror(os.scandir, path, sys.exc_info())
679 os.scandir in os.supports_fd and
Dglob.py123 with os.scandir(dirname) as it:
Dos.py357 scandir_it = scandir(top)
428 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd:
484 scandir_it = scandir(topfd)
/external/protobuf/php/tests/
Dautoload.php7 $files = scandir($dir);
/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/llvm-project/compiler-rt/test/msan/
Dscandir_null.cpp26 int res = scandir(buf, &d, NULL, NULL); in main()
Dscandir.cpp45 int res = scandir(buf, &d, my_filter, my_compar); in main()
/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/python/cpython3/PC/layout/support/
Dfilesets.py81 condition, (type(root)(f2) for f2 in os.scandir(d) if f2.is_dir())
/external/libwebsockets/lib/misc/
Ddir.c100 n = scandir((char *)dirpath, &namelist, filter, alphasort); in lws_dir()
/external/libwebsockets/lib/plat/unix/
Dunix-plugins.c65 n = scandir(*d, &namelist, filter, alphasort); in lws_plat_plugins_init()
/external/bc/tests/
Dafl.py83 with os.scandir(dir) as it:
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a2.rst18 New os.scandir() function, part of the :pep:`471`: "os.scandir() function -- a
/external/wpa_supplicant_8/hs20/server/www/
Dusers.php212 $files = scandir("$osu_root/spp/policy");
/external/python/cpython3/Lib/test/
Dtest_os.py3822 entry = [entry for entry in os.scandir(self.path)].pop()
3846 for entry in os.scandir(self.path))
3864 scandir_iter = os.scandir(self.path)
3870 scandir_iter = os.scandir(self.path)
3946 entries = list(os.scandir(path))
3965 entries = dict((entry.name, entry) for entry in os.scandir())
4053 entries = list(os.scandir(path_bytes))
4067 entries = list(os.scandir(path_bytes))
4080 self.assertIn(os.scandir, os.supports_fd)
4089 with os.scandir(fd) as it:
[all …]

123