Home
last modified time | relevance | path

Searched refs:is_file (Results 1 – 25 of 40) sorted by relevance

12

/third_party/jsoncpp/devtools/
Dantglob.py141 is_file = os.path.isfile(full_path)
142 if not is_file and not is_dir:
146 entry_type = is_file and FILE_LINK or DIR_LINK
148 entry_type = is_file and FILE or DIR
/third_party/rust/crates/which-rs/src/
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/
Dtest_zipapp.py31 self.assertTrue(target.is_file())
40 self.assertTrue(target.is_file())
102 self.assertTrue(expected_target.is_file())
351 self.assertTrue(target.is_file())
359 self.assertTrue(target.is_file())
Dtest_pathlib.py2243 self.assertTrue((P / 'fileA').is_file())
2244 self.assertFalse((P / 'dirA').is_file())
2245 self.assertFalse((P / 'non-existing').is_file())
2246 self.assertFalse((P / 'fileA' / 'bah').is_file())
2248 self.assertTrue((P / 'linkA').is_file())
2249 self.assertFalse((P / 'linkB').is_file())
2250 self.assertFalse((P/ 'brokenLink').is_file())
2251 self.assertIs((P / 'fileA\udfff').is_file(), False)
2252 self.assertIs((P / 'fileA\x00').is_file(), False)
2278 self.assertIs((P / 'fileA\udfff').is_file(), False)
[all …]
Dtest_zipfile.py2939 assert a.is_file()
2943 assert c.is_file() and f.is_file()
2945 assert e.is_file()
2948 assert i.is_file()
2953 assert not root.joinpath('missing.txt').is_file()
3024 assert a.is_file()
3038 assert a.is_file()
/third_party/python/Lib/importlib/
Dreaders.py43 return target.is_file() and target.exists()
83 def is_file(self): member in MultiplexedPath
Dabc.py388 def is_file(self) -> bool: member in Traversable
439 return self.files().joinpath(path).is_file()
D_adapters.py44 is_file = exists = is_dir # type: ignore variable in DegenerateFiles.Path
Dresources.py158 return (_common.from_package(package) / name).is_file()
/third_party/musl/tools/api_cmp_tool/
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/
Dzipapp.py102 if source.is_file():
112 has_main = (source / '__main__.py').is_file()
/third_party/typescript/tests/ts_extra_tests/
Drun_ts_case.py45 def is_file(parsers, arg): function
95 parser.add_argument("-d", "--disable-list", type=lambda arg: is_file(parser, arg), default=None,
/third_party/rust/crates/io-lifetimes/examples/
Dportable-views.rs19 if metadata.is_file() { in main()
/third_party/python/PC/layout/support/
Dcatalog.py37 return file.is_file() and file.stat().st_size
Dfilesets.py87 if f.is_file() and condition(f)
Dappxmanifest.py471 if (ns.source / SCCD_FILENAME).is_file():
508 if sccd.is_file():
/third_party/python/PC/layout/
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/syn/codegen/src/
Dfile.rs20 if path.as_ref().is_file() && fs::read(&path)? == formatted { in write()
/third_party/rust/crates/clang-sys/src/
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/cef/libcef_dll/ctocpp/
Ddrag_data_ctocpp.cc105 if (CEF_MEMBER_MISSING(_struct, is_file)) in IsFile()
111 int _retval = _struct->is_file(_struct); in IsFile()
/third_party/cef/include/capi/
Dcef_drag_data_capi.h84 int(CEF_CALLBACK* is_file)(struct _cef_drag_data_t* self);
/third_party/rust/crates/syn/tests/repo/
Dmod.rs169 if !test_src.join(exclude).is_file() { in clone_rust()
/third_party/python/Lib/test/test_importlib/
Dtest_reader.py51 self.assertEqual(MultiplexedPath(self.folder).is_file(), False)
/third_party/cef/libcef_dll/cpptoc/
Ddrag_data_cpptoc.cc472 GetStruct()->is_file = drag_data_is_file; in CefDragDataCppToC()
/third_party/rust/crates/cxx/gen/build/src/
Dlib.rs454 Ok(file_type) if file_type.is_file() => { in best_effort_copy_headers()

12