Home
last modified time | relevance | path

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

123

/external/rust/crates/walkdir/src/tests/
Drecursive.rs65 assert!(ent.file_type().is_file()); in empty_file()
83 assert!(ent.file_type().is_file()); in empty_file_follow()
123 assert!(ent.file_type().is_file()); in one_file()
347 assert!(!link.file_type().is_file()); in sym_root_file_nofollow()
351 assert!(!link.metadata().unwrap().is_file()); in sym_root_file_nofollow()
377 assert!(link.file_type().is_file()); in sym_root_file_follow()
381 assert!(link.metadata().unwrap().is_file()); in sym_root_file_follow()
409 assert!(!link.file_type().is_file()); in sym_root_dir_nofollow()
413 assert!(!link.metadata().unwrap().is_file()); in sym_root_dir_nofollow()
445 assert!(!link.file_type().is_file()); in sym_root_dir_follow()
[all …]
/external/llvm-project/lldb/tools/driver/
DDriver.h51 bool is_file, lldb::SBError &error);
56 : contents(std::move(contents)), is_file(in_is_file), in contents()
60 bool is_file; member
DDriver.cpp122 bool is_file, SBError &error) { in AddInitialCommand() argument
136 if (is_file) { in AddInitialCommand()
139 command_set->push_back(InitialCmdEntry(command, is_file)); in AddInitialCommand()
143 command_set->push_back(InitialCmdEntry(final_path, is_file)); in AddInitialCommand()
149 command_set->push_back(InitialCmdEntry(command, is_file)); in AddInitialCommand()
169 if (command_entry.is_file) { in WriteCommandsForSourcing()
/external/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
/external/rust/crates/which/src/
Dchecker.rs47 file_type.is_file() || file_type.is_symlink() in is_valid()
55 .map(|metadata| metadata.is_file()) in is_valid()
/external/pigweed/pw_build/py/pw_build/
Dzip.py87 if source_path.is_file():
122 if file_path.is_file():
Dmirror_tree.py72 files = (p for p in path.glob('**/*') if p.is_file())
74 elif path.is_file():
Dhost_tool.py57 if not args.src.is_file():
/external/crosvm/gpu_display/
Dbuild.rs21 if file_type.is_file() && entry.file_name() == name.as_ref() { in scan_path()
47 protocol_path.is_file(), in find_protocol()
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dbuild.py79 if args_gn.is_file():
138 if path.is_file():
154 if path.is_file():
/external/python/cpython2/Tools/nuget/
Dmake_zip.py150 if dest.is_file():
153 if dest.is_file():
167 elif f.is_file() and (not condition or condition(f)):
/external/python/cpython3/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.py2116 self.assertTrue((P / 'fileA').is_file())
2117 self.assertFalse((P / 'dirA').is_file())
2118 self.assertFalse((P / 'non-existing').is_file())
2119 self.assertFalse((P / 'fileA' / 'bah').is_file())
2121 self.assertTrue((P / 'linkA').is_file())
2122 self.assertFalse((P / 'linkB').is_file())
2123 self.assertFalse((P/ 'brokenLink').is_file())
2124 self.assertIs((P / 'fileA\udfff').is_file(), False)
2125 self.assertIs((P / 'fileA\x00').is_file(), False)
2151 self.assertIs((P / 'fileA\udfff').is_file(), False)
[all …]
/external/python/pyfakefs/pyfakefs/tests/
Dexample_test.py149 self.assertTrue(entries[2].is_file())
167 self.assertTrue(entries[1].is_file())
/external/python/cpython3/Lib/
Dzipapp.py102 if source.is_file():
112 has_main = (source / '__main__.py').is_file()
/external/python/cpython3/PC/layout/support/
Dcatalog.py37 return file.is_file() and file.stat().st_size
Dfilesets.py87 if f.is_file() and condition(f)
/external/python/pyfakefs/pyfakefs/pytest_tests/
Dpytest_fixture_param_test.py43 assert example.EXAMPLE_FILE.is_file()
Dpytest_fixture_test.py51 assert example.EXAMPLE_FILE.is_file()
/external/webrtc/tools_webrtc/android/profiling/
Dutilities.sh35 function is_file() { function
/external/python/cpython3/PC/layout/
Dmain.py148 if pdb.is_file():
152 if lib.is_file():
341 if zip_path.is_file():
381 if ns.zip.is_file():
/external/adhd/cras/client/cras-sys/generator/src/
Dmain.rs14 if dst_dir.is_file() { in copy_headers()
/external/rust/crates/url/src/
Dparser.rs169 pub fn is_file(&self) -> bool { in is_file() method
388 if scheme_type.is_file() { in parse_url()
987 if scheme_type.is_file() { in parse_host()
1265 if scheme_type.is_file() && is_windows_drive_letter(segment_before_slash) { in parse_path()
1288 if scheme_type.is_file() { in parse_path()
1320 if scheme_type.is_file() in shorten_path()
1336 if !(scheme_type.is_file() in pop_path()
/external/pigweed/pw_doctor/py/pw_doctor/
Ddoctor.py144 if not config.is_file():
312 if not path.is_file():
/external/rust/crates/zip/examples/
Dwrite_dir.rs81 if path.is_file() { in zip_dir()

123