Home
last modified time | relevance | path

Searched defs:Path (Results 1 – 25 of 541) sorted by relevance

12345678910>>...22

/third_party/rust/rust/src/tools/remote-test-client/src/
Dmain.rs60 fn spawn_emulator(target: &str, server: &Path, tmpdir: &Path, rootfs: Option<PathBuf>) { in spawn_emulator()
89 fn start_android_emulator(server: &Path) { in start_android_emulator()
108 fn prepare_rootfs(target: &str, rootfs: &Path, server: &Path, rootfs_img: &Path) { in prepare_rootfs()
120 fn prepare_rootfs_cpio(rootfs: &Path, rootfs_img: &Path) { in prepare_rootfs_cpio()
139 fn add_files(w: &mut dyn Write, root: &Path, cur: &Path) { in prepare_rootfs_cpio()
152 fn prepare_rootfs_ext4(rootfs: &Path, rootfs_img: &Path) { in prepare_rootfs_ext4()
167 fn start_qemu_emulator(target: &str, rootfs: &Path, server: &Path, tmpdir: &Path) { in start_qemu_emulator()
242 fn push(path: &Path) { in push()
347 fn send(path: &Path, dst: &mut dyn Write) { in send()
/third_party/rust/rust/src/bootstrap/
Dbolt.rs8 pub fn instrument_with_bolt(path: &Path, output_path: &Path) { in instrument_with_bolt()
31 pub fn optimize_with_bolt(path: &Path, profile_path: &Path, output_path: &Path) { in optimize_with_bolt()
Dtarball.rs166 pub(crate) fn image_dir(&self) -> &Path { in image_dir()
171 pub(crate) fn add_file(&self, src: impl AsRef<Path>, destdir: impl AsRef<Path>, perms: u32) { in add_file()
186 src: impl AsRef<Path>, in add_renamed_file()
187 destdir: impl AsRef<Path>, in add_renamed_file()
195 pub(crate) fn add_legal_and_readme_to(&self, destdir: impl AsRef<Path>) { in add_legal_and_readme_to()
201 pub(crate) fn add_dir(&self, src: impl AsRef<Path>, dest: impl AsRef<Path>) { in add_dir()
208 pub(crate) fn add_bulk_dir(&mut self, src: impl AsRef<Path>, dest: impl AsRef<Path>) { in add_bulk_dir()
362 pub(crate) fn tarball(&self) -> &Path { in tarball()
366 pub(crate) fn decompressed_output(&self) -> &Path { in decompressed_output()
370 pub(crate) fn work_dir(&self) -> &Path { in work_dir()
/third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/
Dlookup_dep.py106 def __init__(self, abs_build_output_dir: pathlib.Path, should_build: bool):
239 def _extract_full_class_names_from_jar(abs_build_output_dir: pathlib.Path,
240 abs_jar_path: pathlib.Path) -> Set[str]:
259 def _read_jar_namelist(abs_build_output_dir: pathlib.Path,
260 abs_jar_path: pathlib.Path) -> List[str]:
281 def _is_path_relative_to(path: pathlib.Path, other: pathlib.Path) -> bool:
288 def _parse_full_java_class(source_path: pathlib.Path) -> str:
/third_party/rust/rust/compiler/rustc_builtin_macros/src/deriving/generic/
Dty.rs17 pub struct Path { struct
20 kind: PathKind, argument
30 impl Path { argument
31 pub fn new(path: Vec<Symbol>) -> Path { in new()
34 pub fn new_local(path: Symbol) -> Path { in new_local()
37 pub fn new_(path: Vec<Symbol>, params: Vec<Box<Ty>>, kind: PathKind) -> Path { in new_()
56 ) -> ast::Path { in to_path()
81 Path(Path), enumerator
118 ) -> ast::Path { in to_path()
150 bounds: &[Path], in mk_ty_param()
/third_party/rust/rust/src/tools/tidy/src/
Dwalk.rs43 path: &Path, in walk()
44 skip: impl Send + Sync + 'static + Fn(&Path, bool) -> bool, in walk()
51 paths: &[&Path], in walk_many()
52 skip: impl Send + Sync + 'static + Fn(&Path, bool) -> bool, in walk_many()
69 paths: &[&Path], in walk_no_read()
70 skip: impl Send + Sync + 'static + Fn(&Path, bool) -> bool, in walk_no_read()
/third_party/rust/rust/src/tools/rust-analyzer/crates/hir-def/src/
Dpath.rs38 pub enum Path { enum
96 impl Path { implementation
99 pub fn from_src(path: ast::Path, ctx: &LowerCtx<'_>) -> Option<Path> { in from_src()
107 ) -> Path { in from_known_path()
118 pub fn from_known_path_with_no_generic(path: ModPath) -> Path { in from_known_path_with_no_generic()
137 let Path::Normal { mod_path, generic_args, .. } = self else { in segments() localVariable
158 pub fn qualifier(&self) -> Option<Path> { in qualifier()
159 let Path::Normal { mod_path, generic_args, type_anchor } = self else { in qualifier() localVariable
177 let Path::Normal { mod_path, generic_args, type_anchor } = self else { in is_self_type() localVariable
254 impl From<Name> for Path { implementation
[all …]
/third_party/rust/crates/cxx/gen/src/
Dfs.rs47 pub(crate) fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> { in copy()
111 original: &'a Path, in symlink()
112 link: &'a Path, in symlink()
113 fun: fn(&'a Path, &'a Path) -> io::Result<()>, in symlink()
126 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_fail()
144 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
149 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
158 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_dir()
166 pub(crate) fn write(path: impl AsRef<Path>, contents: impl AsRef<[u8]>) -> Result<()> { in write()
/third_party/rust/crates/cxx/gen/build/src/
Dpaths.rs34 impl PathExt for Path { implementation
47 original: impl AsRef<Path>, in symlink_or_copy()
48 link: impl AsRef<Path>, in symlink_or_copy()
62 original: impl AsRef<Path>, in symlink_or_copy()
63 copy: impl AsRef<Path>, in symlink_or_copy()
Dout.rs7 pub(crate) fn write(path: impl AsRef<Path>, content: &[u8]) -> Result<()> { in write()
32 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_file()
66 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_dir()
86 fn best_effort_remove(path: &Path) { in best_effort_remove()
/third_party/rust/crates/which-rs/src/
Dlib.rs153 V: AsRef<path::Path>, in which_in()
206 V: AsRef<path::Path>, in which_in_all()
403 pub struct Path { struct
404 inner: path::PathBuf, argument
407 impl Path { impl
411 pub fn new<T: AsRef<OsStr>>(binary_name: T) -> Result<Path> { in new()
430 V: AsRef<path::Path>, in new_in()
447 V: AsRef<path::Path>, in all_in()
453 pub fn as_path(&self) -> &path::Path { in as_path()
463 impl fmt::Debug for Path { implementation
[all …]
/third_party/rust/rust/src/tools/unstable-book-gen/src/
Dmain.rs14 fn generate_stub_issue(path: &Path, name: &str, issue: u32) { in generate_stub_issue()
19 fn generate_stub_no_issue(path: &Path, name: &str) { in generate_stub_no_issue()
30 fn generate_summary(path: &Path, lang_features: &Features, lib_features: &Features) { in generate_summary()
51 fn generate_unstable_book_files(src: &Path, out: &Path, features: &Features) { in generate_unstable_book_files()
69 fn copy_recursive(from: &Path, to: &Path) { in copy_recursive()
/third_party/rust/rust/compiler/rustc_codegen_ssa/src/back/
Dlinker.rs43 linker: &Path, in get_linker()
168 fn set_output_kind(&mut self, output_kind: LinkOutputKind, out_filename: &Path); in set_output_kind()
170 fn link_rust_dylib(&mut self, lib: &str, path: &Path); in link_rust_dylib()
173 fn link_rlib(&mut self, lib: &Path); in link_rlib()
174 fn link_whole_rlib(&mut self, lib: &Path); in link_whole_rlib()
176 fn include_path(&mut self, path: &Path); in include_path()
177 fn framework_path(&mut self, path: &Path); in framework_path()
178 fn output_filename(&mut self, path: &Path); in output_filename()
179 fn add_object(&mut self, path: &Path); in add_object()
191 fn export_symbols(&mut self, tmpdir: &Path, crate_type: CrateType, symbols: &[String]); in export_symbols()
[all …]
Darchive.rs36 tmpdir: &Path, in create_dll_import_lib()
42 rlib: &'a Path, in extract_bundled_libs()
43 outdir: &Path, in extract_bundled_libs()
78 fn add_file(&mut self, path: &Path); in add_file()
82 archive: &Path, in add_archive()
122 archive_path: &Path, in try_filter_fat_archs()
147 archive_path: &Path, in try_extract_macho_fat_archive()
173 archive_path: &Path, in add_archive()
211 fn add_file(&mut self, file: &Path) { in add_file()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/legacy_optimizer/fusion/
Dfusion_pattern.h31 struct Path { struct
33 Path(int32_t subGraphIdx, int32_t nodeIdx) : subGraphIdx(subGraphIdx), nodeIdx(nodeIdx) {} in Path() argument
46 std::shared_ptr<Path> path = std::make_shared<Path>(-1, -1); argument
/third_party/json/tests/thirdparty/Fuzzer/
DFuzzerIO.cpp26 long GetEpoch(const std::string &Path) { in GetEpoch()
33 Unit FileToVector(const std::string &Path, size_t MaxSize, bool ExitOnError) { in FileToVector()
51 std::string FileToString(const std::string &Path) { in FileToString()
57 void CopyFileToErr(const std::string &Path) { in CopyFileToErr()
61 void WriteToFile(const Unit &U, const std::string &Path) { in WriteToFile()
69 void ReadDirToVectorOfUnits(const char *Path, std::vector<Unit> *V, in ReadDirToVectorOfUnits()
/third_party/rust/rust/compiler/rustc_const_eval/src/util/
Dtype_name.rs20 type Path = Self; typedef
84 fn path_crate(mut self, cnum: CrateNum) -> Result<Self::Path, Self::Error> { in path_crate()
93 ) -> Result<Self::Path, Self::Error> { in path_qualified()
99 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append_impl()
119 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append()
131 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_generic_args()
/third_party/rust/rust/tests/ui/regions/
Dissue-24085.rs8 struct Path<'a:'b, 'b> { struct
10 tail: Option<&'b Path<'a, 'b>> argument
/third_party/rust/rust/compiler/rustc_middle/src/ty/print/
Dmod.rs34 type Path; typedef
46 ) -> Result<Self::Path, Self::Error> { in print_def_path()
56 ) -> Result<Self::Path, Self::Error> { in print_impl_path()
71 fn path_crate(self, cnum: CrateNum) -> Result<Self::Path, Self::Error>; in path_crate()
77 ) -> Result<Self::Path, Self::Error>; in path_qualified()
81 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append_impl()
89 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_append()
95 print_prefix: impl FnOnce(Self) -> Result<Self::Path, Self::Error>, in path_generic_args()
106 ) -> Result<Self::Path, Self::Error> { in default_print_def_path()
194 ) -> Result<Self::Path, Self::Error> { in default_print_impl_path()
/third_party/rust/rust/src/tools/rust-installer/src/
Dutil.rs22 pub fn copy<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> Result<u64> { in copy()
94 pub fn copy_recursive(src: &Path, dst: &Path) -> Result<()> { in copy_recursive()
100 pub fn copy_with_callback<F>(src: &Path, dst: &Path, mut callback: F) -> Result<()> in copy_with_callback()
/third_party/tex-hyphen/ohos/src/hyphen-build/
Dhyphen_pattern_processor.cpp72 struct Path { struct
73 explicit Path(const vector<uint16_t>& path, const vector<uint8_t>* pat) in Path() function
95 void Process(const vector<uint16_t>& path, size_t targetIndex, const vector<uint8_t>* pat) in Process()
120 void FindSharedLeaves() in FindSharedLeaves()
136 bool HasPattern() const { return pattern != nullptr; } in HasPattern()
141 bool IsLinear() const in IsLinear()
152 void Print(size_t indent) const in Print()
183 static void WritePacked(vector<uint16_t>& data, ostream& out, bool writeCount = true) in WritePacked()
196 static uint16_t WritePacked(const vector<uint8_t>& data, ostream& out, bool writeSize = true) in WritePacked()
218 static void WritePacked(uint32_t word, ostream& out) in WritePacked()
[all …]
/third_party/mesa3d/bin/
Dflamegraph_map_lp_jit.py29 def parse_mappings(map_file_path: Path):
41 def parse_traces(trace_file_path: Path):
53 def parse_asm(asm_file_path: Path):
/third_party/rust/rust/src/tools/rust-analyzer/crates/ide-db/src/imports/
Dmerge_imports.rs161 pub fn common_prefix(lhs: &ast::Path, rhs: &ast::Path) -> Option<(ast::Path, ast::Path)> { in common_prefix()
187 fn path_cmp_for_sort(a: Option<ast::Path>, b: Option<ast::Path>) -> Ordering { in path_cmp_for_sort()
202 fn path_cmp_bin_search(lhs: Option<ast::Path>, rhs: Option<&ast::Path>) -> Ordering { in path_cmp_bin_search()
214 fn path_cmp_short(a: &ast::Path, b: &ast::Path) -> Ordering { in path_cmp_short()
231 a: &ast::Path, in use_tree_path_cmp()
233 b: &ast::Path, in use_tree_path_cmp()
/third_party/rust/rust/library/std/src/
Dpath.rs571 fn as_ref(&self) -> &Path { in as_ref()
695 pub fn as_path(&self) -> &'a Path { in as_path()
799 fn as_ref(&self) -> &Path { in as_ref()
844 pub fn as_path(&self) -> &'a Path { in as_path()
852 fn as_ref(&self) -> &Path { in as_ref()
1231 pub fn as_path(&self) -> &Path { in as_path()
1277 fn _push(&mut self, path: &Path) { in _push()
1544 pub fn into_boxed_path(self) -> Box<Path> { in into_boxed_path()
1641 fn from(path: &Path) -> Box<Path> { in from()
1654 fn from(cow: Cow<'_, Path>) -> Box<Path> { in from() argument
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/tests/slow-tests/
Dtidy.rs100 fn check_cargo_toml(path: &Path, text: String) { in check_cargo_toml()
208 fn check_todo(path: &Path, text: &str) { in check_todo()
245 fn check_dbg(path: &Path, text: &str) { in check_dbg()
275 fn check_test_attrs(path: &Path, text: &str) { in check_test_attrs()
313 fn check_trailing_ws(path: &Path, text: &str) { in check_trailing_ws()
331 fn visit(&mut self, path: &Path, text: &str) { in visit()
386 fn is_exclude_dir(p: &Path, dirs_to_exclude: &[&str]) -> bool { in is_exclude_dir()
403 fn visit(&mut self, _path: &Path, text: &str) { in visit()

12345678910>>...22