/third_party/rust/crates/rustix/tests/path/ |
H A D | arg.rs | 17 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 D | arg.rs | 74 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 D | deps.rs | 23 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 D | vec.rs | 44 intern::intern(&self.to_string_lossy()) in intern()
|
H A D | error.rs | 37 write!(f, "missing {} environment variable", var.to_string_lossy()) in fmt()
|
H A D | cfg.rs | 365 .map(|pkg| intern(&pkg.to_string_lossy())) in default()
|
/third_party/rust/crates/clap/clap_complete/tests/ |
H A D | dynamic.rs | 31 .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 D | working_directory.rs | 30 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 D | main.rs | 34 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 D | output.rs | 13 Output::File(path) => path.to_string_lossy().ends_with(suffix),
|
/third_party/rust/crates/clap/clap_lex/tests/ |
H A D | lexer.rs | 18 .map(|s| s.to_string_lossy()) in insert()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/ |
H A D | build.rs | 29 if path.extension().map(|e| e.to_string_lossy()) != in main()
|
/third_party/rust/crates/syn/tests/repo/ |
H A D | mod.rs | 269 let mut path_string = path.to_string_lossy(); in base_dir_filter()
|
/third_party/rust/crates/clang-sys/src/ |
H A D | support.rs | 146 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 D | pty.rs | 194 Ok(name.to_string_lossy().into_owned()) in ptsname() 220 let name = cname.to_string_lossy().into_owned(); in ptsname_r()
|
H A D | ifaddrs.rs | 94 interface_name: ifname.to_string_lossy().to_string(), in from_libc_ifaddrs()
|
/third_party/rust/crates/clang-sys/build/ |
H A D | static.rs | 35 let string = p.to_string_lossy(); in get_library_name()
|
/third_party/rust/crates/syn/examples/dump-syntax/src/ |
H A D | main.rs | 114 .map(OsStr::to_string_lossy) in render_location()
|
/third_party/rust/crates/rustix/examples/ |
H A D | process.rs | 41 getcwd(Vec::new())?.to_string_lossy() in main()
|
/third_party/rust/crates/clap/clap_mangen/src/ |
H A D | render.rs | 305 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 D | help_template.rs | 724 .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 D | cxx_string.rs | 152 pub fn to_string_lossy(&self) -> Cow<str> { in to_string_lossy() functions
|
/third_party/rust/crates/nix/src/mount/ |
H A D | bsd.rs | 132 errmsg: errmsg.map(CStr::to_string_lossy).map(Cow::into_owned), in new()
|
/third_party/rust/crates/bindgen/bindgen-integration/src/ |
H A D | lib.rs | 45 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 D | test.rs | 243 eprintln!("{}", msg.to_string_lossy()); in test_c_call_r()
|