Home
last modified time | relevance | path

Searched refs:to_string_lossy (Results 1 – 25 of 48) sorted by relevance

12

/third_party/rust/crates/rustix/src/process/
Duname.rs80 self.sysname().to_string_lossy(), in fmt()
81 self.nodename().to_string_lossy(), in fmt()
82 self.release().to_string_lossy(), in fmt()
83 self.version().to_string_lossy(), in fmt()
84 self.machine().to_string_lossy(), in fmt()
92 self.sysname().to_string_lossy(), in fmt()
93 self.nodename().to_string_lossy(), in fmt()
94 self.release().to_string_lossy(), in fmt()
95 self.version().to_string_lossy(), in fmt()
96 self.machine().to_string_lossy(), in fmt()
[all …]
/third_party/rust/crates/rustix/tests/path/
Darg.rs17 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
23 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
29 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
35 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
41 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
47 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
53 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
59 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
68 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
74 assert_eq!("hello".to_owned(), Arg::to_string_lossy(&t)); in test_arg()
[all …]
/third_party/rust/crates/rustix/src/path/
Darg.rs74 fn to_string_lossy(&self) -> Cow<'_, str>; in to_string_lossy() method
99 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
137 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
173 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
212 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
213 OsStr::to_string_lossy(self) in to_string_lossy()
251 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
252 self.as_os_str().to_string_lossy() in to_string_lossy()
289 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
290 self.as_os_str().to_string_lossy() in to_string_lossy()
[all …]
/third_party/rust/crates/cxx/gen/build/src/
Ddeps.rs23 include_prefix.to_string_lossy(), in print_to_cargo()
27 println!("cargo:CXXBRIDGE_LINKS={}", links.to_string_lossy()); in print_to_cargo()
34 header_dir.path.to_string_lossy(), in print_to_cargo()
61 let mut k = k.to_string_lossy().into_owned(); in direct_dependencies()
Dvec.rs44 intern::intern(&self.to_string_lossy()) in intern()
Derror.rs37 write!(f, "missing {} environment variable", var.to_string_lossy()) in fmt()
/third_party/rust/crates/clap/clap_complete/tests/
Ddynamic.rs31 .map(|s| s.to_string_lossy().into_owned()) in suggest_subcommand_subset()
77 .map(|s| s.to_string_lossy().into_owned()) in suggest_long_flag_subset()
112 .map(|s| s.to_string_lossy().into_owned()) in suggest_possible_value_subset()
158 .map(|s| s.to_string_lossy().into_owned()) in suggest_additional_short_flags()
/third_party/rust/crates/libloading/src/
Derror.rs106 DlOpen { ref desc } => write!(f, "{}", desc.0.to_string_lossy()), in fmt()
108 DlSym { ref desc } => write!(f, "{}", desc.0.to_string_lossy()), in fmt()
110 DlClose { ref desc } => write!(f, "{}", desc.0.to_string_lossy()), in fmt()
/third_party/rust/crates/rustix/tests/process/
Dworking_directory.rs30 ch1_cwd.to_string_lossy(), in test_changing_working_directory()
31 tmpdir.path().to_string_lossy(), in test_changing_working_directory()
/third_party/rust/crates/rust-openssl/openssl-sys/build/
Dmain.rs42 Some(ref v) => println!("{} = {}", name, v.to_string_lossy()), in env_inner()
91 include_dir.to_string_lossy() in main()
98 lib_dir.to_string_lossy() in main()
101 println!("cargo:include={}", include_dir.to_string_lossy()); in main()
/third_party/rust/crates/cxx/gen/cmd/src/
Doutput.rs13 Output::File(path) => path.to_string_lossy().ends_with(suffix), in ends_with()
/third_party/rust/crates/clap/src/parser/matches/
Dmatched_arg.rs148 eq_ignore_case(&v.to_string_lossy(), &val.to_string_lossy()) in check_explicit()
/third_party/rust/crates/clap/src/builder/
Dvalue_parser.rs1058 value.to_string_lossy().into_owned(), in parse_ref()
1362 raw_value.to_string_lossy().into_owned(), in parse_ref()
1373 raw_value.to_string_lossy().into_owned(), in parse_ref()
1386 raw_value.to_string_lossy().into_owned(), in parse_ref()
1560 raw_value.to_string_lossy().into_owned(), in parse_ref()
1571 raw_value.to_string_lossy().into_owned(), in parse_ref()
1584 raw_value.to_string_lossy().into_owned(), in parse_ref()
1651 value.to_string_lossy().into_owned(), in parse_ref()
2043 crate::Error::value_validation(arg, value.to_string_lossy().into_owned(), e.into()) in parse_ref()
/third_party/rust/crates/clang-sys/src/
Dsupport.rs146 let pattern = directory.join(pattern).to_string_lossy().into_owned(); in find()
187 run(&path.to_string_lossy().into_owned(), arguments).unwrap() in run_clang()
/third_party/rust/crates/nix/src/
Dpty.rs194 Ok(name.to_string_lossy().into_owned()) in ptsname()
220 let name = cname.to_string_lossy().into_owned(); in ptsname_r()
/third_party/rust/crates/clap/clap_lex/tests/
Dlexer.rs18 .map(|s| s.to_string_lossy()) in insert()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/
Dbuild.rs29 if path.extension().map(|e| e.to_string_lossy()) != in main()
/third_party/rust/crates/which-rs/
DREADME.md30 .for_each(|pth| println!("{}", pth.to_string_lossy()));
/third_party/rust/crates/clang-sys/build/
Dstatic.rs35 let string = p.to_string_lossy(); in get_library_name()
/third_party/rust/crates/proc-macro2/
Dbuild.rs169 flags_var_string = flags_var.to_string_lossy(); in feature_allowed()
/third_party/rust/crates/syn/tests/repo/
Dmod.rs118 let mut path_string = path.to_string_lossy(); in base_dir_filter()
/third_party/rust/crates/cxx/book/src/binding/
Dcxxvector.md41 .map(|s| s.to_string_lossy().into_owned())
/third_party/rust/crates/clap/clap_mangen/src/
Drender.rs303 bold(env.to_string_lossy().into_owned()), in option_environment()
318 .map(|s| s.to_string_lossy()) in option_default_values()
/third_party/rust/crates/syn/examples/dump-syntax/src/
Dmain.rs118 .map(OsStr::to_string_lossy) in render_location()
/third_party/rust/crates/clap/examples/
Dgit-derive.rs134 path.to_string_lossy(), in main()

12