Home
last modified time | relevance | path

Searched refs:keyWord (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/crash_exception/
H A Dcrash_exception_test.cpp118 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 Dcrash_exception_listener.cpp23 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 Dcrash_exception_listener.h29 void SetKeyWord(const std::string& keyWord);
35 std::string keyWord;
/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/panic_handler/
H A Drustpanic_listener.cpp23 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 Drustpanic_listener.h29 void SetKeyWord(const std::string& keyWord);
35 std::string keyWord;
/ohos5.0/base/hiviewdfx/hiview/plugins/faultlogger/test/common/
H A Dfaultevent_listener.cpp41 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 Dbacktrace_utils_test.cpp119 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 Ddatashare_helper.h53 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 Ddb_common.cpp437 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 Dhilog_ndk_test.cpp169 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 Dmodule_utils.h48 …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 Dmodule_utils.cpp360 …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 Ddb_common.h93 …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 Djs_url.cpp242 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()