Searched refs:keywords (Results 1 – 4 of 4) sorted by relevance
/base/hiviewdfx/faultloggerd/test/unittest/signal_handler/ |
D | signal_handler_test.cpp | 74 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/ |
D | dfx_test_util.h | 55 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);
|
D | dfx_test_util.cpp | 144 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/ |
D | dfx_processdump_test.cpp | 95 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()
|