Home
last modified time | relevance | path

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

12

/third_party/rust/crates/rust-openssl/openssl-sys/build/
Dfind_vendored.rs4 pub fn get_openssl(_target: &str) -> (Vec<PathBuf>, PathBuf) { in get_openssl()
Dfind_normal.rs7 pub fn get_openssl(target: &str) -> (Vec<PathBuf>, PathBuf) { in get_openssl()
34 fn resolve_with_wellknown_homebrew_location(dir: &str) -> Option<PathBuf> { in resolve_with_wellknown_homebrew_location()
62 fn resolve_with_wellknown_location(dir: &str) -> Option<PathBuf> { in resolve_with_wellknown_location()
Drun_bindgen.rs60 pub fn run(include_dirs: &[PathBuf]) { in run()
107 pub fn run_boringssl(include_dirs: &[PathBuf]) { in run_boringssl()
154 pub fn run_boringssl(include_dirs: &[PathBuf]) { in run_boringssl()
Dmain.rs55 fn find_openssl(target: &str) -> (Vec<PathBuf>, PathBuf) { in find_openssl()
378 fn determine_mode(libdirs: &[PathBuf], libs: &[&str]) -> &'static str { in determine_mode()
/third_party/rust/crates/cxx/gen/build/src/
Dpaths.rs18 pub(crate) fn local_relative_path(path: &Path) -> PathBuf { in local_relative_path()
31 fn with_appended_extension(&self, suffix: impl AsRef<OsStr>) -> PathBuf; in with_appended_extension()
35 fn with_appended_extension(&self, suffix: impl AsRef<OsStr>) -> PathBuf { in with_appended_extension()
Dlib.rs364 fn make_crate_dir(prj: &Project) -> PathBuf { in make_crate_dir()
383 fn make_include_dir(prj: &Project) -> Result<PathBuf> { in make_include_dir()
/third_party/rust/crates/which-rs/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()
Dlib.rs56 pub fn which<T: AsRef<OsStr>>(binary_name: T) -> Result<path::PathBuf> { in which()
80 pub fn which_global<T: AsRef<OsStr>>(binary_name: T) -> Result<path::PathBuf> { in which_global()
353 pub fn first_result(self) -> Result<path::PathBuf> { in first_result()
458 pub fn into_path_buf(self) -> path::PathBuf { in into_path_buf()
495 impl PartialEq<Path> for path::PathBuf { implementation
590 pub fn into_path_buf(self) -> path::PathBuf { in into_path_buf()
627 impl PartialEq<CanonicalPath> for path::PathBuf { implementation
/third_party/rust/crates/which-rs/tests/
Dbasic.rs25 fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin()
36 fn touch(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in touch()
42 fn mk_bin(dir: &Path, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin()
82 pub fn touch(&self, path: &str, extension: &str) -> io::Result<PathBuf> { in touch()
86 pub fn mk_bin(&self, path: &str, extension: &str) -> io::Result<PathBuf> { in mk_bin()
/third_party/rust/crates/clang-sys/build/
Dcommon.rs187 fn search_directory(directory: &Path, filenames: &[String]) -> Vec<(PathBuf, String)> { in search_directory()
228 fn search_directories(directory: &Path, filenames: &[String]) -> Vec<(PathBuf, String)> { in search_directories()
246 pub fn search_libclang_directories(filenames: &[String], variable: &str) -> Vec<(PathBuf, String)> { in search_libclang_directories()
Ddynamic.rs101 fn search_libclang_directories(runtime: bool) -> Result<Vec<(PathBuf, String, Vec<u32>)>, String> { in search_libclang_directories()
177 pub fn find(runtime: bool) -> Result<(PathBuf, String), String> { in find()
/third_party/rust/crates/glob/tests/
Dglob-std.rs34 fn glob_vec(pattern: &str) -> Vec<PathBuf> { in main()
/third_party/rust/crates/clang-sys/src/
Dsupport.rs136 fn find(directory: &Path, patterns: &[&str]) -> Option<PathBuf> { in find()
222 fn parse_search_paths(path: &Path, language: &str, args: &[String]) -> Option<Vec<PathBuf>> { in parse_search_paths()
/third_party/rust/crates/os_str_bytes/src/
Dlib.rs581 impl OsStringBytes for PathBuf { implementation
616 impl Sealed for PathBuf {} implementation
/third_party/rust/crates/clap/clap_complete/src/generator/
Dmod.rs170 ) -> Result<PathBuf, Error> in generate_to()
/third_party/rust/crates/glob/src/
Dlib.rs191 fn to_scope(p: &Path) -> PathBuf { in glob_with()
196 fn to_scope(p: &Path) -> PathBuf { in glob_with()
812 todo: &mut Vec<Result<(PathBuf, usize), GlobError>>, in fill_todo()
/third_party/rust/crates/nix/src/
Dlib.rs318 impl NixPath for PathBuf { implementation
/third_party/rust/crates/libc/libc-test/
Dbuild.rs122 fn process_semver_file<W: Write, P: AsRef<Path>>(output: &mut W, path: &mut PathBuf, file: P) { in process_semver_file()
/third_party/rust/crates/clap/src/builder/
Dos_str.rs141 impl From<OsStr> for std::path::PathBuf { implementation
Dstr.rs91 impl From<Str> for std::path::PathBuf { implementation
Dvalue_parser.rs69 PathBuf, enumerator
2112 impl ValueParserFactory for std::path::PathBuf { implementation
/third_party/rust/crates/rustix/src/path/
Darg.rs360 impl Arg for &PathBuf { implementation
401 impl Arg for PathBuf { implementation
/third_party/rust/crates/pkg-config-rs/src/
Dlib.rs810 fn is_static_available(name: &str, system_roots: &[PathBuf], dirs: &[PathBuf]) -> bool { in is_static_available()
/third_party/rust/crates/serde/serde/src/ser/
Dimpls.rs837 impl Serialize for PathBuf { implementation
/third_party/rust/crates/proc-macro2/src/
Dwrapper.rs369 pub fn path(&self) -> PathBuf { in path()

12