Home
last modified time | relevance | path

Searched refs:to_path_buf (Results 1 – 25 of 66) sorted by relevance

123

/external/rust/android-crates-io/crates/uefi/src/fs/file_system/
Dfs.rs65 path: src_path.to_path_buf(), in copy()
74 path: src_path.to_path_buf(), in copy()
93 path: dest_path.to_path_buf(), in copy()
107 path: src_path.to_path_buf(), in copy()
117 path: src_path.to_path_buf(), in copy()
126 path: dest_path.to_path_buf(), in copy()
137 path: dest_path.to_path_buf(), in copy()
159 let mut dirs_to_create = vec![path.to_path_buf()]; in create_dir_all()
185 path: path.to_path_buf(), in metadata()
200 path: path.to_path_buf(), in read()
[all …]
/external/flatbuffers/tests/rust_usage_test/outdir/
Dbuild.rs11 .to_path_buf(); in main()
13 let mut s = project_root.to_path_buf(); in main()
20 let mut f = project_root.to_path_buf(); in main()
26 let mut d = std::path::Path::new(&std::env::var("OUT_DIR").unwrap()).to_path_buf(); in main()
/external/rust/android-crates-io/crates/tempfile/tests/
Dtempdir.rs25 p.to_path_buf() in test_tempdir()
53 tx.send(tmp.path().to_path_buf()).unwrap(); in test_rm_tempdir()
61 let path = tmp.path().to_path_buf(); in test_rm_tempdir()
74 path = tmp.path().to_path_buf(); in test_rm_tempdir()
93 tx.send(tmp.path().to_path_buf()).unwrap(); in test_rm_tempdir_close()
102 let path = tmp.path().to_path_buf(); in test_rm_tempdir_close()
116 path = tmp.path().to_path_buf(); in test_rm_tempdir_close()
Dnamedtempfile.rs33 let path = tmpfile.path().to_path_buf(); in test_deleted()
42 let old_path = tmpfile.path().to_path_buf(); in test_persist()
71 let old_path = tmpfile.path().to_path_buf(); in test_persist_noclobber()
73 let persist_path = persist_target.path().to_path_buf(); in test_persist_noclobber()
174 let old_path = tmppath.to_path_buf(); in test_temppath_persist()
202 let old_path = tmppath.to_path_buf(); in test_temppath_persist_noclobber()
204 let persist_path = persist_target.path().to_path_buf(); in test_temppath_persist_noclobber()
293 let path = temp_path.to_path_buf(); in test_into_parts()
/external/crosvm/devices/src/virtio/scsi/
Dmod.rs61 path: Path::new("/path/to/image").to_path_buf(), in parse_scsi_options()
73 path: Path::new("/path/to/image").to_path_buf(), in parse_scsi_options()
85 path: Path::new("/path/to/image").to_path_buf(), in parse_scsi_options()
98 path: Path::new("/path/to/image").to_path_buf(), in parse_scsi_options()
/external/rust/beto-rust/nearby/src/
Djni.rs25 let kotlin_lib_path = root.to_path_buf().join("presence/ldt_np_jni/java/LdtNpJni"); in run_kotlin_tests()
32 let ukey2_jni_path = root.to_path_buf().join("connections/ukey2/ukey2_jni/java"); in run_ukey2_jni_tests()
39 let ukey2_jni_path = root.to_path_buf().join("presence/np_java_ffi"); in run_np_java_ffi_tests()
/external/rust/android-crates-io/crates/walkdir/src/tests/
Drecursive.rs137 dir.path().to_path_buf(), in one_dir_one_file()
155 dir.path().to_path_buf(), in many_files()
176 dir.path().to_path_buf(), in many_dirs()
198 dir.path().to_path_buf(), in many_mixed()
223 dir.path().to_path_buf(), in nested()
268 dir.path().to_path_buf(), in nested_small_max_open()
313 dir.path().to_path_buf(), in siblings()
819 let expected = vec![dir.path().to_path_buf()]; in max_depth_0()
832 let expected = vec![dir.path().to_path_buf(), dir.join("a")]; in max_depth_1()
846 vec![dir.path().to_path_buf(), dir.join("a"), dir.join("a").join("b")]; in max_depth_2()
[all …]
/external/rust/android-crates-io/crates/walkdir/src/
Derror.rs174 path: Some(dent.path().to_path_buf()), in from_entry()
192 ancestor: ancestor.to_path_buf(), in from_loop()
193 child: child.to_path_buf(), in from_loop()
Dlib.rs301 root: root.as_ref().to_path_buf(), in new()
627 Ok(Ancestor { path: dent.path().to_path_buf(), handle }) in new()
633 Ok(Ancestor { path: dent.path().to_path_buf() }) in new()
868 Error::from_path(dent.depth(), dent.path().to_path_buf(), err) in handle_entry()
910 Some(Error::from_path(self.depth, dent.path().to_path_buf(), err)) in push()
963 DirEntry::from_path(self.depth, dent.path().to_path_buf(), true)?; in follow()
/external/python/bumble/rust/tools/
Dgen_assigned_numbers.rs26 let mut dir = path::Path::new(&env::var("CARGO_MANIFEST_DIR")?).to_path_buf(); in main()
67 let mut company_ids = base_dir.to_path_buf(); in company_ids()
/external/crosvm/devices/src/virtio/gpu/
Dsnapshot.rs23 paths.push(entry_path.to_path_buf()); in get_files_recursively()
66 .to_path_buf(); in pack_directory_to_snapshot()
/external/bazelbuild-rules_rust/crate_universe/src/splicing/
Dsplicer.rs1056 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_workspace()
1099 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_workspace_in_root()
1148 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_workspace_report_missing_members()
1176 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_workspace_report_missing_root()
1227 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_workspace_report_external_workspace_members()
1265 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_workspace_no_root_pkg()
1290 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_package()
1327 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_multi_package()
1377 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_multi_package_with_resolver()
1437 Splicer::new(workspace_root.as_ref().to_path_buf(), splicing_manifest) in splice_multi_package_with_direct_deps()
[all …]
/external/rust/android-crates-io/crates/clang-sys/out/
Dcommon.rs269 if let Ok(path) = env::var(variable).map(|d| Path::new(&d).to_path_buf()) { in search_libclang_directories()
288 let directory = Path::new(output.lines().next().unwrap()).to_path_buf(); in search_libclang_directories()
298 let directory = Path::new(output.lines().next().unwrap()).to_path_buf(); in search_libclang_directories()
/external/rust/android-crates-io/crates/clang-sys/build/
Dcommon.rs269 if let Ok(path) = env::var(variable).map(|d| Path::new(&d).to_path_buf()) { in search_libclang_directories()
288 let directory = Path::new(output.lines().next().unwrap()).to_path_buf(); in search_libclang_directories()
298 let directory = Path::new(output.lines().next().unwrap()).to_path_buf(); in search_libclang_directories()
/external/bazelbuild-rules_rust/tools/runfiles/
Drunfiles.rs110 return path.to_path_buf(); in rlocation()
125 return path.to_path_buf(); in rlocation_from()
211 return Ok(ancestor.to_path_buf()); in find_runfiles_dir()
/external/rust/beto-rust/remoteauth/src/
Dremote_auth_protocol.rs20 let mut ffi_dir = root.to_path_buf(); in check_remote_auth_protocol()
Dctap_protocol.rs20 let mut ffi_dir = root.to_path_buf(); in check_ctap_protocol()
Dplatform.rs20 let mut ffi_dir = root.to_path_buf(); in check_platform()
/external/rust/android-crates-io/crates/fs-err/src/
Dlib.rs112 let mut file = file::open(path).map_err(|err_gen| err_gen(path.to_path_buf()))?; in read()
124 let mut file = file::open(path).map_err(|err_gen| err_gen(path.to_path_buf()))?; in read_to_string()
137 .map_err(|err_gen| err_gen(path.to_path_buf()))? in write()
/external/rust/android-crates-io/crates/tempfile/src/
Denv.rs21 path.to_path_buf() in override_temp_dir()
/external/python/bumble/rust/pytests/wrapper/
Dtransport.rs22 let mut fifo = dir.path().to_path_buf(); in fifo_transport_can_open()
/external/crosvm/snapshot/src/
Dlib.rs171 dir: root.to_path_buf(), in new()
179 dir: root.to_path_buf(), in new()
/external/rust/beto-rust/common/build_scripts/src/
Dmain.rs53 .to_path_buf(); in main()
/external/crosvm/devices/src/pci/pcie/
Dpcie_host.rs144 path: device.to_path_buf(), in visit_children()
171 path: device.to_path_buf(), in visit_children()
178 path: device.to_path_buf(), in visit_children()
/external/rust/cxx/gen/build/src/
Dout.rs162 None => return original.to_path_buf(), in best_effort_relativize_symlink()
178 original.to_path_buf() in best_effort_relativize_symlink()

123