/external/crosvm/src/ |
D | main.rs | 19 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 …]
|
D | linux.rs | 16 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/ |
D | build.rs | 8 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/ |
D | tempdir.rs | 11 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()
|
D | write_zeroes.rs | 62 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()
|
D | seek_hole.rs | 60 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()
|
D | net.rs | 15 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()
|
D | syslog.rs | 34 use std::path::PathBuf; 142 .map(PathBuf::from) in get_proc_name()
|
/external/crosvm/protos/ |
D | build.rs | 9 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/ |
D | plugins.rs | 12 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/ |
D | lib.rs | 17 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/ |
D | lib.rs | 12 use std::path::{Path, PathBuf}; 57 path: PathBuf,
|
/external/adhd/cras/client/cras_tests/src/ |
D | audio_options.rs | 6 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/ |
D | LockFileManagerTest.cpp | 96 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/ |
D | LockFileManagerTest.cpp | 96 char PathBuf[1024]; in TEST() local 97 const char *OrigPath = getcwd(PathBuf, 1024); in TEST()
|
/external/crosvm/devices/src/virtio/ |
D | tpm.rs | 10 use std::path::PathBuf; 194 storage: PathBuf, 199 pub fn new(storage: PathBuf) -> Tpm { in new()
|
D | block.rs | 1038 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()
|
D | p9.rs | 11 use std::path::{Path, PathBuf}; 37 RootNotAbsolute(PathBuf),
|
D | wl.rs | 45 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/ |
D | server.rs | 16 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/ |
D | serial.rs | 9 use std::path::PathBuf; 127 pub path: Option<PathBuf>,
|
/external/rust/crates/proc-macro2/src/ |
D | lib.rs | 95 use std::path::PathBuf; 282 pub fn path(&self) -> PathBuf { in path() argument
|
D | fallback.rs | 10 use std::path::PathBuf; 196 path: PathBuf, 201 pub fn path(&self) -> PathBuf { in path() argument
|
D | wrapper.rs | 6 use std::path::PathBuf; 361 pub fn path(&self) -> PathBuf { in path() argument
|
/external/crosvm/devices/src/virtio/gpu/ |
D | mod.rs | 13 use std::path::{Path, PathBuf}; 609 wayland_socket_path: PathBuf,
|