Home
last modified time | relevance | path

Searched refs:StringExistsInFile (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/commonlibrary/c_utils/base/test/unittest/common/
H A Dutils_file_test.cpp585 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 Dutils_mapped_file_test.cpp459 EXPECT_TRUE(StringExistsInFile(filename, toWrite));
/ohos5.0/commonlibrary/c_utils/base/test/benchmarktest/file_benchmark_test/
H A Dfile_benchmark_test.cpp706 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 Dfile_ex.h142 bool StringExistsInFile(const std::string& fileName, const std::string& subStr, bool caseSensitive …
/ohos5.0/commonlibrary/c_utils/docs/zh-cn/
H A Dc-utils-guide-file.md27 | bool | **StringExistsInFile**(const std::string& fileName, const std::string& subStr, bool caseSe…
/ohos5.0/commonlibrary/c_utils/base/src/
H A Dfile_ex.cpp98 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 Dfile_ex.cpp278 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 Dmapped_benchmark_test.cpp321 AssertTrue((StringExistsInFile(filename, toWrite)), in BENCHMARK_F()