Home
last modified time | relevance | path

Searched refs:RustSaveStringToFile (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dfile_ex.rs27 pub fn RustSaveStringToFile(filePath: &String, content: &String, truncated: bool) -> bool; in RustSaveStringToFile() function
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_file_test.rs199 let ret = file_ex::ffi::RustSaveStringToFile(&path, &new_content, true); in test_save_string_to_file_001()
215 assert!(file_ex::ffi::RustSaveStringToFile(&path, &new_content, true)); in test_save_string_to_file_002()
230 assert!(file_ex::ffi::RustSaveStringToFile(&path, &new_content, true)); in test_save_string_to_file_003()
245 assert!(file_ex::ffi::RustSaveStringToFile(&path, &new_content, false)); in test_save_string_to_file_004()
261 assert!(file_ex::ffi::RustSaveStringToFile(&path, &new_content, false)); in test_save_string_to_file_005()
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dfile_ex.h45 bool RustSaveStringToFile(const rust::String& filePath, const rust::String& content, bool truncated…
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc_utils_guide_rust_file.md25 | bool | **RustSaveStringToFile**(filePath: &String, content: &String, truncated: bool)<br>将字符串写入指定…
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dfile_ex.cpp75 bool RustSaveStringToFile(const rust::String& filePath, const rust::String& content, bool truncated) in RustSaveStringToFile() function