Home
last modified time | relevance | path

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

12

/third_party/rust/crates/clap/src/builder/
Dos_str.rs8 pub struct OsStr { struct
12 impl OsStr { argument
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.rs292 pub(crate) fn default_value(&self) -> Option<&'static std::ffi::OsStr> { in default_value()
304 pub(crate) fn default_missing_value(&self) -> Option<&'static std::ffi::OsStr> { in default_missing_value()
Dvalue_parser.rs229 value: &std::ffi::OsStr, in parse_ref()
576 value: &std::ffi::OsStr, in parse_ref()
605 value: &std::ffi::OsStr, in parse_ref()
696 value: &std::ffi::OsStr, in parse_ref()
828 value: &std::ffi::OsStr, in parse_ref()
867 value: &std::ffi::OsStr, in parse_ref()
915 value: &std::ffi::OsStr, in parse_ref()
957 value: &std::ffi::OsStr, in parse_ref()
1043 value: &std::ffi::OsStr, in parse_ref()
1155 value: &std::ffi::OsStr, in parse_ref()
[all …]
Dresettable.rs124 fn into_resettable(self) -> Resettable<OsStr> { in into_resettable()
196 fn into_resettable(self) -> Resettable<OsStr> { in into_resettable()
Darg.rs2753 default: impl IntoResettable<OsStr>, in default_value_if()
2773 default: impl IntoResettable<OsStr>, in default_value_if_os()
2866 impl IntoResettable<OsStr>, in default_value_ifs()
2888 impl IntoResettable<OsStr>, in default_value_ifs_os()
3273 ifs: impl IntoIterator<Item = (impl Into<Id>, impl Into<OsStr>)>, in required_if_eq_any()
3354 ifs: impl IntoIterator<Item = (impl Into<Id>, impl Into<OsStr>)>, in required_if_eq_all()
3901 pub fn get_env(&self) -> Option<&std::ffi::OsStr> { in get_env()
3914 pub fn get_default_values(&self) -> &[OsStr] { in get_default_values()
Dstr.rs136 fn as_ref(&self) -> &std::ffi::OsStr { in as_ref()
187 impl PartialEq<Str> for std::ffi::OsStr { implementation
200 impl PartialEq<Str> for &'_ std::ffi::OsStr { implementation
/third_party/rust/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()
/third_party/rust/crates/which-rs/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 …]
Dfinder.rs64 U: AsRef<OsStr>, in find()
/third_party/rust/crates/os_str_bytes/src/common/
Dmod.rs29 pub(super) fn os_str_from_bytes(string: &[u8]) -> Result<Cow<'_, OsStr>> { in os_str_from_bytes() argument
/third_party/rust/crates/os_str_bytes/src/
Dlib.rs313 ) -> result::Result<Cow<'a, OsStr>, imp::EncodingError> in from_raw_bytes() argument
426 impl OsStrBytes for OsStr { implementation
613 impl Sealed for OsStr {} implementation
Draw_str.rs720 pub fn to_os_str(&self) -> Cow<'_, OsStr> { in to_os_str() argument
937 fn into_os_str(self) -> Cow<'a, OsStr>; in into_os_str() argument
963 fn into_os_str(self) -> Cow<'a, OsStr> { in into_os_str() argument
/third_party/rust/crates/os_str_bytes/src/wasm/
Dmod.rs42 pub(super) fn os_str_from_bytes(string: &[u8]) -> Result<Cow<'_, OsStr>> { in os_str_from_bytes() argument
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Ddynamic_loading_template.rs20 P: AsRef<::std::ffi::OsStr>, in new()
Ddynamic_loading_attributes.rs20 P: AsRef<::std::ffi::OsStr>, in new()
Ddynamic_loading_with_allowlist.rs34 P: AsRef<::std::ffi::OsStr>, in new()
Ddynamic_loading_simple.rs32 P: AsRef<::std::ffi::OsStr>, in new()
Dwrap_unsafe_ops_dynamic_loading_simple.rs32 P: AsRef<::std::ffi::OsStr>, in new()
Ddynamic_loading_required.rs23 P: AsRef<::std::ffi::OsStr>, in new()
Ddynamic_loading_with_class.rs76 P: AsRef<::std::ffi::OsStr>, in new()
Ddynamic_loading_with_blocklist.rs81 P: AsRef<::std::ffi::OsStr>, in new()
/third_party/rust/crates/os_str_bytes/src/windows/
Dmod.rs87 pub(super) fn os_str_from_bytes(string: &[u8]) -> Result<Cow<'_, OsStr>> { in os_str_from_bytes() argument
/third_party/rust/crates/clap/src/parser/features/
Dsuggestions.rs40 remaining_args: &[&std::ffi::OsStr], in did_you_mean_flag()
/third_party/rust/crates/clap/clap_lex/src/
Dlib.rs185 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> { in next_os()
197 pub fn peek_os(&self, cursor: &ArgCursor) -> Option<&OsStr> { in peek_os()
/third_party/rust/crates/codespan/codespan/src/
Dfile.rs102 pub fn name(&self, file_id: FileId) -> &OsStr { in name()
298 fn name(&self) -> &OsStr { in name()

12