/packages/modules/DnsResolver/doh/tests/doh_frontend/src/ |
D | ffi.rs | 42 let addr = unsafe { CStr::from_ptr(addr) }.to_str().unwrap(); in frontend_new() 44 let port = unsafe { CStr::from_ptr(port) }.to_str().unwrap(); in frontend_new() 46 let backend_addr = unsafe { CStr::from_ptr(backend_addr) }.to_str().unwrap(); in frontend_new() 48 let backend_port = unsafe { CStr::from_ptr(backend_port) }.to_str().unwrap(); in frontend_new() 110 let certificate = unsafe { CStr::from_ptr(certificate) }.to_str().unwrap(); in frontend_set_certificate() 128 let private_key = unsafe { CStr::from_ptr(private_key) }.to_str().unwrap(); in frontend_set_private_key()
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/ |
D | build.rs | 8 paths.iter().map(|p| p.as_ref().as_os_str().to_str().unwrap()).collect() in paths_to_strs() 20 f.write_all(format!("pub mod {}; \n", stem.to_str().unwrap()).as_bytes()).unwrap(); in gen_mod_rs() 45 match fs::create_dir(proto_out_dir.as_os_str().to_str().unwrap()) { in main() 51 .out_dir(proto_out_dir.as_os_str().to_str().unwrap()) in main()
|
/packages/modules/Bluetooth/tools/rootcanal/rust/ |
D | build.rs | 47 module_prebuilt.as_os_str().to_str().unwrap(), in install_generated_module() 48 out_dir.join(module_name).as_os_str().to_str().unwrap(), in install_generated_module() 68 panic!("pdl not found in the current environment: {:?}", pdl.as_os_str().to_str().unwrap()); in generate_module() 72 let output = Command::new(pdl.as_os_str().to_str().unwrap()) in generate_module()
|
/packages/modules/Virtualization/vmbase/src/ |
D | bionic.rs | 120 if let (Ok(prefix), Ok(format)) = (prefix.to_str(), format.to_str()) { in async_safe_fatal_va_list() 155 if let (Ok(s), Ok(_)) = (c_str.to_str(), File::try_from(stream)) { in fputs() 195 Some(c_str.to_str().unwrap()) in perror() 199 let error = cstr_error(get_errno()).to_str().unwrap(); in perror()
|
/packages/modules/Virtualization/vmbase/example/src/ |
D | main.rs | 177 info!("node compatible with '{}' at {reg:?}", compatible.to_str().unwrap()); in check_fdt() 189 info!("Created subnode '{}/{}'.", path.to_str().unwrap(), name.to_str().unwrap()); in modify_fdt() 193 info!("Appended property '{}'.", name.to_str().unwrap()); in modify_fdt() 199 info!("Appended property '{}'.", name.to_str().unwrap()); in modify_fdt()
|
/packages/modules/DnsResolver/doh/ |
D | ffi.rs | 208 std::ffi::CStr::from_ptr(url).to_str(), in doh_net_new() 209 std::ffi::CStr::from_ptr(domain).to_str(), in doh_net_new() 210 std::ffi::CStr::from_ptr(ip_addr).to_str(), in doh_net_new() 211 std::ffi::CStr::from_ptr(cert_path).to_str(), in doh_net_new() 395 let ip_addr = unsafe { std::ffi::CStr::from_ptr(ip_addr) }.to_str().unwrap(); in assert_validation_info() 399 let host = unsafe { std::ffi::CStr::from_ptr(host) }.to_str().unwrap(); in assert_validation_info()
|
/packages/modules/NeuralNetworks/tools/systrace_parser/parser/ |
D | tree.py | 175 print(self.to_str()) 177 def to_str(self): member in SingleThreadCallTree 178 return self.root.to_str() 280 def to_str(self, indent=''): member in CallTreeNode 290 ret += c.to_str(indent + ' ')
|
D | tracker.py | 159 raise Exception("Elapsed for {} returned None".format(node.to_str())) 184 self.debugstring = self.mytree.to_str()
|
/packages/modules/Virtualization/authfs/src/file/ |
D | dir.rs | 85 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in create_file() 108 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in mkdir() 125 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in delete_file() 139 basename.to_str().ok_or_else(|| io::Error::from_raw_os_error(libc::EINVAL))?; in force_delete_directory()
|
/packages/modules/Virtualization/tests/libs/libdts/src/ |
D | lib.rs | 33 let path = path.to_str().unwrap(); in from_fs() 45 let path = path.to_str().unwrap(); in from_dtb()
|
/packages/modules/Virtualization/virtualizationmanager/src/ |
D | selinux.rs | 52 write!(f, "{}", self.to_str().unwrap_or("Invalid context")) in fmt() 90 let context = self.deref().to_str().context("Label is not valid UTF8")?; in selinux_type()
|
D | debug_config.rs | 50 self.node_path.to_str().unwrap(), in to_path() 52 self.prop_name.to_str().unwrap(), in to_path()
|
/packages/modules/Virtualization/libs/vbmeta/src/ |
D | lib.rs | 217 test_file.to_str().unwrap(), in unsigned_image_does_not_have_public_key() 235 test_file.to_str().unwrap(), in signed_image_has_valid_vbmeta() 254 test_pubkey_file.to_str().unwrap(), in signed_image_has_valid_vbmeta()
|
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | verity.rs | 133 .to_str() in build() 143 .to_str() in build()
|
D | crypt.rs | 150 .to_str() in build()
|
/packages/modules/Virtualization/virtualizationservice/vfio_handler/src/ |
D | aidl.rs | 194 group.to_str()?.parse().ok() in get_device_iommu_group() 200 bound_driver.to_str().map(str::to_string) in current_driver() 215 let Some(device_str) = device.to_str() else { in try_bind_driver()
|
/packages/modules/Virtualization/microdroid_manager/src/ |
D | verify.rs | 114 apk: extra_apk.to_str().unwrap(), in verify_payload() 115 idsig: extra_idsigs[i].to_str().unwrap(), in verify_payload()
|
/packages/modules/Virtualization/libs/apkmanifest/src/ |
D | apkmanifest.rs | 64 let package = package.to_str().context("Invalid package name")?.to_string(); in get_manifest_info()
|
/packages/modules/Virtualization/libs/apkverify/tests/ |
D | apkverify_test.rs | 296 let expected_public_key_path = format!("{}.der", apk_path.as_ref().to_str().unwrap()); in validate_apk_public_key() 327 let expected_digest_path = format!("{}.apk_digest", apk_path.as_ref().to_str().unwrap()); in validate_apk_digest()
|
/packages/modules/Bluetooth/system/gd/rust/topshim/ |
D | build.rs | 15 .map(|p| format!("-I{}", p.to_str().unwrap())) in main()
|
/packages/modules/Bluetooth/system/gd/rust/linux/mgmt/src/ |
D | migrate.rs | 542 let hid_path = info_path.to_str().unwrap_or_default().replace("info", "hog-uhid-cache"); in migrate_bluez_devices() 543 let addrs = info_path.to_str().unwrap_or_default().split('/').collect::<Vec<&str>>(); in migrate_bluez_devices() 549 info_path.to_str().unwrap_or_default(), in migrate_bluez_devices() 887 let addrs = pathbuf.to_str().unwrap_or_default().split('/').collect::<Vec<&str>>(); in convert_floss_conf() 919 convert_floss_conf(entry.unwrap_or_default().to_str().unwrap_or_default()); in migrate_floss_devices()
|
D | config_util.rs | 159 .map(|e| e.unwrap().path().file_name().unwrap().to_str().unwrap().to_string()) in list_hci_devices_string() 186 .map(|e| e.unwrap().path().file_name().unwrap().to_str().unwrap().to_string()) in list_pid_files()
|
/packages/modules/Virtualization/compos/src/ |
D | artifact_signer.rs | 52 let target_path = target_path.to_str().ok_or_else(|| anyhow!("Invalid path"))?; in add_artifact()
|
/packages/modules/Bluetooth/system/gd/rust/linux/stack/btif_macros/src/ |
D | lib.rs | 25 .to_str() in debug_output_to_file()
|
/packages/modules/Virtualization/authfs/src/ |
D | file.rs | 73 if matches!(path.to_str(), Some(path_str) if !path_str.contains(MAIN_SEPARATOR)) { in validate_basename()
|