Searched refs:StringExistsInFile (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/ |
H A D | utils_file_test.cpp | 585 EXPECT_FALSE(StringExistsInFile(filename, str, true)); 599 EXPECT_FALSE(StringExistsInFile(filename, str, true)); 613 EXPECT_TRUE(StringExistsInFile(filename, str, true)); 628 EXPECT_FALSE(StringExistsInFile(filename, str1, true)); 629 EXPECT_TRUE(StringExistsInFile(filename, str2, true)); 643 EXPECT_TRUE(StringExistsInFile(filename, str, false)); 644 EXPECT_FALSE(StringExistsInFile(filename, str, true)); 666 EXPECT_TRUE(StringExistsInFile(filename, str2, true)); 669 EXPECT_TRUE(StringExistsInFile(filename, str3, true)); 691 EXPECT_TRUE(StringExistsInFile(filename, str1, true)); [all …]
|
H A D | utils_mapped_file_test.cpp | 459 EXPECT_TRUE(StringExistsInFile(filename, toWrite));
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/file_benchmark_test/ |
H A D | file_benchmark_test.cpp | 706 AssertFalse((StringExistsInFile(filename, str, true)), in BENCHMARK_F() 725 AssertFalse((StringExistsInFile(filename, str, true)), in BENCHMARK_F() 744 AssertTrue((StringExistsInFile(filename, str, true)), in BENCHMARK_F() 764 AssertFalse((StringExistsInFile(filename, str1, true)), in BENCHMARK_F() 766 AssertTrue((StringExistsInFile(filename, str2, true)), in BENCHMARK_F() 785 AssertTrue((StringExistsInFile(filename, str, false)), in BENCHMARK_F() 787 AssertFalse((StringExistsInFile(filename, str, true)), in BENCHMARK_F() 817 AssertTrue((StringExistsInFile(filename, str2, true)), in BENCHMARK_F() 822 AssertTrue((StringExistsInFile(filename, str3, true)), in BENCHMARK_F() 854 AssertTrue((StringExistsInFile(filename, str1, true)), in BENCHMARK_F() [all …]
|
/ohos5.0/commonlibrary/c_utils/base/include/ |
H A D | file_ex.h | 142 bool StringExistsInFile(const std::string& fileName, const std::string& subStr, bool caseSensitive …
|
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/ |
H A D | c-utils-guide-file.md | 27 | bool | **StringExistsInFile**(const std::string& fileName, const std::string& subStr, bool caseSe…
|
/ohos5.0/commonlibrary/c_utils/base/src/ |
H A D | file_ex.cpp | 98 return StringExistsInFile(tmpName, tmpStr, caseSensitive); in RustStringExistsInFile() 357 bool StringExistsInFile(const string& fileName, const string& subStr, bool caseSensitive /*= true*/) in StringExistsInFile() function
|
/ohos5.0/foundation/ai/intelligent_voice_framework/llt/hdt/depend_libs/src/ |
H A D | file_ex.cpp | 278 bool StringExistsInFile(const string& fileName, const string& subStr, bool caseSensitive /* = true … in StringExistsInFile() function
|
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/mapped_benchmark_test/ |
H A D | mapped_benchmark_test.cpp | 321 AssertTrue((StringExistsInFile(filename, toWrite)), in BENCHMARK_F()
|