Home
last modified time | relevance | path

Searched refs:to_str (Results 1 – 13 of 13) sorted by relevance

/base/update/updater/services/rust/hash_signed_data/src/
Dmacros.rs36 Some(name_os_str) => { name_os_str.to_str() },
Dlib.rs44 let hsd = signed_data_str.to_str(); in LoadHashSignedData()
78 let file_name = match file_name_c_str.to_str() { in GetSigFromHashData()
195 let img_name = match img_name_c_str.to_str() { in check_data_hash_template()
/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
Dlib.rs48 CStr::from_ptr(trace).to_str().unwrap().to_owned() in get_trace()
/base/msdp/device_status/rust/frameworks/client/src/
Dlib.rs116 let remote_network_id: String = match CStr::from_ptr(remote_network_id).to_str() { in fusion_start_coordination()
144 let device_id: String = match CStr::from_ptr(device_id).to_str() { in fusion_get_coordination_state()
/base/hiviewdfx/faultloggerd/interfaces/rust/rustc_demangle/
Dlib.rs36 let mangled_str = match std::ffi::CStr::from_ptr(mangled).to_str() { in rustc_demangle()
/base/request/request/services/src/task/
Dreason.rs71 pub(crate) fn to_str(self) -> &'static str { in to_str() method
Drequest_task.rs840 message: reason.to_str().into(), in get_each_file_status()
/base/msdp/device_status/rust/data/sys/src/ipc/
Dbasic.rs67 match cs.to_str() { in from_c()
/base/msdp/device_status/rust/subsystem/device_profile/sys/src/
Dadapter.rs125 if let Ok(id) = CStr::from_ptr(device_id).to_str() { in on_update()
420 let res = unsafe { CStr::from_ptr(data(self.data)).to_str() }; in data()
/base/security/asset/services/core_service/src/common_event/
Dlistener.rs89 let bundle_name = match c_str.to_str() { in on_package_removed()
138 let bundle_name = match c_str.to_str() { in on_app_restore()
/base/security/asset/services/db_operator/src/
Ddatabase.rs225 if let Ok(rs) = s.to_str() { in print_db_msg()
239 if let Ok(rs) = s.to_str() { in exec()
Dstatement.rs123 if let Ok(rn) = name.to_str() { in query_column_name()
/base/msdp/device_status/rust/subsystem/dsoftbus/sys/src/
Ddsoftbus.rs666 let data_slice: &str = data_str.to_str().unwrap(); in on_bytes_received()