Home
last modified time | relevance | path

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

12345678910>>...16

/aosp_15_r20/external/crosvm/proto_build_tools/src/
H A Dlib.rs26 pub fn build_protos(out_dir: &PathBuf, proto_paths: &[PathBuf]) { in build_protos()
37 out_dir: &PathBuf, in build_protos_explicit()
38 proto_paths: &[PathBuf], in build_protos_explicit()
39 rebuild_if_changed_paths: &[PathBuf], in build_protos_explicit()
40 includes: &[PathBuf], in build_protos_explicit()
58 fn to_includes(proto_paths: &[PathBuf]) -> Vec<PathBuf> { in to_includes()
73 fn gen_protos(out_dir: &PathBuf, proto_paths: &[PathBuf], includes: &[PathBuf]) { in gen_protos()
82 fn create_gen_file(out_dir: &PathBuf, proto_files: &[PathBuf]) { in create_gen_file()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs1161 pub struct PathBuf { struct
1165 impl PathBuf { impl
1203 pub fn with_capacity(capacity: usize) -> PathBuf { in with_capacity()
1714 impl Clone for PathBuf { implementation
1757 impl From<Box<Path>> for PathBuf { implementation
1762 fn from(boxed: Box<Path>) -> PathBuf { in from()
1788 impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf { implementation
1793 fn from(s: &T) -> PathBuf { in from()
1799 impl From<OsString> for PathBuf { implementation
1804 fn from(s: OsString) -> PathBuf { in from()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs1161 pub struct PathBuf { struct
1165 impl PathBuf { implementation
1203 pub fn with_capacity(capacity: usize) -> PathBuf { in with_capacity()
1714 impl Clone for PathBuf { implementation
1757 impl From<Box<Path>> for PathBuf { implementation
1762 fn from(boxed: Box<Path>) -> PathBuf { in from()
1788 impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf { implementation
1793 fn from(s: &T) -> PathBuf { in from()
1799 impl From<OsString> for PathBuf { implementation
1804 fn from(s: OsString) -> PathBuf { in from()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs1161 pub struct PathBuf { struct
1165 impl PathBuf { impl
1203 pub fn with_capacity(capacity: usize) -> PathBuf { in with_capacity()
1714 impl Clone for PathBuf { implementation
1757 impl From<Box<Path>> for PathBuf { implementation
1762 fn from(boxed: Box<Path>) -> PathBuf { in from()
1788 impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf { implementation
1793 fn from(s: &T) -> PathBuf { in from()
1799 impl From<OsString> for PathBuf { implementation
1804 fn from(s: OsString) -> PathBuf { in from()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs1161 pub struct PathBuf { struct
1165 impl PathBuf { impl
1208 pub fn with_capacity(capacity: usize) -> PathBuf { in with_capacity()
1632 impl Clone for PathBuf { implementation
1675 impl From<Box<Path>> for PathBuf { implementation
1680 fn from(boxed: Box<Path>) -> PathBuf { in from()
1706 impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf { implementation
1711 fn from(s: &T) -> PathBuf { in from()
1717 impl From<OsString> for PathBuf { implementation
1722 fn from(s: OsString) -> PathBuf { in from()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs1161 pub struct PathBuf { struct
1165 impl PathBuf { implementation
1208 pub fn with_capacity(capacity: usize) -> PathBuf { in with_capacity()
1632 impl Clone for PathBuf { implementation
1675 impl From<Box<Path>> for PathBuf { implementation
1680 fn from(boxed: Box<Path>) -> PathBuf { in from()
1706 impl<T: ?Sized + AsRef<OsStr>> From<&T> for PathBuf { implementation
1711 fn from(s: &T) -> PathBuf { in from()
1717 impl From<OsString> for PathBuf { implementation
1722 fn from(s: OsString) -> PathBuf { in from()
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/uefi/src/fs/path/
Dpathbuf.rs11 pub struct PathBuf(CString16); struct
13 impl PathBuf { implementation
54 impl PartialEq for PathBuf { implementation
62 impl Display for PathBuf { implementation
73 impl From<CString16> for PathBuf { implementation
79 impl From<&CStr16> for PathBuf { implementation
85 impl Deref for PathBuf { implementation
93 impl AsRef<Path> for PathBuf { implementation
100 impl Borrow<Path> for PathBuf { implementation
107 impl AsRef<CStr16> for PathBuf { implementation
[all …]
/aosp_15_r20/external/rust/crates/uefi/src/fs/path/
Dpathbuf.rs11 pub struct PathBuf(CString16); struct
13 impl PathBuf { impl
54 impl PartialEq for PathBuf { implementation
62 impl Display for PathBuf { implementation
73 impl From<CString16> for PathBuf { implementation
79 impl From<&CStr16> for PathBuf { implementation
85 impl Deref for PathBuf { implementation
93 impl AsRef<Path> for PathBuf { implementation
100 impl Borrow<Path> for PathBuf { implementation
107 impl AsRef<CStr16> for PathBuf { implementation
[all …]
/aosp_15_r20/tools/asuite/adevice/src/
H A Dadevice.rs34 partitions: &[PathBuf], in fingerprint()
35 ) -> Result<HashMap<PathBuf, FileMetadata>>; in fingerprint()
57 fn fingerprint(&self, partitions: &[String]) -> Result<HashMap<PathBuf, FileMetadata>>; in fingerprint()
90 partitions: &[PathBuf], in fingerprint()
91 ) -> Result<HashMap<PathBuf, FileMetadata>> { in fingerprint()
304 device_tree: &HashMap<PathBuf, FileMetadata>, in get_update_commands()
305 host_tree: &HashMap<PathBuf, FileMetadata>, in get_update_commands()
307 product_out: PathBuf, in get_update_commands()
310 partitions: &[PathBuf], in get_update_commands()
465 fn print_status(stdout: &mut impl Write, files: &HashMap<PathBuf, PushState>) -> Result<()> { in print_status()
[all …]
H A Dfingerprint.rs139 host_files: &HashMap<PathBuf, FileMetadata>, in diff()
140 device_files: &HashMap<PathBuf, FileMetadata>, in diff()
200 partition_names: &[PathBuf], in fingerprint_partitions()
201 ) -> Result<HashMap<PathBuf, FileMetadata>> { in fingerprint_partitions()
319 results: &HashMap<PathBuf, FileMetadata>, in write_to_file()
338 pub fn write(self, results: &HashMap<PathBuf, FileMetadata>) -> Result<()> { in write()
1021 fingerprints: &HashMap<PathBuf, FileMetadata>, in matching_file_fingerprint()
1061 fn create_symlink(target: &Path, link_name: &str, directory: &Path) -> PathBuf { in create_symlink()
/aosp_15_r20/external/rust/android-crates-io/crates/ring/
Dbuild.rs420 pregenerated: PathBuf, in build_c_code()
514 srcs: &[PathBuf], in build_library()
515 additional_srcs: &[PathBuf], in build_library()
554 ) -> PathBuf { in compile()
571 fn obj_path(out_dir: &Path, src: &Path) -> PathBuf { in obj_path()
711 fn sources_for_arch(arch: &str) -> Vec<PathBuf> { in sources_for_arch()
719 fn perlasm_src_dsts(out_dir: &Path, asm_target: &AsmTarget) -> Vec<(PathBuf, PathBuf)> { in perlasm_src_dsts() argument
748 fn asm_srcs(perlasm_src_dsts: Vec<(PathBuf, PathBuf)>) -> Vec<PathBuf> { in asm_srcs() argument
759 fn asm_path(out_dir: &Path, src: &Path, asm_target: &AsmTarget) -> PathBuf { in asm_path()
770 fn perlasm(src_dst: &[(PathBuf, PathBuf)], asm_target: &AsmTarget) { in perlasm() argument
/aosp_15_r20/tools/asuite/adevice/tests/common/
H A Dfakes.rs23 pub fn new(files: &HashMap<PathBuf, FileMetadata>, tracked_files: &[String]) -> FakeHost { in new()
63 pub fn new(files: &HashMap<PathBuf, FileMetadata>) -> FakeDevice { in new()
68 pub fn removes(&self) -> Vec<PathBuf> { in removes()
74 pub fn pushes(&self) -> Vec<PathBuf> { in pushes()
92 partitions: &[PathBuf], in fingerprint()
93 ) -> Result<HashMap<PathBuf, FileMetadata>> { in fingerprint()
131 fn fingerprint(&self, _partitions: &[String]) -> Result<HashMap<PathBuf, FileMetadata>> { in fingerprint()
/aosp_15_r20/external/rust/android-crates-io/crates/criterion/tests/
Dcriterion_tests.rs58 fn verify_file(dir: &PathBuf, path: &str) -> PathBuf { in verify_file()
70 fn verify_json(dir: &PathBuf, path: &str) { in verify_json()
77 fn verify_svg(dir: &PathBuf, path: &str) { in verify_svg()
82 fn verify_html(dir: &PathBuf, path: &str) { in verify_html()
86 fn verify_stats(dir: &PathBuf, baseline: &str) { in verify_stats()
95 fn verify_not_exists(dir: &PathBuf, path: &str) { in verify_not_exists()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/vendor/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/vendor/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/vendor/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/vendor/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/vendor/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/
H A Delf.rs47 fn new_debug(original_path: &Path, path: PathBuf, crc: Option<u32>) -> Option<Mapping> { in new_debug()
260 fn gnu_debuglink_path(&self, path: &Path) -> Option<(PathBuf, u32)> { in gnu_debuglink_path()
275 fn gnu_debugaltlink_path(&self, path: &Path) -> Option<(PathBuf, &'a [u8])> { in gnu_debugaltlink_path()
335 fn locate_build_id(build_id: &[u8]) -> Option<PathBuf> { in locate_build_id()
380 fn locate_debuglink(path: &Path, filename: &[u8]) -> Option<PathBuf> { in locate_debuglink()
434 fn locate_debugaltlink(path: &Path, filename: &[u8], build_id: &[u8]) -> Option<PathBuf> { in locate_debugaltlink()
453 fn convert_path<R: gimli::Reader>(r: &R) -> Result<PathBuf, gimli::Error> { in convert_path()
/aosp_15_r20/external/rust/android-crates-io/crates/which/src/
Dfinder.rs29 impl PathExt for PathBuf { implementation
122 fn cwd_search_candidates<C>(binary_name: PathBuf, cwd: C) -> impl IntoIterator<Item = PathBuf> in cwd_search_candidates()
132 binary_name: PathBuf, in path_search_candidates()
214 fn correct_casing(mut p: PathBuf) -> PathBuf { in correct_casing()
230 fn correct_casing(p: PathBuf) -> PathBuf { in correct_casing()
/aosp_15_r20/external/rust/android-crates-io/crates/fs-err/src/
Dpath.rs30 fn fs_err_canonicalize(&self) -> io::Result<PathBuf>; in fs_err_canonicalize()
34 fn fs_err_read_link(&self) -> io::Result<PathBuf>; in fs_err_read_link()
56 fn fs_err_canonicalize(&self) -> io::Result<PathBuf> { in fs_err_canonicalize()
60 fn fs_err_read_link(&self) -> io::Result<PathBuf> { in fs_err_read_link()

12345678910>>...16