/third_party/python/Lib/test/test_importlib/ |
H A D | test_resource.py | 19 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 D | test_compatibilty_files.py | 42 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 D | test_reader.py | 51 self.assertEqual(MultiplexedPath(self.folder).is_file(), False)
|
/third_party/python/Lib/importlib/resources/ |
H A D | _adapters.py | 66 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 D | simple.py | 63 def is_file(self): member in ResourceHandle 91 def is_file(self): member in ResourceContainer
|
H A D | abc.py | 93 def is_file(self) -> bool: member in Traversable 148 return self.files().joinpath(path).is_file()
|
H A D | readers.py | 44 # 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.py | 103 traversable.name == resource and traversable.is_file()
|
/third_party/rust/crates/which-rs/src/ |
H A D | checker.rs | 45 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 D | test_zipapp.py | 32 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 D | test_pathlib.py | 2317 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 D | compare.py | 53 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 D | zipapp.py | 102 if source.is_file(): 112 has_main = (source / '__main__.py').is_file()
|
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | portable-views.rs | 19 if metadata.is_file() { in main()
|
/third_party/python/PC/layout/support/ |
H A D | catalog.py | 37 return file.is_file() and file.stat().st_size
|
H A D | filesets.py | 87 if f.is_file() and condition(f)
|
H A D | appxmanifest.py | 479 if (ns.source / SCCD_FILENAME).is_file(): 516 if sccd.is_file():
|
/third_party/rust/crates/syn/codegen/src/ |
H A D | file.rs | 22 if path.is_file() && fs::read(&path)? == formatted { in write()
|
/third_party/typescript/tests/ts_extra_tests/ |
H A D | run_ts_case.py | 35 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 D | configure.py | 1678 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 D | main.py | 139 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 D | support.rs | 62 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 D | linux_perf.py | 22 assert renderer_cmd_file.is_file()
|
/third_party/python/Tools/wasm/ |
H A D | wasm_assets.py | 240 if not args.sysconfig_data.is_file():
|
/third_party/node/deps/v8/tools/gcmole/ |
H A D | gcmole.py | 707 if not libgcmole_path.is_file(): 711 if not clang_path.is_file():
|