Searched refs:file_ex (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/ |
H A D | rust_utils_file_test.rs | 17 use utils_rust::file_ex; 57 assert!(file_ex::ffi::RustLoadStringFromFd(fd, &mut str2)); in test_load_string_from_file_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() 273 let mut ret = file_ex::ffi::RustSaveStringToFd(0, &content); in test_save_string_to_fd_001() 275 ret = file_ex::ffi::RustSaveStringToFd(-1, &content); in test_save_string_to_fd_001() 279 ret = file_ex::ffi::RustSaveStringToFd(0, &content); in test_save_string_to_fd_001() 281 ret = file_ex::ffi::RustSaveStringToFd(-1, &content); in test_save_string_to_fd_001() 537 assert!(file_ex::ffi::RustFileExists(&filepath)); in test_file_exist_001() [all …]
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c_utils_guide_rust_file.md | 4 …master/docs/zh-cn/c-utils-guide-file.md)的接口。其在Rust侧构成utils_rust包(Crate)中的file_ex模块,包括对文件内容的读写以及对指定… 7 ### utils_rust::file_ex::ffi 8 子模块`file_ex::ffi`借助CXX工具通过FFI实现与C++对应代码的互操作。其中各接口通过FFI调用C++侧对应接口,以实现读写文件相关功能。 12 `using utils_rust::file_ex` 36 - 使用以下具体命令以运行`utils_rust::file_ex`对应测试用例
|
H A D | c-utils-guide-file.md | 7 ### include/file_ex.h 38 - 使用以下具体命令以运行`file_ex.h`对应测试用例
|
/ohos5.0/commonlibrary/c_utils/base/ |
H A D | BUILD.gn | 79 "src/file_ex.cpp", 215 "src/rust/file_ex.rs", 223 "src/file_ex.cpp", 248 "src/rust/file_ex.rs", 269 "src/rust/file_ex.rs",
|
/ohos5.0/commonlibrary/c_utils/base/src/rust/ |
H A D | lib.rs | 24 pub mod file_ex; module
|
/ohos5.0/foundation/ai/intelligent_voice_framework/llt/hdt/depend_libs/cmake/ |
H A D | libutilsbase.cmake | 18 ${UTILSBASE_DIR}/src/file_ex.cpp)
|