Home
last modified time | relevance | path

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

123

/third_party/rust/rust/library/std/src/ffi/
Dos_str.rs91 pub struct OsString { struct
97 impl crate::sealed::Sealed for OsString {} argument
127 impl OsString { impl
177 pub fn into_string(self) -> Result<String, OsString> { in into_string() argument
223 pub fn with_capacity(capacity: usize) -> OsString { in with_capacity()
471 impl From<String> for OsString { implementation
476 fn from(s: String) -> OsString { in from()
482 impl<T: ?Sized + AsRef<OsStr>> From<&T> for OsString { implementation
485 fn from(s: &T) -> OsString { in from()
491 impl ops::Index<ops::RangeFull> for OsString { implementation
[all …]
/third_party/rust/rust/src/tools/rust-analyzer/crates/rust-analyzer/src/bin/
Drustc_wrapper.rs17 rustc_executable: OsString, in run_rustc_skipping_cargo_checking()
18 args: Vec<OsString>, in run_rustc_skipping_cargo_checking()
43 fn run_rustc(rustc_executable: OsString, args: Vec<OsString>) -> io::Result<ExitCode> { in run_rustc()
/third_party/rust/rust/library/std/src/sys/hermit/
Dos.rs48 pub fn join_paths<I, T>(_paths: I) -> Result<OsString, JoinPathsError> in join_paths()
93 fn parse(input: &[u8]) -> Option<(OsString, OsString)> { in init_environment() argument
120 fn next(&mut self) -> Option<(OsString, OsString)> { in next() argument
143 pub fn getenv(k: &OsStr) -> Option<OsString> { in getenv()
Dargs.rs52 fn next(&mut self) -> Option<OsString> { in next()
67 fn next_back(&mut self) -> Option<OsString> { in next_back()
/third_party/rust/rust/library/std/src/sys/solid/
Dos.rs57 pub fn join_paths<I, T>(_paths: I) -> Result<OsString, JoinPathsError> in join_paths()
93 fn next(&mut self) -> Option<(OsString, OsString)> { in next() argument
122 fn parse(input: &[u8]) -> Option<(OsString, OsString)> { in env() argument
140 pub fn getenv(k: &OsStr) -> Option<OsString> { in getenv()
/third_party/rust/rust/library/std/src/sys/wasi/
Dos.rs121 pub fn join_paths<I, T>(_paths: I) -> Result<OsString, JoinPathsError> in join_paths()
154 fn next(&mut self) -> Option<(OsString, OsString)> { in next() argument
184 fn parse(input: &[u8]) -> Option<(OsString, OsString)> { in env() argument
198 pub fn getenv(k: &OsStr) -> Option<OsString> { in getenv()
Dargs.rs44 fn next(&mut self) -> Option<OsString> { in next()
59 fn next_back(&mut self) -> Option<OsString> { in next_back()
/third_party/rust/rust/library/std/src/sys/unsupported/
Dos.rs41 pub fn join_paths<I, T>(_paths: I) -> Result<OsString, JoinPathsError> in join_paths()
70 fn next(&mut self) -> Option<(OsString, OsString)> { in next() argument
79 pub fn getenv(_: &OsStr) -> Option<OsString> { in getenv()
Dargs.rs18 fn next(&mut self) -> Option<OsString> { in next()
33 fn next_back(&mut self) -> Option<OsString> { in next_back()
/third_party/rust/rust/library/std/src/os/windows/
Dffi.rs93 impl OsStringExt for OsString { implementation
94 fn from_wide(wide: &[u16]) -> OsString { in from_wide()
/third_party/rust/rust/library/std/src/os/unix/ffi/
Dos_str.rs30 impl OsStringExt for OsString { implementation
32 fn from_vec(vec: Vec<u8>) -> OsString { in from_vec()
/third_party/rust/crates/clap/clap_complete/src/
Ddynamic.rs292 args: Vec<std::ffi::OsString>, in complete()
297 ) -> Result<Vec<std::ffi::OsString>, std::io::Error> { in complete()
360 ) -> Result<Vec<std::ffi::OsString>, std::io::Error> { in complete_arg()
434 ) -> Vec<OsString> { in complete_arg_value()
491 ) -> Vec<OsString> { in complete_path()
535 fn complete_subcommand(value: &str, cmd: &clap::Command) -> Vec<OsString> { in complete_subcommand()
/third_party/rust/crates/clap/src/parser/matches/
Dmatched_arg.rs94 pub(crate) fn raw_vals(&self) -> Iter<Vec<OsString>> { in raw_vals()
98 pub(crate) fn raw_vals_flatten(&self) -> Flatten<Iter<Vec<OsString>>> { in raw_vals_flatten()
107 pub(crate) fn first_raw(&self) -> Option<&OsString> { in first_raw()
116 pub(crate) fn append_val(&mut self, val: AnyValue, raw_val: OsString) { in append_val()
/third_party/rust/rust/library/std/tests/
Denv.rs17 fn eq(a: Option<OsString>, b: Option<&str>) { in eq()
88 fn var_to_os_string(var: Result<String, VarError>) -> Option<OsString> { in env_home_dir()
/third_party/rust/rust/library/std/src/sys/sgx/
Dargs.rs41 fn next(&mut self) -> Option<OsString> { in next()
56 fn next_back(&mut self) -> Option<OsString> { in next_back()
Dos.rs55 pub fn join_paths<I, T>(_paths: I) -> Result<OsString, JoinPathsError> in join_paths()
109 pub fn getenv(k: &OsStr) -> Option<OsString> { in getenv()
/third_party/rust/rust/library/std/src/
Denv.rs188 fn next(&mut self) -> Option<(OsString, OsString)> { in next() argument
261 pub fn var_os<K: AsRef<OsStr>>(key: K) -> Option<OsString> { in var_os()
265 fn _var_os(key: &OsStr) -> Option<OsString> { in _var_os()
522 pub fn join_paths<I, T>(paths: I) -> Result<OsString, JoinPathsError> in join_paths()
845 fn next(&mut self) -> Option<OsString> { in next()
865 fn next_back(&mut self) -> Option<OsString> { in next_back()
/third_party/rust/rust/library/std/src/sys/windows/
Dos.rs94 fn next(&mut self) -> Option<(OsString, OsString)> { in next() argument
196 pub fn join_paths<I, T>(paths: I) -> Result<OsString, JoinPathsError> in join_paths()
256 pub fn getenv(k: &OsStr) -> Option<OsString> { in getenv()
/third_party/rust/crates/os_str_bytes/src/windows/
Dmod.rs62 fn from_bytes(string: &[u8]) -> Result<Option<OsString>> { in from_bytes()
102 pub(super) fn os_string_from_vec(string: Vec<u8>) -> Result<OsString> { in os_string_from_vec()
/third_party/rust/crates/syn/
Dbuild.rs73 fn cargo_env_var(key: &str) -> OsString { in cargo_env_var()
/third_party/rust/rust/library/std/src/sys/unix/
Dos.rs220 pub fn join_paths<I, T>(paths: I) -> Result<OsString, JoinPathsError> in join_paths()
503 fn next(&mut self) -> Option<(OsString, OsString)> { in next() argument
548 fn parse(input: &[u8]) -> Option<(OsString, OsString)> { in env() argument
566 pub fn getenv(k: &OsStr) -> Option<OsString> { in getenv()
/third_party/rust/crates/libloading/src/
Dlib.rs73 pub fn library_filename<S: AsRef<OsStr>>(name: S) -> OsString { in library_filename()
/third_party/rust/crates/os_str_bytes/tests/
Drandom_common.rs19 ) -> Result<OsString, getrandom::Error> { in random_os_string()
/third_party/rust/crates/os_str_bytes/src/common/
Dmod.rs37 pub(super) fn os_string_from_vec(string: Vec<u8>) -> Result<OsString> { in os_string_from_vec()
/third_party/rust/crates/clap/src/builder/
Dos_str.rs39 pub fn to_os_string(&self) -> std::ffi::OsString { in to_os_string()
135 impl From<OsStr> for std::ffi::OsString { implementation
242 impl PartialEq<OsStr> for std::ffi::OsString { implementation
277 pub(crate) fn into_os_string(self) -> std::ffi::OsString { in into_os_string()
297 pub(crate) fn into_os_string(self) -> std::ffi::OsString { in into_os_string()

123