Home
last modified time | relevance | path

Searched refs:to_cstring (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/frameworks/native/libs/binder/rust/src/
H A Derror.rs108 fn to_cstring<T: AsRef<str>>(message: T) -> Option<CString> { in to_cstring() function
150 Self::new_service_specific_error(err, message.and_then(to_cstring).as_deref()) in new_service_specific_error_str()
172 Self::new_exception(exception, message.and_then(to_cstring).as_deref()) in new_exception_str()
/aosp_15_r20/packages/modules/Virtualization/guest/pvmfw/src/
Ddevice_assignment.rs216 fn to_cstring(&self) -> CString { in to_cstring() method
354 Ok(overlaid_path.to_cstring()) in locate_overlay_target_path()