Home
last modified time | relevance | path

Searched refs:read_to_string (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/rust/panic_handler/
H A Dlib.rs46 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 Dasync_dir.rs298 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 Dmod.rs25 read_to_string, remove_dir, remove_dir_all, remove_file, rename, set_permissions,
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/stacktrace_rust/
H A Dmain.rs60 let trace = fs::read_to_string(path).unwrap(); in test_print_trace()
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/examples/
H A Dasync_certs_adapter.rs35 file.read_to_string(&mut contents).unwrap(); in verify()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/
H A Dasync_read.rs69 let ret = buf_reader.read_to_string(&mut res).await.unwrap(); in sdv_buf_reader_read_to_string()
H A Dasync_pool.rs68 match fs::read_to_string(path) { in name_of_pid()
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/io/
H A Dasync_read.rs167 fn read_to_string<'a>(&'a mut self, dst: &'a mut String) -> ReadToStringTask<'a, Self> { in read_to_string() method
H A Dread_task.rs508 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 Dwrapper.rs780 f.read_to_string(&mut buf).unwrap(); in file_descriptor()