Home
last modified time | relevance | path

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

123456

/external/rust/android-crates-io/crates/rustix/src/path/
Darg.rs72 fn to_string_lossy(&self) -> Cow<'_, str>; in to_string_lossy() method
100 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
142 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
182 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
224 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
225 OsStr::to_string_lossy(self) in to_string_lossy()
266 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
267 self.as_os_str().to_string_lossy() in to_string_lossy()
307 fn to_string_lossy(&self) -> Cow<'_, str> { in to_string_lossy() method
308 self.as_os_str().to_string_lossy() in to_string_lossy()
[all …]
/external/rust/beto-rust/nearby/connections/ukey2/ukey2_proto/src/
Dlib.rs41 && file_name_str.to_string_lossy().ends_with(".rs") in check_proto_needs_update()
43 println!("Checking file {}", &file_name_str.to_string_lossy()); in check_proto_needs_update()
45 env!("OUT_DIR").to_string() + "/proto/" + &file_name_str.to_string_lossy(); in check_proto_needs_update()
50 file_name_str.to_string_lossy(), in check_proto_needs_update()
/external/bazelbuild-rules_rust/crate_universe/tests/
Dcargo_integration_test.rs142 .to_string_lossy() in feature_generator()
259 .to_string_lossy() in feature_generator_cfg_features()
328 .to_string_lossy() in feature_generator_workspace()
337 .to_string_lossy() in feature_generator_workspace()
363 .to_string_lossy() in feature_generator_crate_combined_features()
403 .to_string_lossy() in resolver_2_deps()
/external/rust/android-crates-io/crates/rusqlite/src/util/
Dsqlite_string.rs89 pub(crate) fn to_string_lossy(&self) -> std::borrow::Cow<'_, str> { in to_string_lossy() method
90 self.as_cstr().to_string_lossy() in to_string_lossy()
169 self.to_string_lossy().fmt(f) in fmt()
175 self.to_string_lossy().fmt(f) in fmt()
197 assert_eq!(s.to_string_lossy(), output); in test_from_str()
211 assert_eq!(s.to_string_lossy().as_ref(), "\u{FFFD}bcd"); in test_lossy()
/external/rust/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()
/external/rust/beto-rust/common/cmd_runner/src/
Dlib.rs84 acc.push(shell_escape::escape(s.to_string_lossy()).as_ref()); in run()
91 cmd_with_args.to_string_lossy(), in run()
92 dir.to_string_lossy(), in run()
96 cmd_with_args.to_string_lossy().green(), in run()
97 dir.to_string_lossy().blue() in run()
/external/rust/android-crates-io/crates/config/src/file/source/
Dfile.rs46 .to_string_lossy() in find_file()
57 filename.to_string_lossy() in find_file()
94 self.name.to_string_lossy() in find_file()
121 uri: Some(uri.to_string_lossy().into_owned()), in resolve()
/external/rust/android-crates-io/crates/libloading/src/
Derror.rs113 DlOpen { ref desc } => write!(f, "{}", desc.0.to_string_lossy()), in fmt()
115 DlSym { ref desc } => write!(f, "{}", desc.0.to_string_lossy()), in fmt()
117 DlClose { ref desc } => write!(f, "{}", desc.0.to_string_lossy()), in fmt()
/external/rust/android-crates-io/crates/android_bp/examples/
Dparse_all.rs31 println!("{}", path.to_string_lossy()); in walk_dir()
37 println!("{}: {}", path.to_string_lossy(), e); in walk_dir()
/external/rust/android-crates-io/crates/libfuzzer-sys/
Dbuild.rs7 let custom_lib_dir = custom_lib_path.parent().unwrap().to_string_lossy(); in build_and_link_libfuzzer()
9 let custom_lib_name = custom_lib_path.file_stem().unwrap().to_string_lossy(); in build_and_link_libfuzzer()
/external/bazelbuild-rules_rust/crate_universe/tools/urls_generator/src/
Dmain.rs68 let triple = path.file_name().unwrap().to_string_lossy(); in locate_artifacts()
75 let stem = f_path.file_stem().unwrap().to_string_lossy(); in locate_artifacts()
78 .map(|ext| format!(".{}", ext.to_string_lossy())) in locate_artifacts()
/external/rust/android-crates-io/crates/rusqlite/src/
Dtrace.rs30 let s = unsafe { CStr::from_ptr(msg).to_string_lossy() }; in config_log()
74 let s = CStr::from_ptr(z_sql).to_string_lossy(); in trace()
101 let s = CStr::from_ptr(z_sql).to_string_lossy(); in profile()
/external/rust/android-crates-io/crates/rustversion/build/
Dbuild.rs42 let rustc = rustc.to_string_lossy(); in main()
51 let rustc = rustc.to_string_lossy(); in main()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/rustversion-1.0.18/build/
Dbuild.rs42 let rustc = rustc.to_string_lossy(); in main()
51 let rustc = rustc.to_string_lossy(); in main()
/external/minijail/rust/minijail/tests/
Dfork_remap.rs41 stdio_expected = target.unwrap().to_string_lossy().to_string(); in main()
43 file2_expected = target.unwrap().to_string_lossy().to_string(); in main()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/rustversion-1.0.18/build/
Dbuild.rs42 let rustc = rustc.to_string_lossy(); in main()
51 let rustc = rustc.to_string_lossy(); in main()
/external/bazelbuild-rules_rust/crate_universe/src/
Dsplicing.rs66 let workspace_dir_str = workspace_dir.to_string_lossy(); in resolve()
67 let output_base_str = output_base.to_string_lossy(); in resolve()
74 .to_string_lossy() in resolve()
84 .to_string_lossy() in resolve()
224 let prefix = package.to_string_lossy().to_string(); in new()
241 (k, prefix.to_string_lossy().to_string()) in new()
/external/bazelbuild-rules_rust/cargo/cargo_build_script_runner/
Dbin.rs101 command.env(key, value.replace("${pwd}", &exec_root.to_string_lossy())); in run_buildrs()
167 BuildScriptOutput::outputs_to_env(&buildrs_outputs, &exec_root.to_string_lossy()) in run_buildrs()
176 &exec_root.to_string_lossy(), in run_buildrs()
190 } = BuildScriptOutput::outputs_to_flags(&buildrs_outputs, &exec_root.to_string_lossy()); in run_buildrs()
/external/python/bumble/rust/src/cli/firmware/
Drtk.rs49 println!("{} {}", "TO:".green(), data_dir.to_string_lossy()); in download()
87 format!("{} already exists, skipping", fw_path.to_string_lossy()) in download()
96 format!("{} already exists, skipping", cp.to_string_lossy()) in download()
/external/rust/cxx/gen/cmd/src/
Doutput.rs13 Output::File(path) => path.to_string_lossy().ends_with(suffix), in ends_with()
/external/cronet/tot/third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.131/src/
Doutput.rs13 Output::File(path) => path.to_string_lossy().ends_with(suffix), in ends_with()
/external/cronet/stable/third_party/rust/chromium_crates_io/vendor/cxxbridge-cmd-1.0.131/src/
Doutput.rs13 Output::File(path) => path.to_string_lossy().ends_with(suffix), in ends_with()
/external/rust/android-crates-io/crates/portable-atomic/
Dbuild.rs427 for mut flag in rustflags.to_string_lossy().split('\x1f') { in target_feature_fallback()
450 let rustflags = rustflags.to_string_lossy(); in target_cpu()
470 for mut flag in rustflags.to_string_lossy().split('\x1f') { in is_allowed_feature()
/external/bazelbuild-rules_rust/test/dep_env/
Dread_dep_dir.rs16 .to_string_lossy() in main()
/external/rust/android-crates-io/crates/libsqlite3-sys/
Dbuild.rs191 inc_dir.to_string_lossy() in main()
206 cfg.include(inc_dir.to_string_lossy().as_ref()); in main()
210 println!("cargo:rustc-link-search={}", lib_dir_item.to_string_lossy()); in main()
451 HeaderLocation::FromPath(header.to_string_lossy().into()) in find_sqlite()
471 return Some(HeaderLocation::FromPath(header.to_string_lossy().into())); in try_vcpkg()

123456