Home
last modified time | relevance | path

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

12

/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/tests/
H A Dsdv_async_https_c_ssl.rs39 RootCA: path.to_str().unwrap(), in sdv_async_client_send_request()
59 RootCA: path.to_str().unwrap(), in sdv_async_client_send_request()
78 RootCA: path.to_str().unwrap(), in sdv_async_client_send_request()
98 RootCA: path.to_str().unwrap(), in sdv_async_client_send_request()
116 RootCA: path.to_str().unwrap(), in sdv_async_client_send_request()
142 RootCA: path.to_str().unwrap(), in sdv_client_send_request_repeatedly()
180 RootCA: path.to_str().unwrap(), in sdv_client_making_multiple_connections()
H A Dsdv_async_https_pinning.rs83 .tls_ca_file(path.to_str().unwrap()) in sdv_client_public_key_pinning()
132 .tls_ca_file(path.to_str().unwrap()) in sdv_client_public_key_pinning()
181 .tls_ca_file(path.to_str().unwrap()) in sdv_client_public_key_pinning()
265 .tls_ca_file(path.to_str().unwrap()) in sdv_client_public_key_pinning_error()
H A Dsdv_sync_https_c_ssl.rs39 Tls: path.to_str().unwrap(), in sdv_synchronized_client_send_request()
64 Tls: path.to_str().unwrap(), in sdv_synchronized_client_send_request_repeatedly()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dasync_pool.rs138 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_001()
198 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_002()
258 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_003()
318 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_004()
378 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_005()
438 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_006()
498 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_007()
558 let pid = dir.to_str().unwrap().parse::<i32>().unwrap(); in sdv_async_pool_008()
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/rust/src/
H A Dadapter.rs83 let path = match path.to_str() { in reader_iterator()
140 let path = match path.to_str() { in create_dir()
159 if let Some(str) = parent.to_str() { in get_parent()
176 let path_str = match CStr::from_ptr(path).to_str() { in cut_file_name()
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_ashmem_test.rs62 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_ffi_write_read_002()
104 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_ffi_write_read_003()
139 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_ffi_write_read_004()
171 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_ffi_write_read_005()
333 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_write_read_002()
373 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_write_read_003()
408 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_write_read_004()
439 let readout_str: &str = readout_c_str.to_str().expect("Bad encoding."); in test_ashmem_write_read_005()
/ohos5.0/base/update/updater/services/rust/hash_signed_data/src/
H A 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()
H A Dmacros.rs36 Some(name_os_str) => { name_os_str.to_str() },
/ohos5.0/base/msdp/device_status/rust/frameworks/client/src/
H A 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()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_ffrt/
H A Dbuild.rs27 env::join_paths([library_dir]).unwrap().to_str().unwrap() in main()
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/
H A Dlib.rs48 CStr::from_ptr(trace).to_str().unwrap().to_owned() in get_trace()
/ohos5.0/commonlibrary/rust/ylong_json/tests/
H A Dsdv_adapter_test.rs73 CStr::from_ptr(ptr).to_str().unwrap(),
91 CStr::from_ptr(ptr).to_str().unwrap(),
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/rustc_demangle/
H A Dlib.rs36 let mangled_str = match std::ffi::CStr::from_ptr(mangled).to_str() { in rustc_demangle()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_ffrt/src/
H A Dtask.rs71 .to_str() in get_name()
/ohos5.0/base/msdp/device_status/rust/data/sys/src/ipc/
H A Dbasic.rs67 match cs.to_str() { in from_c()
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/
H A Dhdf_module_mk_file.py54 replacement = '%sinclude $(HDF_DRIVER)' % drv_section.to_str()
/ohos5.0/foundation/multimodalinput/input/util/rust_key/src/
H A Dlib.rs46 let line_str: String = c_str.to_str().unwrap().to_owned(); in ReadConfigInfo()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/tests/common/
H A Dmod.rs309 .to_str()
372 .to_str()
/ohos5.0/base/request/request/services/src/task/
H A Dreason.rs84 pub(crate) fn to_str(self) -> &'static str { in to_str() method
H A Drequest_task.rs534 message: reason.to_str().into(), in get_each_file_status()
550 message: reason.to_str().into(), in get_each_file_status_by_code()
/ohos5.0/base/security/asset/services/core_service/src/common_event/
H A Dlistener.rs170 let bundle_name = match c_str.to_str() { in on_package_removed()
239 let bundle_name = match c_str.to_str() { in on_app_restore()
/ohos5.0/base/security/asset/services/db_operator/src/
H A Dstatement.rs123 if let Ok(rn) = name.to_str() { in query_column_name()
H A Ddatabase.rs412 if let Ok(rs) = s.to_str() { in print_db_msg()
426 if let Ok(rs) = s.to_str() { in exec()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/
H A Dctx.rs224 let path = match file.as_ref().as_os_str().to_str() { in get_c_file()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/
H A Derror.rs171 let func_error = self.func.as_ref().map(|s| s.to_str().unwrap_or_default()); in fmt()

12