/third_party/rust/crates/rustix/src/process/ |
D | uname.rs | 80 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/ |
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(&t)); in test_arg() [all …]
|
/third_party/rust/crates/rustix/src/path/ |
D | arg.rs | 74 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/ |
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()
|
D | vec.rs | 44 intern::intern(&self.to_string_lossy()) in intern()
|
D | error.rs | 37 write!(f, "missing {} environment variable", var.to_string_lossy()) in fmt()
|
/third_party/rust/crates/clap/clap_complete/tests/ |
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/libloading/src/ |
D | error.rs | 106 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/ |
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/ |
D | main.rs | 42 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/ |
D | output.rs | 13 Output::File(path) => path.to_string_lossy().ends_with(suffix), in ends_with()
|
/third_party/rust/crates/clap/src/parser/matches/ |
D | matched_arg.rs | 148 eq_ignore_case(&v.to_string_lossy(), &val.to_string_lossy()) in check_explicit()
|
/third_party/rust/crates/clap/src/builder/ |
D | value_parser.rs | 1058 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/ |
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/ |
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()
|
/third_party/rust/crates/clap/clap_lex/tests/ |
D | lexer.rs | 18 .map(|s| s.to_string_lossy()) in insert()
|
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/ |
D | build.rs | 29 if path.extension().map(|e| e.to_string_lossy()) != in main()
|
/third_party/rust/crates/which-rs/ |
D | README.md | 30 .for_each(|pth| println!("{}", pth.to_string_lossy()));
|
/third_party/rust/crates/clang-sys/build/ |
D | static.rs | 35 let string = p.to_string_lossy(); in get_library_name()
|
/third_party/rust/crates/proc-macro2/ |
D | build.rs | 169 flags_var_string = flags_var.to_string_lossy(); in feature_allowed()
|
/third_party/rust/crates/syn/tests/repo/ |
D | mod.rs | 118 let mut path_string = path.to_string_lossy(); in base_dir_filter()
|
/third_party/rust/crates/cxx/book/src/binding/ |
D | cxxvector.md | 41 .map(|s| s.to_string_lossy().into_owned())
|
/third_party/rust/crates/clap/clap_mangen/src/ |
D | render.rs | 303 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/ |
D | main.rs | 118 .map(OsStr::to_string_lossy) in render_location()
|
/third_party/rust/crates/clap/examples/ |
D | git-derive.rs | 134 path.to_string_lossy(), in main()
|