/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/crash_exception/ |
H A D | crash_exception_test.cpp | 118 std::string keyWord = "process_name_string"; variable 124 crashListener->SetKeyWord(keyWord); 125 ReportCrashException(keyWord, TEST_PROCESS_ID, TEST_UID, CrashExceptionCode::CRASH_UNKNOWN); 139 std::string keyWord = "process_name_string"; variable 145 crashListener->SetKeyWord(keyWord); 160 std::string keyWord = "process_name_unwind"; variable 166 crashListener->SetKeyWord(keyWord); 167 SetCrashProcInfo(keyWord, TEST_PROCESS_ID, TEST_UID); 182 std::string keyWord = "process_name_unwind"; variable 188 crashListener->SetKeyWord(keyWord); [all …]
|
H A D | crash_exception_listener.cpp | 23 void CrashExceptionListener::SetKeyWord(const std::string& keyWord) in SetKeyWord() argument 25 this->keyWord = keyWord; in SetKeyWord() 38 if (reason.find(keyWord) == std::string::npos) { in OnEvent()
|
H A D | crash_exception_listener.h | 29 void SetKeyWord(const std::string& keyWord); 35 std::string keyWord;
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/panic_handler/ |
H A D | rustpanic_listener.cpp | 23 void RustPanicListener::SetKeyWord(const std::string& keyWord) in SetKeyWord() argument 25 std::cout << "Enter SetKeyWord:" << keyWord << std::endl; in SetKeyWord() 26 this->keyWord = keyWord; in SetKeyWord() 42 if (reason.find(keyWord) == std::string::npos) { in OnEvent()
|
H A D | rustpanic_listener.h | 29 void SetKeyWord(const std::string& keyWord); 35 std::string keyWord;
|
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/test/common/ |
H A D | faultevent_listener.cpp | 41 for (const auto& keyWord : keyWords) { in OnEvent() local 42 std::cout << "match KeyWords, keyWord:" << keyWord << " , str:" << str << std::endl; in OnEvent() 43 if (str.find(keyWord) == std::string::npos) { in OnEvent()
|
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/backtrace/ |
H A D | backtrace_utils_test.cpp | 119 for (std::string keyWord : existKeyWords) { in CheckBacktraceContent() local 120 if (!CheckContent(content, keyWord, true)) { in CheckBacktraceContent() 125 for (std::string keyWord : notExistkeyWords) { in CheckBacktraceContent() local 126 if (!CheckContent(content, keyWord, false)) { in CheckBacktraceContent()
|
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
H A D | datashare_helper.h | 53 int32_t EqualTo(const std::string &keyWord, const std::string &value) in EqualTo() argument
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | db_common.cpp | 437 bool DBCommon::HasConstraint(const std::string &sql, const std::string &keyWord, const std::string … in HasConstraint() argument 441 while ((pos = sql.find(keyWord, pos)) != std::string::npos) { in HasConstraint() 442 … if (pos >= 1 && CharIn(sql[pos - 1], prePattern) && ((pos + keyWord.length() == sql.length()) || in HasConstraint() 443 … ((pos + keyWord.length() < sql.length()) && CharIn(sql[pos + keyWord.length()], nextPattern)))) { in HasConstraint()
|
/ohos5.0/base/hiviewdfx/hilog/test/moduletest/common/ |
H A D | hilog_ndk_test.cpp | 169 static void FlowCtlTest(const HiLogLabel &label, const std::string keyWord) in FlowCtlTest() argument 178 EXPECT_TRUE(logMsgs.find(keyWord) != std::string::npos); in FlowCtlTest()
|
/ohos5.0/base/update/sys_installer/services/module_update/util/include/ |
H A D | module_utils.h | 48 …evertResult(const std::string &hmpPath, const std::string &resultInfo, const std::string &keyWord);
|
/ohos5.0/base/update/sys_installer/services/module_update/util/src/ |
H A D | module_utils.cpp | 360 …RevertResult(const std::string &hmpPath, const std::string &resultInfo, const std::string &keyWord) in CheckAndUpdateRevertResult() argument 362 if (resultInfo.find(keyWord) == std::string::npos) { in CheckAndUpdateRevertResult()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/include/ |
H A D | db_common.h | 93 …static bool HasConstraint(const std::string &sql, const std::string &keyWord, const std::string &p…
|
/ohos5.0/commonlibrary/ets_utils/js_api_module/url/ |
H A D | js_url.cpp | 242 std::string keyWord = userAndPasswd.substr(position + 1); in AnalysisUsernameAndPasswd() local 247 if (!keyWord.empty()) { in AnalysisUsernameAndPasswd() 248 password = keyWord; in AnalysisUsernameAndPasswd() 1687 std::string keyWord = input; in SetPassword() local 1690 ReplaceSpecialSymbols(keyWord, g_specialSymbols[i], g_specialSymbols[i + 1]); in SetPassword() 1692 urlData_.password = keyWord; in SetPassword()
|