| /third_party/rust/rust/library/std/src/ffi/ |
| D | os_str.rs | 91 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/ |
| D | rustc_wrapper.rs | 17 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/ |
| D | os.rs | 48 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()
|
| D | args.rs | 52 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/ |
| D | os.rs | 57 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/ |
| D | os.rs | 121 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()
|
| D | args.rs | 44 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/ |
| D | os.rs | 41 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()
|
| D | args.rs | 18 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/ |
| D | ffi.rs | 93 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/ |
| D | os_str.rs | 30 impl OsStringExt for OsString { implementation 32 fn from_vec(vec: Vec<u8>) -> OsString { in from_vec()
|
| /third_party/rust/crates/clap/clap_complete/src/ |
| D | dynamic.rs | 292 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/ |
| D | matched_arg.rs | 94 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/ |
| D | env.rs | 17 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/ |
| D | args.rs | 41 fn next(&mut self) -> Option<OsString> { in next() 56 fn next_back(&mut self) -> Option<OsString> { in next_back()
|
| D | os.rs | 55 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/ |
| D | env.rs | 188 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/ |
| D | os.rs | 94 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/ |
| D | mod.rs | 62 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/ |
| D | build.rs | 73 fn cargo_env_var(key: &str) -> OsString { in cargo_env_var()
|
| /third_party/rust/rust/library/std/src/sys/unix/ |
| D | os.rs | 220 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/ |
| D | lib.rs | 73 pub fn library_filename<S: AsRef<OsStr>>(name: S) -> OsString { in library_filename()
|
| /third_party/rust/crates/os_str_bytes/tests/ |
| D | random_common.rs | 19 ) -> Result<OsString, getrandom::Error> { in random_os_string()
|
| /third_party/rust/crates/os_str_bytes/src/common/ |
| D | mod.rs | 37 pub(super) fn os_string_from_vec(string: Vec<u8>) -> Result<OsString> { in os_string_from_vec()
|
| /third_party/rust/crates/clap/src/builder/ |
| D | os_str.rs | 39 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()
|