| /external/python/pyfakefs/pyfakefs/tests/ |
| D | all_tests_without_extra_packages.py | 14 Excludes tests using external scandir package.""" 24 from os import scandir 26 scandir = None variable 27 extra_packages.scandir = scandir 28 extra_packages.use_scandir = scandir
|
| D | example_test.py | 128 """Test example.scandir() which uses `os.scandir()`. 147 not use_scandir_package, "Testing only if scandir module is installed" 150 """Test example.scandir() which uses `scandir.scandir()`. 152 The scandir module has been replaced with the fake_scandir module so 154 `scandir.DirEntry` objects.
|
| D | example.py | 38 import scandir 42 scandir = None variable 142 return list(scandir.scandir(path)) 143 return list(os.scandir(path))
|
| D | all_tests.py | 16 Includes tests with external pathlib2 and scandir packages if installed."""
|
| /external/python/pyfakefs/pyfakefs/ |
| D | fake_scandir.py | 13 """A fake implementation for the `scandir` function working with 16 and the standalone function available in the standalone `scandir` python 129 """Iterator for DirEntry objects returned from `scandir()` 139 "scandir does not support file descriptor " "path argument" 177 def scandir(filesystem, path=""): function 268 """Uses FakeFilesystem to provide a fake `scandir` module replacement. 270 .. Note:: The ``scandir`` function is a part of the standard ``os`` module 271 since Python 3.5. This class handles the separate ``scandir`` module 284 return "scandir", "walk" 289 def scandir(self, path="."): member in FakeScanDirModule [all …]
|
| D | extra_packages.py | 23 import scandir 29 from os import scandir # noqa: F401
|
| /external/python/cpython3/Lib/ |
| D | pathlib.py | 319 scandir = path_cls._scandir 322 return self._select_from(parent_path, is_dir, exists, scandir) 327 def _select_from(self, parent_path, is_dir, exists, scandir): argument 337 def _select_from(self, parent_path, is_dir, exists, scandir): argument 341 for p in self.successor._select_from(path, is_dir, exists, scandir): 353 def _select_from(self, parent_path, is_dir, exists, scandir): argument 355 with scandir(parent_path) as scandir_it: 372 for p in self.successor._select_from(path, is_dir, exists, scandir): 383 def _iterate_directories(self, parent_path, is_dir, scandir): argument 386 with scandir(parent_path) as scandir_it: [all …]
|
| D | os.py | 136 _add("HAVE_FDOPENDIR", "scandir") 314 By default errors from the os.scandir() call are ignored. If 356 # Note that scandir is global in this module due 358 scandir_it = scandir(top) 415 # entry.is_symlink() result during the loop on os.scandir() because 429 if {open, stat} <= supports_dir_fd and {scandir, stat} <= supports_fd: 484 scandir_it = scandir(topfd)
|
| D | shutil.py | 559 with os.scandir(src) as itr: 600 with os.scandir(path) as scandir_it: 603 onerror(os.scandir, path, sys.exc_info()) 612 # os.scandir or entry.is_dir above. 631 with os.scandir(topfd) as scandir_it: 635 onerror(os.scandir, path, sys.exc_info()) 671 # os.scandir or stat.S_ISDIR above. 687 os.scandir in os.supports_fd and
|
| /external/apache-xml/test/java/src/org/apache/qetest/xsl/ |
| D | ResultScanner.java | 79 scanDir(resultDir, writer, 1); // 1 = starting recursion in scanResults() 106 protected void scanDir(File resultDir, PrintWriter writer, int depth) in scanDir() method in ResultScanner 112 logError(writer, "scanDir: MAX_DEPTH exceeded, returning!"); in scanDir() 118 logError(writer, "scanDir: attempt to scan non-directory, returning!"); in scanDir() 181 scanDir(new File(resultDir, subdirs[i]), writer, depth + 1); in scanDir()
|
| /external/python/pyfakefs/ |
| D | extra_requirements.txt | 1 # "pathlib2" and "scandir" are backports of new standard modules, pyfakefs will 11 scandir>=1.8
|
| D | mypy.ini | 24 [mypy-scandir.*]
|
| /external/trusty/musl/src/dirent/ |
| D | scandir.c | 8 int scandir(const char *path, struct dirent ***res, in scandir() function 47 weak_alias(scandir, scandir64);
|
| /external/linux-kselftest/tools/testing/selftests/ia64/ |
| D | aliasing-test.c | 69 n = scandir(path, &namelist, 0, alphasort); in scan_tree() 71 perror("scandir"); in scan_tree() 154 n = scandir(path, &namelist, 0, alphasort); in scan_rom() 156 perror("scandir"); in scan_rom()
|
| /external/musl/include/ |
| D | dirent.h | 33 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d… 63 #define scandir64 scandir
|
| /external/trusty/musl/include/ |
| D | dirent.h | 43 int scandir(const char *, struct dirent ***, int (*)(const struct dirent *), int (*)(const struct d… 73 #define scandir64 scandir
|
| /external/sg3_utils/src/ |
| D | sg_map26.c | 75 /* scandir() and stat() categories */ 383 num = scandir(dir_name, &namelist, nd_match_scandir_select, NULL); in list_matching_nodes() 386 pr2serr("scandir: %s %s\n", dir_name, in list_matching_nodes() 430 num = scandir(dir_name, &namelist, first_scandir_select, NULL); in scan_for_first() 433 snprintf(name, NAME_LEN_MAX, "scandir: %s", dir_name); in scan_for_first() 498 num = scandir(dir_name, &namelist, from_sg_scandir_select, NULL); in from_sg_scan() 501 pr2serr("scandir: %s %s\n", dir_name, in from_sg_scan() 542 num = scandir(dir_name, &namelist, to_sg_scandir_select, NULL); in to_sg_scan()
|
| /external/perfetto/ui/ |
| D | build.js | 257 scanDir('ui/src/assets'); 258 scanDir('ui/src/chrome_extension'); 259 scanDir('ui/src/test/diff_viewer'); 260 scanDir('buildtools/typefaces'); 261 scanDir('buildtools/catapult_trace_viewer'); 273 scanDir('ui/src/open_perfetto_trace'); 294 scanDir(cfg.outDistRootDir); 746 function scanDir(dir, regex) { function
|
| /external/bpftool/.github/workflows/ |
| D | lint-shell.yaml | 27 scandir: './scripts'
|
| /external/elfutils/tests/ |
| D | lfs-symbols | 66 scandir
|
| /external/autotest/venv/ |
| D | requirements.txt | 21 scandir==1.5
|
| /external/python/cpython3/Misc/NEWS.d/ |
| D | 3.5.0a2.rst | 18 New os.scandir() function, part of the :pep:`471`: "os.scandir() function -- a
|
| /external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/ |
| D | posix_filesystem_helper.h | 32 // This is a filter for `scandir`.
|
| /external/compiler-rt/test/msan/ |
| D | scandir_null.cc | 26 int res = scandir(buf, &d, NULL, NULL); in main()
|
| /external/musl/src/dirent/ |
| D | scandir.c | 8 int scandir(const char *path, struct dirent ***res, in scandir() function
|