Home
last modified time | relevance | path

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

123456789

/aosp_15_r20/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 …]
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 …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/clap_builder-4.5.2/src/builder/
H A Dos_str.rs8 pub struct OsStr { struct
12 impl OsStr { implementation
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
67 impl From<&'_ Str> for OsStr { implementation
74 impl From<std::ffi::OsString> for OsStr { implementation
81 impl From<&'_ std::ffi::OsString> for OsStr { implementation
88 impl From<std::string::String> for OsStr { implementation
[all …]
H A 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 …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/ffi/
H A Dos_str.rs122 pub struct OsStr { struct
128 impl crate::sealed::Sealed for OsStr {} implementation
204 pub fn as_os_str(&self) -> &OsStr { in as_os_str()
531 pub fn into_boxed_os_str(self) -> Box<OsStr> { in into_boxed_os_str()
551 pub fn leak<'a>(self) -> &'a mut OsStr { in leak()
597 fn index(&self, _index: ops::RangeFull) -> &OsStr { in index()
605 fn index_mut(&mut self, _index: ops::RangeFull) -> &mut OsStr { in index_mut()
615 fn deref(&self) -> &OsStr { in deref()
623 fn deref_mut(&mut self) -> &mut OsStr { in deref_mut()
760 impl OsStr { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/ffi/
H A Dos_str.rs122 pub struct OsStr { struct
128 impl crate::sealed::Sealed for OsStr {} argument
204 pub fn as_os_str(&self) -> &OsStr { in as_os_str()
531 pub fn into_boxed_os_str(self) -> Box<OsStr> { in into_boxed_os_str()
551 pub fn leak<'a>(self) -> &'a mut OsStr { in leak()
597 fn index(&self, _index: ops::RangeFull) -> &OsStr { in index()
605 fn index_mut(&mut self, _index: ops::RangeFull) -> &mut OsStr { in index_mut()
615 fn deref(&self) -> &OsStr { in deref()
623 fn deref_mut(&mut self) -> &mut OsStr { in deref_mut()
760 impl OsStr { implementation
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/ffi/
H A Dos_str.rs122 pub struct OsStr { struct
128 impl crate::sealed::Sealed for OsStr {} argument
204 pub fn as_os_str(&self) -> &OsStr { in as_os_str()
531 pub fn into_boxed_os_str(self) -> Box<OsStr> { in into_boxed_os_str()
551 pub fn leak<'a>(self) -> &'a mut OsStr { in leak()
597 fn index(&self, _index: ops::RangeFull) -> &OsStr { in index()
605 fn index_mut(&mut self, _index: ops::RangeFull) -> &mut OsStr { in index_mut()
615 fn deref(&self) -> &OsStr { in deref()
623 fn deref_mut(&mut self) -> &mut OsStr { in deref_mut()
760 impl OsStr { impl
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/ffi/
H A Dos_str.rs122 pub struct OsStr { struct
128 impl crate::sealed::Sealed for OsStr {} implementation
204 pub fn as_os_str(&self) -> &OsStr { in as_os_str()
531 pub fn into_boxed_os_str(self) -> Box<OsStr> { in into_boxed_os_str()
568 fn index(&self, _index: ops::RangeFull) -> &OsStr { in index()
576 fn index_mut(&mut self, _index: ops::RangeFull) -> &mut OsStr { in index_mut()
586 fn deref(&self) -> &OsStr { in deref()
594 fn deref_mut(&mut self) -> &mut OsStr { in deref_mut()
731 impl OsStr { impl
743 pub fn new<S: AsRef<OsStr> + ?Sized>(s: &S) -> &OsStr { in new()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/ffi/
H A Dos_str.rs122 pub struct OsStr { struct
128 impl crate::sealed::Sealed for OsStr {} implementation
204 pub fn as_os_str(&self) -> &OsStr { in as_os_str()
531 pub fn into_boxed_os_str(self) -> Box<OsStr> { in into_boxed_os_str()
568 fn index(&self, _index: ops::RangeFull) -> &OsStr { in index()
576 fn index_mut(&mut self, _index: ops::RangeFull) -> &mut OsStr { in index_mut()
586 fn deref(&self) -> &OsStr { in deref()
594 fn deref_mut(&mut self) -> &mut OsStr { in deref_mut()
731 impl OsStr { impl
743 pub fn new<S: AsRef<OsStr> + ?Sized>(s: &S) -> &OsStr { in new()
[all …]
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/clap_lex-0.7.0/src/
H A Dext.rs65 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr>; in strip_prefix()
181 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)>; in split_once()
184 impl OsStrExt for OsStr { implementation
200 fn strip_prefix(&self, prefix: &str) -> Option<&OsStr> { in strip_prefix()
222 fn split_once(&self, needle: &'_ str) -> Option<(&OsStr, &OsStr)> { in split_once()
243 impl Sealed for std::ffi::OsStr {} implementation
277 pub(crate) unsafe fn split_at(os: &OsStr, index: usize) -> (&OsStr, &OsStr) { in split_at()
H A Dlib.rs189 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> { in next_os()
201 pub fn peek_os(&self, cursor: &ArgCursor) -> Option<&OsStr> { in peek_os()
315 pub fn to_long(&self) -> Option<(Result<&str, &OsStr>, Option<&OsStr>)> { in to_long()
361 pub fn to_value_os(&self) -> &OsStr { in to_value_os()
368 pub fn to_value(&self) -> Result<&str, &OsStr> { in to_value()
422 pub fn next_flag(&mut self) -> Option<Result<char, &'s OsStr>> { in next_flag()
436 pub fn next_value_os(&mut self) -> Option<&'s OsStr> { in next_value_os()
462 fn split_nonutf8_once(b: &OsStr) -> (&str, Option<&OsStr>) { in split_nonutf8_once()
/aosp_15_r20/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.rs194 pub fn next_os(&self, cursor: &mut ArgCursor) -> Option<&OsStr> { in next_os()
206 pub fn peek_os(&self, cursor: &ArgCursor) -> Option<&OsStr> { in peek_os()
320 pub fn to_long(&self) -> Option<(Result<&str, &OsStr>, Option<&OsStr>)> { in to_long()
366 pub fn to_value_os(&self) -> &OsStr { in to_value_os()
373 pub fn to_value(&self) -> Result<&str, &OsStr> { in to_value()
427 pub fn next_flag(&mut self) -> Option<Result<char, &'s OsStr>> { in next_flag()
441 pub fn next_value_os(&mut self) -> Option<&'s OsStr> { in next_value_os()
467 fn split_nonutf8_once(b: &OsStr) -> (&str, Option<&OsStr>) { in split_nonutf8_once()
/aosp_15_r20/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()
/aosp_15_r20/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 …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs318 fn rsplit_file_at_dot(file: &OsStr) -> (Option<&OsStr>, Option<&OsStr>) { in rsplit_file_at_dot()
342 fn split_file_at_dot(file: &OsStr) -> (&OsStr, Option<&OsStr>) { in split_file_at_dot()
443 pub fn as_os_str(&self) -> &'a OsStr { in as_os_str()
549 pub fn as_os_str(self) -> &'a OsStr { in as_os_str()
563 fn as_ref(&self) -> &OsStr { in as_ref()
807 fn as_ref(&self) -> &OsStr { in as_ref()
860 fn as_ref(&self) -> &OsStr { in as_ref()
870 fn next(&mut self) -> Option<&'a OsStr> { in next()
878 fn next_back(&mut self) -> Option<&'a OsStr> { in next_back()
1423 fn _set_file_name(&mut self, file_name: &OsStr) { in _set_file_name()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.81.0/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs318 fn rsplit_file_at_dot(file: &OsStr) -> (Option<&OsStr>, Option<&OsStr>) { in rsplit_file_at_dot()
342 fn split_file_at_dot(file: &OsStr) -> (&OsStr, Option<&OsStr>) { in split_file_at_dot()
443 pub fn as_os_str(&self) -> &'a OsStr { in as_os_str()
549 pub fn as_os_str(self) -> &'a OsStr { in as_os_str()
563 fn as_ref(&self) -> &OsStr { in as_ref()
807 fn as_ref(&self) -> &OsStr { in as_ref()
860 fn as_ref(&self) -> &OsStr { in as_ref()
870 fn next(&mut self) -> Option<&'a OsStr> { in next()
878 fn next_back(&mut self) -> Option<&'a OsStr> { in next_back()
1423 fn _set_file_name(&mut self, file_name: &OsStr) { in _set_file_name()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs318 fn rsplit_file_at_dot(file: &OsStr) -> (Option<&OsStr>, Option<&OsStr>) { in rsplit_file_at_dot()
342 fn split_file_at_dot(file: &OsStr) -> (&OsStr, Option<&OsStr>) { in split_file_at_dot()
443 pub fn as_os_str(&self) -> &'a OsStr { in as_os_str()
549 pub fn as_os_str(self) -> &'a OsStr { in as_os_str()
563 fn as_ref(&self) -> &OsStr { in as_ref()
807 fn as_ref(&self) -> &OsStr { in as_ref()
860 fn as_ref(&self) -> &OsStr { in as_ref()
870 fn next(&mut self) -> Option<&'a OsStr> { in next()
878 fn next_back(&mut self) -> Option<&'a OsStr> { in next_back()
1423 fn _set_file_name(&mut self, file_name: &OsStr) { in _set_file_name()
[all …]
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs318 fn rsplit_file_at_dot(file: &OsStr) -> (Option<&OsStr>, Option<&OsStr>) { in rsplit_file_at_dot()
342 fn split_file_at_dot(file: &OsStr) -> (&OsStr, Option<&OsStr>) { in split_file_at_dot()
443 pub fn as_os_str(&self) -> &'a OsStr { in as_os_str()
549 pub fn as_os_str(self) -> &'a OsStr { in as_os_str()
563 fn as_ref(&self) -> &OsStr { in as_ref()
807 fn as_ref(&self) -> &OsStr { in as_ref()
860 fn as_ref(&self) -> &OsStr { in as_ref()
870 fn next(&mut self) -> Option<&'a OsStr> { in next()
878 fn next_back(&mut self) -> Option<&'a OsStr> { in next_back()
1408 fn _set_file_name(&mut self, file_name: &OsStr) { in _set_file_name()
[all …]
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/
H A Dpath.rs318 fn rsplit_file_at_dot(file: &OsStr) -> (Option<&OsStr>, Option<&OsStr>) { in rsplit_file_at_dot()
342 fn split_file_at_dot(file: &OsStr) -> (&OsStr, Option<&OsStr>) { in split_file_at_dot()
443 pub fn as_os_str(&self) -> &'a OsStr { in as_os_str()
549 pub fn as_os_str(self) -> &'a OsStr { in as_os_str()
563 fn as_ref(&self) -> &OsStr { in as_ref()
807 fn as_ref(&self) -> &OsStr { in as_ref()
860 fn as_ref(&self) -> &OsStr { in as_ref()
870 fn next(&mut self) -> Option<&'a OsStr> { in next()
878 fn next_back(&mut self) -> Option<&'a OsStr> { in next_back()
1408 fn _set_file_name(&mut self, file_name: &OsStr) { in _set_file_name()
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/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()
/aosp_15_r20/prebuilts/rust/linux-x86/1.81.0.u1/lib/rustlib/src/rust/library/std/src/sys/pal/windows/
H A Dprocess.rs147 fn as_ref(&self) -> &OsStr { in as_ref()
208 pub fn arg(&mut self, arg: &OsStr) { in arg() method
214 pub fn cwd(&mut self, dir: &OsStr) { in cwd()
237 pub fn raw_arg(&mut self, command_str_to_append: &OsStr) { in raw_arg()
241 pub fn get_program(&self) -> &OsStr { in get_program()
443 exe_path: &'a OsStr, in resolve_exe()
445 child_paths: Option<&OsStr>, in resolve_exe()
509 child_paths: Option<&OsStr>, in search_paths()
839 fn make_command_line(argv0: &OsStr, args: &[Arg], force_quotes: bool) -> io::Result<Vec<u16>> { in make_command_line()
986 fn next(&mut self) -> Option<&'a OsStr> { in next()
/aosp_15_r20/prebuilts/rust/linux-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/windows/
H A Dprocess.rs145 fn as_ref(&self) -> &OsStr { in as_ref()
204 pub fn arg(&mut self, arg: &OsStr) { in arg() method
210 pub fn cwd(&mut self, dir: &OsStr) { in cwd()
230 pub fn raw_arg(&mut self, command_str_to_append: &OsStr) { in raw_arg()
234 pub fn get_program(&self) -> &OsStr { in get_program()
418 exe_path: &'a OsStr, in resolve_exe()
420 child_paths: Option<&OsStr>, in resolve_exe()
484 child_paths: Option<&OsStr>, in search_paths()
814 fn make_command_line(argv0: &OsStr, args: &[Arg], force_quotes: bool) -> io::Result<Vec<u16>> { in make_command_line()
961 fn next(&mut self) -> Option<&'a OsStr> { in next()
/aosp_15_r20/prebuilts/rust/linux-musl-x86/1.80.1/lib/rustlib/src/rust/library/std/src/sys/pal/windows/
H A Dprocess.rs145 fn as_ref(&self) -> &OsStr { in as_ref()
204 pub fn arg(&mut self, arg: &OsStr) { in arg() method
210 pub fn cwd(&mut self, dir: &OsStr) { in cwd()
230 pub fn raw_arg(&mut self, command_str_to_append: &OsStr) { in raw_arg()
234 pub fn get_program(&self) -> &OsStr { in get_program()
418 exe_path: &'a OsStr, in resolve_exe()
420 child_paths: Option<&OsStr>, in resolve_exe()
484 child_paths: Option<&OsStr>, in search_paths()
814 fn make_command_line(argv0: &OsStr, args: &[Arg], force_quotes: bool) -> io::Result<Vec<u16>> { in make_command_line()
961 fn next(&mut self) -> Option<&'a OsStr> { in next()

123456789