Home
last modified time | relevance | path

Searched refs:PathBuf (Results 1 – 5 of 5) sorted by relevance

/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs72 use std::path::PathBuf;
93 pub link_paths: Vec<PathBuf>,
95 pub link_files: Vec<PathBuf>,
99 pub framework_paths: Vec<PathBuf>,
101 pub include_paths: Vec<PathBuf>,
645 vec![PathBuf::from("/Library"), PathBuf::from("/System")] in parse_libs_cflags()
650 .map(PathBuf::from); in parse_libs_cflags()
659 vec![sysroot.unwrap_or_else(|| PathBuf::from("/usr"))] in parse_libs_cflags()
678 dirs.push(PathBuf::from(val)); in parse_libs_cflags()
679 self.link_paths.push(PathBuf::from(val)); in parse_libs_cflags()
[all …]
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/tests/
Dtest.rs7 use std::path::PathBuf;
101 assert!(lib.link_paths.contains(&PathBuf::from("/usr/lib/valgrind"))); in output_ok()
104 .contains(&PathBuf::from("/usr/include/valgrind"))); in output_ok()
105 assert!(lib.include_paths.contains(&PathBuf::from("/usr/foo"))); in output_ok()
115 .contains(&PathBuf::from("include path with spaces"))); in escapes()
118 .contains(&PathBuf::from("link path with spaces"))); in escapes()
140 assert!(lib.framework_paths.contains(&PathBuf::from("/usr/lib"))); in framework()
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dlib.rs66 use std::path::{Path, PathBuf};
84 out_dir: PathBuf,
85 rustc: PathBuf,
155 pub fn with_dir<T: Into<PathBuf>>(dir: T) -> Result<Self, Error> { in with_dir()
157 let rustc: PathBuf = rustc.into(); in with_dir()
402 .map(PathBuf::from) in dir_contains_target()
403 .unwrap_or_else(|| PathBuf::from("target")); in dir_contains_target()
/device/google/cuttlefish/host/commands/append_squashfs_overlay/src/
Dmain.rs21 use std::path::{Path, PathBuf};
91 let src = matches.get_one::<PathBuf>("src").unwrap().as_ref(); in main()
92 let overlay = matches.get_one::<PathBuf>("overlay").unwrap().as_ref(); in main()
93 let dest = matches.get_one::<PathBuf>("dest").unwrap().as_ref(); in main()
/device/google/cuttlefish/guest/hals/nfc/src/
Dmain.rs22 use std::path::PathBuf;
37 virtio_dev_path: PathBuf,