/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/tests/ |
H A D | sdv_async_https_c_ssl.rs | 39 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 D | sdv_async_https_pinning.rs | 83 .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 D | sdv_sync_https_c_ssl.rs | 39 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 D | async_pool.rs | 138 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 D | adapter.rs | 83 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 D | rust_utils_ashmem_test.rs | 62 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 D | lib.rs | 44 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 D | macros.rs | 36 Some(name_os_str) => { name_os_str.to_str() },
|
/ohos5.0/base/msdp/device_status/rust/frameworks/client/src/ |
H A D | lib.rs | 116 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 D | build.rs | 27 env::join_paths([library_dir]).unwrap().to_str().unwrap() in main()
|
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/stacktrace/ |
H A D | lib.rs | 48 CStr::from_ptr(trace).to_str().unwrap().to_owned() in get_trace()
|
/ohos5.0/commonlibrary/rust/ylong_json/tests/ |
H A D | sdv_adapter_test.rs | 73 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 D | lib.rs | 36 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 D | task.rs | 71 .to_str() in get_name()
|
/ohos5.0/base/msdp/device_status/rust/data/sys/src/ipc/ |
H A D | basic.rs | 67 match cs.to_str() { in from_c()
|
/ohos5.0/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
H A D | hdf_module_mk_file.py | 54 replacement = '%sinclude $(HDF_DRIVER)' % drv_section.to_str()
|
/ohos5.0/foundation/multimodalinput/input/util/rust_key/src/ |
H A D | lib.rs | 46 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 D | mod.rs | 309 .to_str() 372 .to_str()
|
/ohos5.0/base/request/request/services/src/task/ |
H A D | reason.rs | 84 pub(crate) fn to_str(self) -> &'static str { in to_str() method
|
H A D | request_task.rs | 534 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 D | listener.rs | 170 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 D | statement.rs | 123 if let Ok(rn) = name.to_str() { in query_column_name()
|
H A D | database.rs | 412 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 D | ctx.rs | 224 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 D | error.rs | 171 let func_error = self.func.as_ref().map(|s| s.to_str().unwrap_or_default()); in fmt()
|