Home
last modified time | relevance | path

Searched refs:keywords (Results 1 – 4 of 4) sorted by relevance

/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/
Dsignal_handler_test.cpp74 string keywords[] = { in CheckLocalCrashKeyWords() local
79 string keywords[] = { in CheckLocalCrashKeyWords() local
85 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckLocalCrashKeyWords()
87 return CheckKeyWords(filePath, keywords, length, minRegIdx) == length; in CheckLocalCrashKeyWords()
105 string keywords[] = { in CheckThreadCrashKeyWords() local
109 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckThreadCrashKeyWords()
111 return CheckKeyWords(filePath, keywords, length, minRegIdx) == length; in CheckThreadCrashKeyWords()
133 string keywords[] = { in CheckCrashKeyWords() local
137 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckCrashKeyWords()
139 return CheckKeyWords(filePath, keywords, length, minRegIdx) == length; in CheckCrashKeyWords()
/base/hiviewdfx/faultloggerd/test/utils/
Ddfx_test_util.h55 int CheckKeyWords(const std::string& filePath, std::string *keywords, int length, int minRegIdx);
57 int GetKeywordsNum(const std::string& msg, std::string *keywords, int length);
Ddfx_test_util.cpp144 int CheckKeyWords(const std::string& filePath, std::string *keywords, int length, int minRegIdx) in CheckKeyWords() argument
157 idx = t.at(i).find(keywords[j]); in CheckKeyWords()
175 std::cout << "Not found keyword: " << keywords[j] << std::endl; in CheckKeyWords()
199 int GetKeywordsNum(const std::string& msg, std::string *keywords, int length) in GetKeywordsNum() argument
204 idx = msg.find(keywords[i]); in GetKeywordsNum()
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/
Ddfx_processdump_test.cpp95 string keywords[] = { in CheckCppCrashKeyWords() local
99 int length = sizeof(keywords) / sizeof(keywords[0]); in CheckCppCrashKeyWords()
101 int count = CheckKeyWords(filePath, keywords, length, minRegIdx); in CheckCppCrashKeyWords()