Home
last modified time | relevance | path

Searched refs:to_string_lossy (Results 1 - 25 of 34) sorted by relevance

12

/third_party/rust/crates/rustix/tests/path/
H A 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( in test_arg()
[all...]
/third_party/rust/crates/rustix/src/path/
H A Darg.rs74 fn to_string_lossy(&self) -> Cow<'_, str>; in to_string_lossy() functions
99 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() functions
137 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() functions
173 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() functions
212 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() functions
213 OsStr::to_string_lossy(self) in to_string_lossy()
251 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() functions
252 self.as_os_str().to_string_lossy() in to_string_lossy()
289 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() functions
290 self.as_os_str().to_string_lossy() in to_string_lossy()
328 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
370 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
408 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
449 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
483 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
517 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
551 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
594 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
636 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
672 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
711 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
752 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
792 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
830 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
868 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
907 fn to_string_lossy(&self) -> Cow<'_, str> { to_string_lossy() functions
[all...]
/third_party/rust/crates/cxx/gen/build/src/
H A 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()
H A Dvec.rs44 intern::intern(&self.to_string_lossy()) in intern()
H A Derror.rs37 write!(f, "missing {} environment variable", var.to_string_lossy()) in fmt()
H A Dcfg.rs365 .map(|pkg| intern(&pkg.to_string_lossy())) in default()
/third_party/rust/crates/clap/clap_complete/tests/
H A 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/rustix/tests/process/
H A 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/
H A Dmain.rs34 Some(ref v) => println!("{} = {}", name, v.to_string_lossy()), in env_inner()
81 include_dir.to_string_lossy() in main()
88 lib_dir.to_string_lossy() in main()
91 println!("cargo:include={}", include_dir.to_string_lossy()); in main()
/third_party/rust/crates/cxx/gen/cmd/src/
H A Doutput.rs13 Output::File(path) => path.to_string_lossy().ends_with(suffix),
/third_party/rust/crates/clap/clap_lex/tests/
H A Dlexer.rs18 .map(|s| s.to_string_lossy()) in insert()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/
H A Dbuild.rs29 if path.extension().map(|e| e.to_string_lossy()) != in main()
/third_party/rust/crates/syn/tests/repo/
H A Dmod.rs269 let mut path_string = path.to_string_lossy(); in base_dir_filter()
/third_party/rust/crates/clang-sys/src/
H A 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/
H A Dpty.rs194 Ok(name.to_string_lossy().into_owned()) in ptsname()
220 let name = cname.to_string_lossy().into_owned(); in ptsname_r()
H A Difaddrs.rs94 interface_name: ifname.to_string_lossy().to_string(), in from_libc_ifaddrs()
/third_party/rust/crates/clang-sys/build/
H A Dstatic.rs35 let string = p.to_string_lossy(); in get_library_name()
/third_party/rust/crates/syn/examples/dump-syntax/src/
H A Dmain.rs114 .map(OsStr::to_string_lossy) in render_location()
/third_party/rust/crates/rustix/examples/
H A Dprocess.rs41 getcwd(Vec::new())?.to_string_lossy() in main()
/third_party/rust/crates/clap/clap_mangen/src/
H A Drender.rs305 bold(env.to_string_lossy().into_owned()), in option_environment()
320 .map(|s| s.to_string_lossy()) in option_default_values()
/third_party/rust/crates/clap/src/output/
H A Dhelp_template.rs724 .map(|s| s.to_string_lossy()) in spec_vals()
730 let env_info = format!("[env: {}{}]", env.0.to_string_lossy(), env_val); in spec_vals()
743 .map(|pvs| pvs.to_string_lossy()) in spec_vals()
/third_party/rust/crates/cxx/src/
H A Dcxx_string.rs152 pub fn to_string_lossy(&self) -> Cow<str> { in to_string_lossy() functions
/third_party/rust/crates/nix/src/mount/
H A Dbsd.rs132 errmsg: errmsg.map(CStr::to_string_lossy).map(Cow::into_owned), in new()
/third_party/rust/crates/bindgen/bindgen-integration/src/
H A Dlib.rs45 let name = unsafe { CStr::from_ptr(c_str).to_string_lossy().into_owned() }; in test_static_method()
/third_party/rust/crates/cxx/tests/
H A Dtest.rs243 eprintln!("{}", msg.to_string_lossy()); in test_c_call_r()

Completed in 11 milliseconds

12