Searched refs:read_to_string (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/ |
H A D | lib.rs | 46 let binding = fs::read_to_string(path).unwrap(); in read_process_name() 59 fs::read_to_string(path).unwrap() in read_thread_name()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/fs/ |
H A D | async_dir.rs | 298 pub async fn read_to_string<P: AsRef<Path>>(path: P) -> io::Result<String> { in read_to_string() function 300 async_op(move || std::fs::read_to_string(path)).await in read_to_string() 735 read_to_string, remove_dir_all, remove_file, rename, set_permissions, symlink_metadata, 810 let s = read_to_string(file_path).await.unwrap(); in ut_fs_write_and_read_to_string()
|
H A D | mod.rs | 25 read_to_string, remove_dir, remove_dir_all, remove_file, rename, set_permissions,
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/stacktrace_rust/ |
H A D | main.rs | 60 let trace = fs::read_to_string(path).unwrap(); in test_print_trace()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/examples/ |
H A D | async_certs_adapter.rs | 35 file.read_to_string(&mut contents).unwrap(); in verify()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | async_read.rs | 69 let ret = buf_reader.read_to_string(&mut res).await.unwrap(); in sdv_buf_reader_read_to_string()
|
H A D | async_pool.rs | 68 match fs::read_to_string(path) { in name_of_pid()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/ |
H A D | async_read.rs | 167 fn read_to_string<'a>(&'a mut self, dst: &'a mut String) -> ReadToStringTask<'a, Self> { in read_to_string() method
|
H A D | read_task.rs | 508 let res = reader.read_to_string(&mut buf).await; in ut_io_string_result()
|
/ohos5.0/foundation/communication/ipc/interfaces/innerkits/rust/src/parcel/ |
H A D | wrapper.rs | 780 f.read_to_string(&mut buf).unwrap(); in file_descriptor()
|