Home
last modified time | relevance | path

Searched defs:OsStr (Results 1 – 18 of 18) sorted by relevance

/external/rust/crates/clap/src/
Dosstringext.rs16 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/
Dlib.rs66 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 …]
Dfinder.rs60 U: AsRef<OsStr>, in find()
/external/rust/crates/clap/src/args/
Dany_arg.rs35 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()
Darg_matches.rs183 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()
Darg.rs3368 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()
Darg_matcher.rs221 pub fn add_val_to(&mut self, arg: &'a str, val: &OsStr) { in add_val_to()
/external/rust/crates/clap/src/args/arg_builder/
Dflag.rs130 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()
Doption.rs183 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()
Dpositional.rs204 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/
Dmod.rs321 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/
Dparser.rs820 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()
Dmod.rs1871 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/
Dext_slice.rs451 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/
Ddent.rs166 pub fn file_name(&self) -> &OsStr { in file_name()
/external/rust/crates/nix/src/
Dlib.rs190 impl NixPath for OsStr { implementation
/external/rust/crates/libloading/src/os/unix/
Dmod.rs168 where P: AsRef<OsStr> { in open()
/external/rust/crates/serde/src/ser/
Dimpls.rs847 impl Serialize for OsStr { implementation