Searched refs:RustLoadStringFromFd (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_file_test.rs | 57 assert!(file_ex::ffi::RustLoadStringFromFd(fd, &mut str2)); in test_load_string_from_file_001() 121 assert!(!file_ex::ffi::RustLoadStringFromFd(-1, &mut result)); in test_load_string_from_fd_001() 133 assert!(file_ex::ffi::RustLoadStringFromFd(fd, &mut result)); in test_load_string_from_fd_002() 146 assert!(file_ex::ffi::RustLoadStringFromFd(fd, &mut result)); in test_load_string_from_fd_003() 159 assert!(file_ex::ffi::RustLoadStringFromFd(fd, &mut result)); in test_load_string_from_fd_004() 172 assert!(!file_ex::ffi::RustLoadStringFromFd(fd, &mut result)); in test_load_string_from_fd_005() 188 assert!(!file_ex::ffi::RustLoadStringFromFd(fd, &mut result)); in test_load_string_from_fd_006() 297 ret = file_ex::ffi::RustLoadStringFromFd(fd, &mut load_result); in test_save_string_to_fd_002() 315 ret = file_ex::ffi::RustLoadStringFromFd(fd, &mut load_result); in test_save_string_to_fd_003() 334 ret = file_ex::ffi::RustLoadStringFromFd(fd, &mut load_result); in test_save_string_to_fd_004()
|
/ohos5.0/commonlibrary/c_utils/base/src/rust/ |
H A D | file_ex.rs | 30 pub fn RustLoadStringFromFd(fd: i32, content: &mut String) -> bool; in RustLoadStringFromFd() function
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | file_ex.h | 42 bool RustLoadStringFromFd(int fd, rust::String& content);
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c_utils_guide_rust_file.md | 21 | bool | **RustLoadStringFromFd**(fd: i32, content: &mut String)<br>通过文件对应的文件描述符,从中读取全部字符串存入输入`Stri…
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | file_ex.cpp | 47 bool RustLoadStringFromFd(int fd, rust::String& content) in RustLoadStringFromFd() function
|