Home
last modified time | relevance | path

Searched refs:AsRef (Results 1 - 25 of 169) sorted by relevance

1234567

/third_party/rust/crates/which-rs/src/
H A 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()
85 pub fn which_all<T: AsRef<OsStr>>(binary_name: T) -> Result<impl Iterator<Item = path::PathBuf>> { in which_all()
96 pub fn which_all_global<T: AsRef<OsStr>>( in which_all_global()
151 T: AsRef<OsStr>, in which_in()
152 U: AsRef<OsStr>, in which_in()
153 V: AsRef<path::Path>, in which_in()
188 T: AsRef<OsStr>, in which_re_in()
204 T: AsRef<OsStr>, in which_in_all()
205 U: AsRef<OsSt in which_in_all()
[all...]
H A Dfinder.rs26 P: AsRef<Path>; in to_absolute()
36 P: AsRef<Path>, in to_absolute()
63 T: AsRef<OsStr>, in find()
64 U: AsRef<OsStr>, in find()
65 V: AsRef<Path>, in find()
96 T: AsRef<OsStr>, in find_re()
124 C: AsRef<Path>, in cwd_search_candidates()
H A Dhelper.rs4 pub fn has_executable_extension<T: AsRef<Path>, S: AsRef<str>>(path: T, pathext: &[S]) -> bool { in has_executable_extension()
/third_party/rust/crates/cxx/gen/src/
H A Dfs.rs47 pub(crate) fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> {
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> {
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool {
78 pub(crate) fn read(path: impl AsRef<Path>) -> Result<Vec<u8>> {
94 pub(crate) fn remove_file(path: impl AsRef<Path>) -> Result<()> {
102 pub(crate) fn remove_dir(path: impl AsRef<Path>) -> Result<()> {
126 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> {
144 pub(crate) fn symlink_file(original: impl AsRef<Pat
[all...]
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Dfs.rs47 pub(crate) fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> {
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> {
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool {
78 pub(crate) fn read(path: impl AsRef<Path>) -> Result<Vec<u8>> {
94 pub(crate) fn remove_file(path: impl AsRef<Path>) -> Result<()> {
102 pub(crate) fn remove_dir(path: impl AsRef<Path>) -> Result<()> {
126 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> {
144 pub(crate) fn symlink_file(original: impl AsRef<Pat
[all...]
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Dfs.rs47 pub(crate) fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> {
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> {
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool {
78 pub(crate) fn read(path: impl AsRef<Path>) -> Result<Vec<u8>> {
94 pub(crate) fn remove_file(path: impl AsRef<Path>) -> Result<()> {
102 pub(crate) fn remove_dir(path: impl AsRef<Path>) -> Result<()> {
126 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> {
144 pub(crate) fn symlink_file(original: impl AsRef<Pat
[all...]
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Dfs.rs47 pub(crate) fn copy(from: impl AsRef<Path>, to: impl AsRef<Path>) -> Result<u64> {
56 pub(crate) fn create_dir_all(path: impl AsRef<Path>) -> Result<()> {
71 pub(crate) fn exists(path: impl AsRef<Path>) -> bool {
78 pub(crate) fn read(path: impl AsRef<Path>) -> Result<Vec<u8>> {
94 pub(crate) fn remove_file(path: impl AsRef<Path>) -> Result<()> {
102 pub(crate) fn remove_dir(path: impl AsRef<Path>) -> Result<()> {
126 pub(crate) fn symlink_fail(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> {
144 pub(crate) fn symlink_file(original: impl AsRef<Pat
[all...]
/third_party/rust/crates/cxx/gen/build/src/
H A Dpaths.rs31 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()
47 original: impl AsRef<Path>,
48 link: impl AsRef<Path>,
62 original: impl AsRef<Path>,
63 copy: impl AsRef<Path>,
H A Dout.rs7 pub(crate) fn write(path: impl AsRef<Path>, content: &[u8]) -> Result<()> {
32 pub(crate) fn symlink_file(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> {
66 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> {
/third_party/rust/crates/bitflags/tests/
H A Dcompile.rs32 fn prepare_stderr_files(path: impl AsRef<Path>) -> io::Result<()> { in prepare_stderr_files()
54 fn rename_beta_stderr(from: impl AsRef<Path>, to: impl AsRef<Path>) -> io::Result<()> { in rename_beta_stderr()
61 fn rename_beta_stderr(_: impl AsRef<Path>, _: impl AsRef<Path>) -> io::Result<()> { in rename_beta_stderr()
/third_party/rust/crates/rust-openssl/openssl/src/
H A Dstring.rs3 use std::convert::AsRef;
35 impl AsRef<str> for OpensslString {
41 impl AsRef<[u8]> for OpensslString {
58 impl AsRef<str> for OpensslStringRef {
64 impl AsRef<[u8]> for OpensslStringRef {
/third_party/rust/crates/aho-corasick/src/
H A Dahocorasick.rs122 P: AsRef<[u8]>, in new()
156 B: AsRef<[u8]>, in new_auto_configured()
183 pub fn is_match<B: AsRef<[u8]>>(&self, haystack: B) -> bool { in is_match()
211 pub fn earliest_find<B: AsRef<[u8]>>(&self, haystack: B) -> Option<Match> { in earliest_find()
283 pub fn find<B: AsRef<[u8]>>(&self, haystack: B) -> Option<Match> { in find()
350 pub fn find_iter<'a, 'b, B: ?Sized + AsRef<[u8]>>( in find_iter()
393 pub fn find_overlapping_iter<'a, 'b, B: ?Sized + AsRef<[u8]>>( in find_overlapping_iter()
431 B: AsRef<str>, in replace_all()
482 B: AsRef<[u8]>, in replace_all_bytes()
759 B: AsRef<[u in stream_find_iter()
[all...]
/third_party/rust/crates/aho-corasick/src/packed/
H A Dapi.rs291 pub fn add<P: AsRef<[u8]>>(&mut self, pattern: P) -> &mut Builder { in add()
328 P: AsRef<[u8]>, in extend()
418 P: AsRef<[u8]>, in new()
449 pub fn find<B: AsRef<[u8]>>(&self, haystack: B) -> Option<Match> { in find()
482 pub fn find_at<B: AsRef<[u8]>>( in find_at()
525 pub fn find_iter<'a, 'b, B: ?Sized + AsRef<[u8]>>( in find_iter()
/third_party/rust/crates/either/src/
H A Dlib.rs27 use core::convert::{AsMut, AsRef};
1178 impl<L, R, Target> AsRef<Target> for Either<L, R>
1180 L: AsRef<Target>,
1181 R: AsRef<Target>,
1191 impl<L, R> AsRef<$t> for Either<L, R>
1192 where L: AsRef<$t>, R: AsRef<$t>
1227 impl<L, R, Target> AsRef<[Target]> for Either<L, R>
1229 L: AsRef<[Target]>,
1230 R: AsRef<[Targe
[all...]
/third_party/rust/crates/bindgen/bindgen/
H A Dlib.rs877 pub fn blocklist_type<T: AsRef<str>>(mut self, arg: T) -> Builder { in blocklist_type()
892 pub fn blocklist_function<T: AsRef<str>>(mut self, arg: T) -> Builder { in blocklist_function()
904 pub fn blocklist_item<T: AsRef<str>>(mut self, arg: T) -> Builder { in blocklist_item()
913 pub fn blocklist_file<T: AsRef<str>>(mut self, arg: T) -> Builder { in blocklist_file()
924 pub fn opaque_type<T: AsRef<str>>(mut self, arg: T) -> Builder { in opaque_type()
936 pub fn allowlist_type<T: AsRef<str>>(mut self, arg: T) -> Builder { in allowlist_type()
952 pub fn allowlist_function<T: AsRef<str>>(mut self, arg: T) -> Builder { in allowlist_function()
964 pub fn allowlist_var<T: AsRef<str>>(mut self, arg: T) -> Builder { in allowlist_var()
972 pub fn allowlist_file<T: AsRef<str>>(mut self, arg: T) -> Builder { in allowlist_file()
996 pub fn bitfield_enum<T: AsRef<st
[all...]
/third_party/rust/crates/heck/src/
H A Dshouty_kebab.rs39 pub struct AsShoutyKebabCase<T: AsRef<str>>(pub T);
41 impl<T: AsRef<str>> fmt::Display for AsShoutyKebabCase<T> {
H A Dtitle.rs39 pub struct AsTitleCase<T: AsRef<str>>(pub T);
41 impl<T: AsRef<str>> fmt::Display for AsTitleCase<T> {
H A Dkebab.rs38 pub struct AsKebabCase<T: AsRef<str>>(pub T);
40 impl<T: AsRef<str>> fmt::Display for AsKebabCase<T> {
H A Dshouty_snake.rs53 pub struct AsShoutySnakeCase<T: AsRef<str>>(pub T);
55 impl<T: AsRef<str>> fmt::Display for AsShoutySnakeCase<T> {
H A Dupper_camel.rs52 pub struct AsUpperCamelCase<T: AsRef<str>>(pub T);
54 impl<T: AsRef<str>> fmt::Display for AsUpperCamelCase<T> {
H A Dtrain.rs39 pub struct AsTrainCase<T: AsRef<str>>(pub T);
41 impl<T: AsRef<str>> fmt::Display for AsTrainCase<T> {
H A Dlower_camel.rs39 pub struct AsLowerCamelCase<T: AsRef<str>>(pub T);
41 impl<T: AsRef<str>> fmt::Display for AsLowerCamelCase<T> {
/third_party/rust/crates/clap/src/parser/features/
H A Dsuggestions.rs13 T: AsRef<str>,
31 T: AsRef<str>,
46 T: AsRef<str>,
/third_party/rust/crates/codespan/codespan-reporting/src/
H A Dfiles.rs92 type Source: 'a + AsRef<str>;
276 Source: AsRef<str>,
320 Source: 'a + AsRef<str>,
362 Source: AsRef<str>,
386 Source: 'a + AsRef<str>,
/third_party/rust/crates/codespan/codespan/src/
H A Dfile.rs46 Source: AsRef<str>,
55 Source: AsRef<str>,
227 Source: AsRef<str>,
276 Source: AsRef<str>,

Completed in 11 milliseconds

1234567