Home
last modified time | relevance | path

Searched refs:is_file (Results 1 - 25 of 36) sorted by relevance

12

/third_party/python/Lib/test/test_importlib/
H A Dtest_resource.py19 self.assertTrue(target.is_file())
23 self.assertFalse(target.is_file())
27 self.assertFalse(target.is_file())
55 self.assertTrue(resources.files(package).joinpath('B').is_file())
67 self.assertFalse(resources.files(package).joinpath('Z').is_file())
85 self.assertFalse(resources.files(module).joinpath('A').is_file())
93 self.assertTrue(resources.files(submodule).joinpath('binary.file').is_file())
99 .is_file()
176 c = resources.files('ziptestdata').joinpath('binary.file').is_file()
181 c = resources.files('ziptestdata').joinpath('not-present').is_file()
[all...]
H A Dtest_compatibilty_files.py42 self.assertFalse(self.files.is_file())
46 self.assertTrue((self.files / 'a').is_file())
50 self.assertFalse((self.files / 'a' / 'a').is_file())
52 self.assertFalse((self.files / 'a' / 'a' / 'a').is_file())
H A Dtest_reader.py51 self.assertEqual(MultiplexedPath(self.folder).is_file(), False)
/third_party/python/Lib/importlib/resources/
H A D_adapters.py66 def is_file(self): member in CompatibilityFiles.SpecPath
69 is_dir = is_file
96 def is_file(self): member in CompatibilityFiles.ChildPath
100 return not self.is_file()
128 def is_file(self): member in CompatibilityFiles.OrphanPath
131 is_dir = is_file
H A Dsimple.py63 def is_file(self): member in ResourceHandle
91 def is_file(self): member in ResourceContainer
H A Dabc.py93 def is_file(self) -> bool: member in Traversable
148 return self.files().joinpath(path).is_file()
H A Dreaders.py44 # workaround for `zipfile.Path.is_file` returning true
47 return target.is_file() and target.exists()
82 def is_file(self): member in MultiplexedPath
H A D_legacy.py103 traversable.name == resource and traversable.is_file()
/third_party/rust/crates/which-rs/src/
H A Dchecker.rs45 file_type.is_file() || file_type.is_symlink() in is_valid()
53 .map(|metadata| metadata.is_file()) in is_valid()
/third_party/python/Lib/test/
H A Dtest_zipapp.py32 self.assertTrue(target.is_file())
41 self.assertTrue(target.is_file())
103 self.assertTrue(expected_target.is_file())
353 self.assertTrue(target.is_file())
361 self.assertTrue(target.is_file())
H A Dtest_pathlib.py2317 self.assertTrue((P / 'fileA').is_file())
2318 self.assertFalse((P / 'dirA').is_file())
2319 self.assertFalse((P / 'non-existing').is_file())
2320 self.assertFalse((P / 'fileA' / 'bah').is_file())
2322 self.assertTrue((P / 'linkA').is_file())
2323 self.assertFalse((P / 'linkB').is_file())
2324 self.assertFalse((P/ 'brokenLink').is_file())
2325 self.assertIs((P / 'fileA\udfff').is_file(), False)
2326 self.assertIs((P / 'fileA\x00').is_file(), False)
2352 self.assertIs((P / 'fileA\udfff').is_file(), Fals
[all...]
/third_party/musl/tools/api_cmp_tool/
H A Dcompare.py53 if not my_file.is_file():
63 if not my_file.is_file():
69 if not my_file.is_file():
/third_party/python/Lib/
H A Dzipapp.py102 if source.is_file():
112 has_main = (source / '__main__.py').is_file()
/third_party/rust/crates/io-lifetimes/examples/
H A Dportable-views.rs19 if metadata.is_file() { in main()
/third_party/python/PC/layout/support/
H A Dcatalog.py37 return file.is_file() and file.stat().st_size
H A Dfilesets.py87 if f.is_file() and condition(f)
H A Dappxmanifest.py479 if (ns.source / SCCD_FILENAME).is_file():
516 if sccd.is_file():
/third_party/rust/crates/syn/codegen/src/
H A Dfile.rs22 if path.is_file() && fs::read(&path)? == formatted { in write()
/third_party/typescript/tests/ts_extra_tests/
H A Drun_ts_case.py35 def is_file(parsers, arg): function
85 parser.add_argument("-d", "--disable-list", type=lambda arg: is_file(parser, arg), default=None,
/third_party/node/
H A Dconfigure.py1678 if patchfile.is_file():
1704 if not targetfile.is_file():
1709 if targetfile.is_file():
1803 canned_is_full = (canned_icu_path / 'README-FULL-ICU.txt').is_file()
1804 canned_is_small = (canned_icu_path / 'README-SMALL-ICU.txt').is_file()
1844 if Path(with_icu_source).is_file():
1881 if not uvernum_h.is_file():
1903 if not icu_data_path.is_file() and Path(compressed_data).is_file():
1919 if not icu_data_path.is_file() an
[all...]
/third_party/python/PC/layout/
H A Dmain.py139 if pdb.is_file():
143 if lib.is_file():
332 if zip_path.is_file():
372 if ns.zip.is_file():
/third_party/rust/crates/clang-sys/src/
H A Dsupport.rs62 if p.is_file() && is_executable(&p).unwrap_or(false) { in find()
148 if path.is_file() && is_executable(&path).unwrap_or(false) { in find()
/third_party/node/deps/v8/tools/chrome/
H A Dlinux_perf.py22 assert renderer_cmd_file.is_file()
/third_party/python/Tools/wasm/
H A Dwasm_assets.py240 if not args.sysconfig_data.is_file():
/third_party/node/deps/v8/tools/gcmole/
H A Dgcmole.py707 if not libgcmole_path.is_file():
711 if not clang_path.is_file():

Completed in 16 milliseconds

12