Home
last modified time | relevance | path

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

/external/crosvm/src/
Dmain.rs19 use std::path::{Path, PathBuf};
41 path: PathBuf,
47 src: PathBuf,
48 dst: PathBuf,
63 path: PathBuf,
69 fn new(path: PathBuf) -> TouchDeviceOption { in new()
80 Bios(PathBuf),
81 Kernel(PathBuf),
82 Plugin(PathBuf),
97 android_fstab: Option<PathBuf>,
[all …]
Dlinux.rs16 use std::path::{Path, PathBuf};
89 CreateTpmStorage(PathBuf, io::Error),
104 OpenAndroidFstab(PathBuf, io::Error),
105 OpenBios(PathBuf, io::Error),
106 OpenInitrd(PathBuf, io::Error),
107 OpenKernel(PathBuf, io::Error),
108 OpenVinput(PathBuf, io::Error),
310 let policy_path: PathBuf = cfg.seccomp_policy_dir.join(policy); in simple_jail()
382 let tpm_storage: PathBuf; in create_tpm_device()
/external/crosvm/gpu_display/
Dbuild.rs8 use std::path::{Path, PathBuf};
13 fn scan_path<P: AsRef<Path>, O: AsRef<OsStr>>(path: P, name: O) -> Option<PathBuf> { in scan_path() argument
34 fn find_protocol(name: &str) -> PathBuf { in find_protocol() argument
37 let protocol_file_name = PathBuf::from(format!("{}.xml", name)); in find_protocol()
54 fn compile_protocol<P: AsRef<Path>>(name: &str, out: P) -> PathBuf { in compile_protocol() argument
/external/crosvm/sys_util/src/
Dtempdir.rs11 use std::path::PathBuf;
20 path: Option<PathBuf>,
55 path: Some(PathBuf::from(OsString::from_vec(dir_bytes))), in new()
69 self.path.as_ref().map(PathBuf::as_path) in as_path()
Dwrite_zeroes.rs62 use std::path::PathBuf;
69 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in simple_test()
135 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in large_write_zeroes()
Dseek_hole.rs60 use std::path::PathBuf;
69 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in seek_data()
116 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in seek_hole()
Dnet.rs15 use std::path::PathBuf;
317 pub fn path(&self) -> io::Result<PathBuf> { in path() argument
415 use std::path::PathBuf;
417 fn tmpdir() -> PathBuf { in tmpdir()
Dsyslog.rs34 use std::path::PathBuf;
142 .map(PathBuf::from) in get_proc_name()
/external/crosvm/protos/
Dbuild.rs9 use std::path::{Path, PathBuf};
58 let generated = PathBuf::from(&out_dir).join("generated.rs"); in main()
64 Some(dir) => PathBuf::from(dir).join(proto.dir_relative_to_sysroot), in main()
65 None => PathBuf::from(proto.dir_relative_to_us), in main()
/external/crosvm/tests/
Dplugins.rs12 use std::path::{Path, PathBuf};
20 struct RemovePath(PathBuf);
29 fn get_target_path() -> PathBuf { in get_target_path()
39 fn get_crosvm_path() -> PathBuf { in get_crosvm_path()
78 RemovePath(PathBuf::from(out_bin)) in build_plugin()
/external/crosvm/io_jail/src/
Dlib.rs17 use std::path::{Path, PathBuf};
25 src: PathBuf,
26 dst: PathBuf,
31 src: PathBuf,
32 dest: PathBuf,
46 SeccompPath(PathBuf),
50 PathToCString(PathBuf),
58 SettingChrootDirectory(i32, PathBuf),
60 SettingPivotRootDirectory(i32, PathBuf),
/external/crosvm/tempfile/src/
Dlib.rs12 use std::path::{Path, PathBuf};
57 path: PathBuf,
/external/adhd/cras/client/cras_tests/src/
Daudio_options.rs6 use std::path::PathBuf;
49 pub file_name: PathBuf,
117 Some(file_name) => PathBuf::from(file_name), in parse_from_args()
/external/llvm/unittests/Support/
DLockFileManagerTest.cpp96 char PathBuf[1024]; in TEST() local
97 const char *OrigPath = getcwd(PathBuf, 1024); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DLockFileManagerTest.cpp96 char PathBuf[1024]; in TEST() local
97 const char *OrigPath = getcwd(PathBuf, 1024); in TEST()
/external/crosvm/devices/src/virtio/
Dtpm.rs10 use std::path::PathBuf;
194 storage: PathBuf,
199 pub fn new(storage: PathBuf) -> Tpm { in new()
Dblock.rs1038 use std::path::PathBuf;
1046 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in read_size()
1065 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in read_features()
1090 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in read_last_sector()
1133 let mut path = PathBuf::from(tempdir.as_path().unwrap()); in read_beyond_last_sector()
Dp9.rs11 use std::path::{Path, PathBuf};
37 RootNotAbsolute(PathBuf),
Dwl.rs45 use std::path::{Path, PathBuf};
995 wayland_path: PathBuf,
1010 wayland_path: PathBuf, in new() argument
1494 wayland_path: PathBuf, in new() argument
1677 wayland_path: PathBuf,
/external/crosvm/p9/src/
Dserver.rs16 use std::path::{Component, Path, PathBuf};
171 mut buf: PathBuf, in join_path() argument
174 ) -> io::Result<PathBuf> { in join_path() argument
329 mut buf: PathBuf, in do_walk() argument
331 ) -> io::Result<PathBuf> { in do_walk() argument
919 let root = PathBuf::from("/a/b/c"); in path_joins()
920 let path = PathBuf::from("/a/b/c/d/e/f"); in path_joins()
942 let root = PathBuf::from("/a"); in invalid_joins()
943 let path = PathBuf::from("/a/b"); in invalid_joins()
/external/crosvm/devices/src/
Dserial.rs9 use std::path::PathBuf;
127 pub path: Option<PathBuf>,
/external/rust/crates/proc-macro2/src/
Dlib.rs95 use std::path::PathBuf;
282 pub fn path(&self) -> PathBuf { in path() argument
Dfallback.rs10 use std::path::PathBuf;
196 path: PathBuf,
201 pub fn path(&self) -> PathBuf { in path() argument
Dwrapper.rs6 use std::path::PathBuf;
361 pub fn path(&self) -> PathBuf { in path() argument
/external/crosvm/devices/src/virtio/gpu/
Dmod.rs13 use std::path::{Path, PathBuf};
609 wayland_socket_path: PathBuf,