Home
last modified time | relevance | path

Searched defs:OsString (Results 1 – 19 of 19) sorted by relevance

/external/rust/crates/bstr/src/
Dext_vec.rs176 fn from_os_string(os_str: OsString) -> Result<Vec<u8>, OsString> { in from_os_string() argument
179 fn imp(os_str: OsString) -> Result<Vec<u8>, OsString> { in from_os_string() argument
187 fn imp(os_str: OsString) -> Result<Vec<u8>, OsString> { in from_os_string() argument
491 fn into_os_string(self) -> Result<OsString, Vec<u8>> in into_os_string()
497 fn imp(v: Vec<u8>) -> Result<OsString, Vec<u8>> { in into_os_string()
505 fn imp(v: Vec<u8>) -> Result<OsString, Vec<u8>> { in into_os_string()
543 fn imp(v: Vec<u8>) -> OsString { in into_os_string_lossy()
551 fn imp(v: Vec<u8>) -> OsString { in into_os_string_lossy()
/external/rust/crates/clap/src/args/
Dany_arg.rs27 fn validator_os(&self) -> Option<&Rc<Fn(&OsStr) -> Result<(), OsString>>>; in validator_os() argument
37 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)>; in env()
92 fn validator_os(&self) -> Option<&Rc<Fn(&OsStr) -> Result<(), OsString>>> { in validator_os() argument
122 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
/external/rust/crates/nix/src/
Dfcntl.rs209 fn wrap_readlink_result(mut v: Vec<u8>, len: ssize_t) -> Result<OsString> { in wrap_readlink_result()
240 fn inner_readlink<P: ?Sized + NixPath>(dirfd: Option<RawFd>, path: &P) -> Result<OsString> { in inner_readlink()
282 pub fn readlink<P: ?Sized + NixPath>(path: &P) -> Result<OsString> { in readlink()
287 pub fn readlinkat<P: ?Sized + NixPath>(dirfd: RawFd, path: &P) -> Result<OsString> { in readlinkat()
/external/rust/crates/tokio/src/fs/
Dread_dir.rs198 pub fn file_name(&self) -> OsString { in file_name()
/external/rust/crates/clap/src/args/arg_builder/
Dflag.rs106 fn validator_os(&self) -> Option<&Rc<Fn(&OsStr) -> StdResult<(), OsString>>> { in validator_os() argument
136 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
Doption.rs159 fn validator_os(&self) -> Option<&Rc<Fn(&OsStr) -> StdResult<(), OsString>>> { in validator_os() argument
189 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
Dpositional.rs180 fn validator_os(&self) -> Option<&Rc<Fn(&OsStr) -> StdResult<(), OsString>>> { in validator_os() argument
210 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
/external/rust/cxx/gen/cmd/src/
Dapp.rs104 fn validate_utf8(arg: &OsStr) -> Result<(), OsString> { in validate_utf8() argument
/external/rust/crates/clap/src/app/
Dmod.rs1393 pub fn gen_completions<T: Into<OsString>, S: Into<String>>( in gen_completions()
1847 fn validator_os(&self) -> Option<&Rc<Fn(&OsStr) -> StdResult<(), OsString>>> { in validator_os() argument
1877 fn env<'s>(&'s self) -> Option<(&'n OsStr, Option<&'s OsString>)> { in env()
Dparser.rs124 pub fn gen_completions(&mut self, for_shell: Shell, od: OsString) { in gen_completions()
748 T: Into<OsString>, in parse_help_subcommand()
/external/rust/crates/libloading/src/
Dlib.rs361 pub fn library_filename<S: AsRef<OsStr>>(name: S) -> OsString { in library_filename()
/external/rust/crates/structopt/tests/
Dcustom-string-parsers.rs91 fn custom_parser_4(_: &OsStr) -> Result<&'static str, OsString> { in custom_parser_4() argument
/external/rust/crates/clap/src/
Dosstringext.rs58 fn from_ascii(ascii: &[u8]) -> OsString { in test_windows_osstr_starts_with()
/external/rust/cxx/gen/build/src/
Dlib.rs466 fn env_os(key: impl AsRef<OsStr>) -> Result<OsString> { in env_os()
/external/rust/crates/nix/src/sys/socket/
Dsockopt.rs614 unsafe fn assume_init(self) -> OsString { in assume_init()
/external/vm_tools/p9/src/server/
Dtests.rs371 fn setup<P: AsRef<Path>>(name: P) -> (ScopedPath<OsString>, Server) { in setup()
/external/rust/crates/serde/src/ser/
Dimpls.rs869 impl Serialize for OsString { implementation
/external/rust/crates/arbitrary/src/
Dlib.rs846 impl<'a> Arbitrary<'a> for OsString { implementation
/external/rust/crates/serde/src/de/
Dimpls.rs1668 impl<'de> Deserialize<'de> for OsString { implementation