Home
last modified time | relevance | path

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

/ohos5.0/commonlibrary/c_utils/base/test/unittest/rust/
H A Drust_utils_file_test.rs442 assert!(!file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_001()
452 assert!(!file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_002()
462 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_003()
473 assert!(!file_ex::ffi::RustStringExistsInFile(&filename, &str_value1, true)); in test_string_exists_in_file_004()
474 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value2, true)); in test_string_exists_in_file_004()
484 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value, false)); in test_string_exists_in_file_005()
485 assert!(!file_ex::ffi::RustStringExistsInFile(&filename, &str_value, true)); in test_string_exists_in_file_005()
503 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value2, true)); in test_string_exists_in_file_006()
506 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value3, true)); in test_string_exists_in_file_006()
524 assert!(file_ex::ffi::RustStringExistsInFile(&filename, &str_value1, true)); in test_string_exists_in_file_007()
[all …]
/ohos5.0/commonlibrary/c_utils/base/src/rust/
H A Dfile_ex.rs49 pub fn RustStringExistsInFile( in RustStringExistsInFile() function
/ohos5.0/commonlibrary/c_utils/base/include/
H A Dfile_ex.h48 bool RustStringExistsInFile(const rust::String& fileName, const rust::String& subStr, bool caseSens…
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc_utils_guide_rust_file.md26 | bool | **RustStringExistsInFile**(fileName: &String, subStr: &String, caseSensitive: bool)<br>检查指…
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dfile_ex.cpp94 bool RustStringExistsInFile(const rust::String& fileName, const rust::String& subStr, bool caseSens… in RustStringExistsInFile() function