/external/rust/crates/clap/src/ |
D | osstringext.rs | 16 fn split_at_byte(&self, b: u8) -> (&OsStr, &OsStr); in split_at_byte() 17 fn split_at(&self, i: usize) -> (&OsStr, &OsStr); in split_at() 18 fn trim_left_matches(&self, b: u8) -> &OsStr; in trim_left_matches() 31 fn windows_osstr_starts_with(osstr: &OsStr, prefix: &[u8]) -> bool { in windows_osstr_starts_with() 91 impl OsStrExt3 for OsStr { implementation 101 impl OsStrExt2 for OsStr { implementation 129 fn split_at_byte(&self, byte: u8) -> (&OsStr, &OsStr) { in split_at_byte() 144 fn trim_left_matches(&self, byte: u8) -> &OsStr { in trim_left_matches() 159 fn split_at(&self, i: usize) -> (&OsStr, &OsStr) { in split_at() 186 fn next(&mut self) -> Option<&'a OsStr> { in next()
|
/external/rust/crates/which/src/ |
D | lib.rs | 66 pub fn which_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<path::PathBuf> in which_in() 69 U: AsRef<OsStr>, in which_in() 84 U: AsRef<OsStr>, in which_in_all() 130 pub fn new_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<Path> in new_in() 133 U: AsRef<OsStr>, in new_in() 150 U: AsRef<OsStr>, in all_in() 188 fn as_ref(&self) -> &OsStr { in as_ref() 255 pub fn new_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<CanonicalPath> in new_in() 258 U: AsRef<OsStr>, in new_in() 277 U: AsRef<OsStr>, in all_in() [all …]
|
D | finder.rs | 60 U: AsRef<OsStr>, in find()
|
/external/rust/crates/clap/src/args/ |
D | any_arg.rs | 35 fn default_val(&self) -> Option<&'e OsStr>; in default_val() 36 fn default_vals_ifs(&self) -> Option<map::Values<(&'n str, Option<&'e OsStr>, &'e OsStr)>>; in default_vals_ifs() 37 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)>; in env() 116 fn default_val(&self) -> Option<&'e OsStr> { in default_val() 119 fn default_vals_ifs(&self) -> Option<map::Values<(&'n str, Option<&'e OsStr>, &'e OsStr)>> { in default_vals_ifs() 122 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
|
D | arg_matches.rs | 183 pub fn value_of_os<S: AsRef<str>>(&self, name: S) -> Option<&OsStr> { in value_of_os() 295 fn to_str_slice(o: &OsString) -> &OsStr { in values_of_os() 866 fn next(&mut self) -> Option<&'a OsStr> { in next() 875 fn next_back(&mut self) -> Option<&'a OsStr> { in next_back() 887 fn to_str_slice(_: &OsString) -> &OsStr { in default()
|
D | arg.rs | 3368 val: Option<&'b OsStr>, in default_value_if_os() 3369 default: &'b OsStr, in default_value_if_os() 3483 pub fn default_value_ifs_os(mut self, ifs: &[(&'a str, Option<&'b OsStr>, &'b OsStr)]) -> Self { in default_value_ifs_os()
|
D | arg_matcher.rs | 221 pub fn add_val_to(&mut self, arg: &'a str, val: &OsStr) { in add_val_to()
|
/external/rust/crates/clap/src/args/arg_builder/ |
D | flag.rs | 130 fn default_val(&self) -> Option<&'e OsStr> { in default_val() 133 fn default_vals_ifs(&self) -> Option<map::Values<(&'n str, Option<&'e OsStr>, &'e OsStr)>> { in default_vals_ifs() 136 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
|
D | option.rs | 183 fn default_val(&self) -> Option<&'e OsStr> { in default_val() 186 fn default_vals_ifs(&self) -> Option<map::Values<(&'n str, Option<&'e OsStr>, &'e OsStr)>> { in default_vals_ifs() 189 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
|
D | positional.rs | 204 fn default_vals_ifs(&self) -> Option<map::Values<(&'n str, Option<&'e OsStr>, &'e OsStr)>> { in default_vals_ifs() 207 fn default_val(&self) -> Option<&'e OsStr> { in default_val() 210 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
|
/external/rust/crates/tokio/src/process/ |
D | mod.rs | 321 S: AsRef<OsStr>, in args() 342 pub fn env<K, V>(&mut self, key: K, val: V) -> &mut Command in env() 345 V: AsRef<OsStr>, in env() 377 K: AsRef<OsStr>, in envs() 378 V: AsRef<OsStr>, in envs()
|
/external/rust/crates/clap/src/app/ |
D | parser.rs | 820 fn is_new_arg(&mut self, arg_os: &OsStr, needs_val_of: ParseResult) -> bool { in is_new_arg() 1617 full_arg: &OsStr, in parse_long_arg() 1693 full_arg: &OsStr, in parse_short_arg() 1786 val: Option<&OsStr>, in parse_opt() 1850 val: &OsStr, in add_val_to_arg() 1890 v: &OsStr, in add_single_val_to_arg()
|
D | mod.rs | 1871 fn default_val(&self) -> Option<&'e OsStr> { in default_val() 1874 fn default_vals_ifs(&self) -> Option<map::Values<(&'n str, Option<&'e OsStr>, &'e OsStr)>> { in default_vals_ifs() 1877 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
|
/external/rust/crates/bstr/src/ |
D | ext_slice.rs | 451 fn to_os_str(&self) -> Result<&OsStr, Utf8Error> { in to_os_str() 454 fn imp(bytes: &[u8]) -> Result<&OsStr, Utf8Error> { in to_os_str() 462 fn imp(bytes: &[u8]) -> Result<&OsStr, Utf8Error> { in to_os_str() 491 fn to_os_str_lossy(&self) -> Cow<OsStr> { in to_os_str_lossy() 494 fn imp(bytes: &[u8]) -> Cow<OsStr> { in to_os_str_lossy() 502 fn imp(bytes: &[u8]) -> Cow<OsStr> { in to_os_str_lossy()
|
/external/rust/crates/walkdir/src/ |
D | dent.rs | 166 pub fn file_name(&self) -> &OsStr { in file_name()
|
/external/rust/crates/nix/src/ |
D | lib.rs | 190 impl NixPath for OsStr { implementation
|
/external/rust/crates/libloading/src/os/unix/ |
D | mod.rs | 168 where P: AsRef<OsStr> { in open()
|
/external/rust/crates/serde/src/ser/ |
D | impls.rs | 847 impl Serialize for OsStr { implementation
|