Home
last modified time | relevance | path

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

1234

/external/rust/android-crates-io/crates/clap_builder/src/builder/
Dos_str.rs8 pub struct OsStr { struct
12 impl OsStr { impl
34 pub fn as_os_str(&self) -> &std::ffi::OsStr { in as_os_str()
44 impl From<&'_ OsStr> for OsStr { implementation
51 impl From<Str> for OsStr { implementation
61 impl From<Str> for OsStr { implementation
68 impl From<&'_ Str> for OsStr { implementation
77 impl From<&'_ Str> for OsStr { implementation
84 impl From<std::ffi::OsString> for OsStr { implementation
91 impl From<&'_ std::ffi::OsString> for OsStr { implementation
[all …]
Daction.rs360 pub(crate) fn default_value(&self) -> Option<&'static std::ffi::OsStr> { in default_value()
374 pub(crate) fn default_missing_value(&self) -> Option<&'static std::ffi::OsStr> { in default_missing_value()
Dvalue_parser.rs239 value: &std::ffi::OsStr, in parse_ref()
596 value: &std::ffi::OsStr, in parse_ref()
603 value: &std::ffi::OsStr, in parse_ref_()
645 value: &std::ffi::OsStr, in parse_ref()
655 value: &std::ffi::OsStr, in parse_ref_()
760 value: &std::ffi::OsStr, in parse_ref()
770 value: &std::ffi::OsStr, in parse_ref_()
920 value: &std::ffi::OsStr, in parse_ref()
959 value: &std::ffi::OsStr, in parse_ref()
1007 value: &std::ffi::OsStr, in parse_ref()
[all …]
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/builder/
Dos_str.rs12 pub struct OsStr { struct
16 impl OsStr { implementation
38 pub fn as_os_str(&self) -> &std::ffi::OsStr { in as_os_str()
48 impl From<&'_ OsStr> for OsStr { implementation
55 impl From<Str> for OsStr { implementation
65 impl From<Str> for OsStr { implementation
71 impl From<&'_ Str> for OsStr { implementation
78 impl From<std::ffi::OsString> for OsStr { implementation
85 impl From<&'_ std::ffi::OsString> for OsStr { implementation
92 impl From<String> for OsStr { implementation
[all …]
Daction.rs372 pub(crate) fn default_value(&self) -> Option<&'static std::ffi::OsStr> { in default_value()
386 pub(crate) fn default_missing_value(&self) -> Option<&'static std::ffi::OsStr> { in default_missing_value()
Dvalue_parser.rs239 value: &std::ffi::OsStr, in parse_ref()
596 value: &std::ffi::OsStr, in parse_ref()
603 value: &std::ffi::OsStr, in parse_ref_()
628 value: &std::ffi::OsStr, in parse_ref()
638 value: &std::ffi::OsStr, in parse_ref_()
722 value: &std::ffi::OsStr, in parse_ref()
732 value: &std::ffi::OsStr, in parse_ref_()
882 value: &std::ffi::OsStr, in parse_ref()
921 value: &std::ffi::OsStr, in parse_ref()
969 value: &std::ffi::OsStr, in parse_ref()
[all …]
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.21/src/builder/
Dos_str.rs12 pub struct OsStr { struct
16 impl OsStr { implementation
38 pub fn as_os_str(&self) -> &std::ffi::OsStr { in as_os_str()
48 impl From<&'_ OsStr> for OsStr { implementation
55 impl From<Str> for OsStr { implementation
65 impl From<Str> for OsStr { implementation
71 impl From<&'_ Str> for OsStr { implementation
78 impl From<std::ffi::OsString> for OsStr { implementation
85 impl From<&'_ std::ffi::OsString> for OsStr { implementation
92 impl From<String> for OsStr { implementation
[all …]
Daction.rs372 pub(crate) fn default_value(&self) -> Option<&'static std::ffi::OsStr> { in default_value()
386 pub(crate) fn default_missing_value(&self) -> Option<&'static std::ffi::OsStr> { in default_missing_value()
Dvalue_parser.rs239 value: &std::ffi::OsStr, in parse_ref()
596 value: &std::ffi::OsStr, in parse_ref()
603 value: &std::ffi::OsStr, in parse_ref_()
628 value: &std::ffi::OsStr, in parse_ref()
638 value: &std::ffi::OsStr, in parse_ref_()
722 value: &std::ffi::OsStr, in parse_ref()
732 value: &std::ffi::OsStr, in parse_ref_()
882 value: &std::ffi::OsStr, in parse_ref()
921 value: &std::ffi::OsStr, in parse_ref()
969 value: &std::ffi::OsStr, in parse_ref()
[all …]
/external/rust/android-crates-io/crates/nix/src/sys/
Dutsname.rs15 pub fn sysname(&self) -> &OsStr { in sysname()
20 pub fn nodename(&self) -> &OsStr { in nodename()
25 pub fn release(&self) -> &OsStr { in release()
30 pub fn version(&self) -> &OsStr { in version()
35 pub fn machine(&self) -> &OsStr { in machine()
41 pub fn domainname(&self) -> &OsStr { in domainname()
55 fn cast_and_trim(slice: &[c_char]) -> &OsStr { in cast_and_trim()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/clap_lex-0.7.3/src/
Dext.rs66 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr>; in strip_prefix()
182 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)>; in split_once()
185 impl OsStrExt for OsStr { implementation
201 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr> { in strip_prefix()
223 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)> { in split_once()
244 impl Sealed for std::ffi::OsStr {} implementation
275 pub(crate) unsafe fn split_at(os: &OsStr, index: usize) -> (&OsStr, &OsStr) { in split_at()
Dlib.rs198 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> { in next_os()
210 pub fn peek_os(&self, cursor: &ArgCursor) -> Option<&OsStr> { in peek_os()
324 pub fn to_long(&self) -> Option<(Result<&str, &OsStr>, Option<&OsStr>)> { in to_long()
374 pub fn to_value_os(&self) -> &OsStr { in to_value_os()
385 pub fn to_value(&self) -> Result<&str, &OsStr> { in to_value()
439 pub fn next_flag(&mut self) -> Option<Result<char, &'s OsStr>> { in next_flag()
453 pub fn next_value_os(&mut self) -> Option<&'s OsStr> { in next_value_os()
479 fn split_nonutf8_once(b: &OsStr) -> (&str, Option<&OsStr>) { in split_nonutf8_once()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/clap_lex-0.7.3/src/
Dext.rs66 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr>; in strip_prefix()
182 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)>; in split_once()
185 impl OsStrExt for OsStr { implementation
201 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr> { in strip_prefix()
223 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)> { in split_once()
244 impl Sealed for std::ffi::OsStr {} implementation
275 pub(crate) unsafe fn split_at(os: &OsStr, index: usize) -> (&OsStr, &OsStr) { in split_at()
Dlib.rs198 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> { in next_os()
210 pub fn peek_os(&self, cursor: &ArgCursor) -> Option<&OsStr> { in peek_os()
324 pub fn to_long(&self) -> Option<(Result<&str, &OsStr>, Option<&OsStr>)> { in to_long()
374 pub fn to_value_os(&self) -> &OsStr { in to_value_os()
385 pub fn to_value(&self) -> Result<&str, &OsStr> { in to_value()
439 pub fn next_flag(&mut self) -> Option<Result<char, &'s OsStr>> { in next_flag()
453 pub fn next_value_os(&mut self) -> Option<&'s OsStr> { in next_value_os()
479 fn split_nonutf8_once(b: &OsStr) -> (&str, Option<&OsStr>) { in split_nonutf8_once()
/external/rust/android-crates-io/crates/clap_lex/src/
Dext.rs66 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr>; in strip_prefix()
182 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)>; in split_once()
185 impl OsStrExt for OsStr { implementation
201 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr> { in strip_prefix()
223 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)> { in split_once()
244 impl Sealed for std::ffi::OsStr {} implementation
275 pub(crate) unsafe fn split_at(os: &OsStr, index: usize) -> (&OsStr, &OsStr) { in split_at()
Dlib.rs198 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> { in next_os()
210 pub fn peek_os(&self, cursor: &ArgCursor) -> Option<&OsStr> { in peek_os()
324 pub fn to_long(&self) -> Option<(Result<&str, &OsStr>, Option<&OsStr>)> { in to_long()
374 pub fn to_value_os(&self) -> &OsStr { in to_value_os()
385 pub fn to_value(&self) -> Result<&str, &OsStr> { in to_value()
439 pub fn next_flag(&mut self) -> Option<Result<char, &'s OsStr>> { in next_flag()
453 pub fn next_value_os(&mut self) -> Option<&'s OsStr> { in next_value_os()
479 fn split_nonutf8_once(b: &OsStr) -> (&str, Option<&OsStr>) { in split_nonutf8_once()
/external/rust/android-crates-io/crates/tempfile/src/
Dutil.rs7 fn tmpname(prefix: &OsStr, suffix: &OsStr, rand_len: usize) -> OsString { in tmpname()
24 prefix: &OsStr, in create_helper()
25 suffix: &OsStr, in create_helper()
/external/rust/android-crates-io/crates/which/src/
Dlib.rs149 pub fn which_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<path::PathBuf> in which_in()
152 U: AsRef<OsStr>, in which_in()
205 U: AsRef<OsStr>, in which_in_all()
222 U: AsRef<OsStr>, in which_in_global()
426 pub fn new_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<Path> in new_in()
429 U: AsRef<OsStr>, in new_in()
446 U: AsRef<OsStr>, in all_in()
484 fn as_ref(&self) -> &OsStr { in as_ref()
549 pub fn new_in<T, U, V>(binary_name: T, paths: Option<U>, cwd: V) -> Result<CanonicalPath> in new_in()
552 U: AsRef<OsStr>, in new_in()
[all …]
/external/rust/beto-rust/common/cmd_runner/src/
Dlib.rs24 cmd: impl AsRef<ffi::OsStr>, in run_cmd_shell()
37 cmd: impl AsRef<ffi::OsStr>, in run_cmd_shell_with_color()
62 S: AsRef<ffi::OsStr>, in run_cmd()
/external/rust/android-crates-io/extra_versions/crates/clap/src/builder/
Dvalue_parser.rs231 value: &std::ffi::OsStr, in parse_ref()
544 value: &std::ffi::OsStr, in parse_ref()
573 value: &std::ffi::OsStr, in parse_ref()
616 value: &std::ffi::OsStr, in parse_ref()
697 value: &std::ffi::OsStr, in parse_ref()
736 value: &std::ffi::OsStr, in parse_ref()
784 value: &std::ffi::OsStr, in parse_ref()
826 value: &std::ffi::OsStr, in parse_ref()
932 value: &std::ffi::OsStr, in parse_ref()
1042 value: &std::ffi::OsStr, in parse_ref()
[all …]
Daction.rs293 pub(crate) fn default_value(&self) -> Option<&'static std::ffi::OsStr> { in default_value()
/external/rust/android-crates-io/crates/os_str_bytes/src/common/
Dmod.rs31 pub(super) fn os_str_from_bytes(string: &[u8]) -> Result<Cow<'_, OsStr>> { in os_str_from_bytes() argument
/external/rust/android-crates-io/crates/drm/src/
Dlib.rs260 pub fn name(&self) -> &OsStr { in name()
265 pub fn date(&self) -> &OsStr { in date()
270 pub fn description(&self) -> &OsStr { in description()
/external/rust/android-crates-io/crates/tokio/src/process/
Dmod.rs400 S: AsRef<OsStr>, in args()
435 pub fn env<K, V>(&mut self, key: K, val: V) -> &mut Command in env()
438 V: AsRef<OsStr>, in env()
473 K: AsRef<OsStr>, in envs()
474 V: AsRef<OsStr>, in envs()
701 pub fn arg0<S>(&mut self, arg: S) -> &mut Command in arg0()
/external/rust/android-crates-io/crates/clap_complete/src/dynamic/
Dcompleter.rs165 value: Result<&str, &OsStr>, in complete_arg_value()
223 value_os: &OsStr, in complete_path()

1234