Home
last modified time | relevance | path

Searched defs:rule (Results 1 – 25 of 25) sorted by relevance

/base/hiviewdfx/hichecker/interfaces/js/kits/napi/src/
Dnapi_hichecker.cpp36 uint64_t rule = GetRuleParam(env, info); in AddRule() local
45 uint64_t rule = GetRuleParam(env, info); in RemoveRule() local
54 uint64_t rule = HiChecker::GetRule(); in GetRule() local
60 uint64_t rule = GetRuleParam(env, info); in Contains() local
68 uint64_t rule = GetRuleParam(env, info); in AddCheckRule() local
79 uint64_t rule = GetRuleParam(env, info); in RemoveCheckRule() local
91 uint64_t rule = GetRuleParam(env, info); in ContainsCheckRule() local
173 uint64_t rule = GET_RULE_PARAM_FAIL; in GetRuleParam() local
/base/hiviewdfx/hichecker/frameworks/native/
Dhichecker.cpp45 void HiChecker::AddRule(uint64_t rule) in AddRule()
58 void HiChecker::RemoveRule(uint64_t rule) in RemoveRule()
77 bool HiChecker::Contains(uint64_t rule) in Contains()
118 void HiChecker::NotifyCaution(uint64_t rule, const std::string& tag, Caution& caution) in NotifyCaution()
215 bool HiChecker::CheckRule(uint64_t rule) in CheckRule()
245 uint64_t rule = std::stoull(paramStr); in InitHicheckerParam() local
Dcaution.cpp35 void Caution::SetTriggerRule(uint64_t rule) in SetTriggerRule()
/base/global/i18n_lite/frameworks/i18n/src/
Dplural_format_impl.cpp163 bool PluralFormatImpl::ParseDecimalRule(const std::string &rule, const int ruleSize, const int *num… in ParseDecimalRule()
203 bool PluralFormatImpl::ParseDecimalFormula(const std::string &rule, const int ruleSize, int &index, in ParseDecimalFormula()
246 bool PluralFormatImpl::ParseRule(const std::string &rule, const int ruleSize, const int number) con… in ParseRule() argument
284 bool PluralFormatImpl::ParseFormula(const std::string &rule, const int ruleSize, int &index, const … in ParseFormula() argument
304 bool PluralFormatImpl::CompareResult(const std::string &rule, const int ruleSize, int &index, const… in CompareResult() argument
339 bool PluralFormatImpl::CompareNotEqualResult(const std::string &rule, const int ruleSize, int &inde… in CompareNotEqualResult()
375 int PluralFormatImpl::ParseNumber(const std::string &rule, const int ruleSize, int &index) const in ParseNumber() argument
/base/hiviewdfx/hichecker/test/unittest/common/native/
Dhichecker_native_test.cpp69 uint64_t rule = Rule::RULE_THREAD_CHECK_SLOW_PROCESS; variable
84 uint64_t rule = Rule::RULE_THREAD_CHECK_SLOW_PROCESS | variable
140 …uint64_t rule = Rule::ALL_RULES ^ (Rule::RULE_CAUTION_PRINT_LOG | Rule::RULE_CAUTION_TRIGGER_CRASH… variable
155 …uint64_t rule = Rule::ALL_RULES ^ (Rule::RULE_CAUTION_PRINT_LOG | Rule::RULE_CAUTION_TRIGGER_CRASH… variable
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/
Drunning_status_log_util.cpp32 for (auto& rule : rules) { in LogTooManyQueryRules() local
56 for (auto& rule : rules) { in LogTooManyWatchRules() local
Dsys_event_service_ohos.cpp49 bool MatchContent(int type, const string& rule, const string& match) in MatchContent()
70 bool MatchEventType(int rule, int match) in MatchEventType()
75 bool IsMatchedRule(const OHOS::HiviewDFX::SysEventRule& rule, const string& domain, in IsMatchedRule()
90 return any_of(rules.begin(), rules.end(), [domain, eventName, tag, eventType] (auto& rule) { in MatchRules()
356 return !any_of(rules.cbegin(), rules.cend(), [this, callingUid, &builder] (auto& rule) { in BuildEventQuery()
503 for_each(rules.cbegin(), rules.cend(), [&](const SysEventQueryRule &rule) { in MergeEventList()
Devent_query_wrapper_builder.cpp417 …(queryRules.begin(), queryRules.end(), [&domain, &eventName, &eventType, &extraInfo] (auto& rule) { in Append()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_manager_c_test.cpp55 void InitQueryRule(HiSysEventQueryRule& rule) in InitQueryRule()
63 void InitQueryRuleWithCondition(HiSysEventQueryRule& rule, const std::string& cond) in InitQueryRuleWithCondition()
143 HiSysEventQueryRule rule; in QueryTestWithCondition() local
368 HiSysEventQueryRule rule; variable
676 HiSysEventQueryRule rule; variable
705 HiSysEventQueryRule rule; variable
734 HiSysEventQueryRule rule; variable
767 HiSysEventQueryRule rule; variable
800 HiSysEventQueryRule rule; variable
833 HiSysEventQueryRule rule; variable
[all …]
Dhisysevent_native_test.cpp140 OHOS::HiviewDFX::QueryRule rule("", eventNames); // empty domain variable
162 OHOS::HiviewDFX::QueryRule rule("DOMAIN", eventNames); variable
1161 OHOS::HiviewDFX::QueryRule rule("DOMAIN", eventNames); variable
Dhisysevent_adapter_native_test.cpp254 QueryRule rule("AAFWK", eventNames); variable
/base/hiviewdfx/hiview/utility/smart_parser/
Dsmart_parser.cpp37 Rule rule(eventPath, config, eventType); in Analysis() local
/base/hiviewdfx/hichecker/interfaces/native/innerkits/include/
Dhichecker.h46 bool CautionEnable(uint64_t rule) const in CautionEnable()
/base/hiviewdfx/hiview/plugins/freeze_detector/
Drule_cluster.cpp137 FreezeRule rule = FreezeRule(domain, stringId); in ParseTagRule() local
153 void FreezeRuleCluster::ParseTagLinks(xmlNode* tag, FreezeRule& rule) in ParseTagLinks()
/base/hiviewdfx/hisysevent/adapter/native/idl/src/
Dhisysevent_delegate.cpp194 for_each(rules.cbegin(), rules.cend(), [&sysRules](const ListenerRule& rule) { in ConvertListenerRule()
206 for_each(rules.cbegin(), rules.cend(), [&sysRules](const QueryRule &rule) { in ConvertQueryRule()
/base/hiviewdfx/hiview/utility/smart_parser/feature_analysis/
Dfeature_analysis.cpp192 bool FeatureAnalysis::ParseElementForParam(const string& src, FeatureRule& rule) in ParseElementForParam()
250 bool FeatureAnalysis::CheckVariable(const FeatureRule& rule, const string& leftTag, const string& r… in CheckVariable() argument
265 void FeatureAnalysis::ReplaceVariable(FeatureRule& rule, const string& symbol, const string& value)… in ReplaceVariable()
/base/hiviewdfx/hisysevent/frameworks/native/
Dhisysevent_tool.cpp264 QueryRule rule(clientCmdArg.domain, { clientCmdArg.eventName }, in DoAction() local
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/
Dsys_event_service_ohos_test.cpp189 SysEventRule rule; in GetTestRule() local
723 …OHOS::HiviewDFX::SysEventRule rule("DOMAIN1", "EVENT_NAME2", "TAG3", OHOS::HiviewDFX::RuleType::WH… variable
795 SysEventRule rule = GetTestRule(0, "DOMAIN", "EVENT_NAME"); variable
/base/hiviewdfx/hiview/build/
Dplugin_build.json38 "rule": [ array
/base/telephony/core_service/services/sim/src/
Dicc_operator_rule.cpp119 IccOperatorRule rule; in CreateFromTLV() local
Dicc_operator_privilege_controller.cpp243 for (const auto &rule : rules_) { in HasOperatorPrivileges() local
/base/telephony/core_service/services/network_search/src/
Doperator_name.cpp316 void OperatorName::PublishEvent(const int32_t rule, const RegServiceState state, const bool showPlm… in PublishEvent()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
Dnapi_hisysevent_util.cpp456 bool IsQueryRuleValid(const napi_env env, const QueryRule& rule) in IsQueryRuleValid()
/base/telephony/core_service/services/tel_ril/test/
Dtel_ril_test.cpp1236 LinkBandwidthRule rule; in OnRequestSetLinkBandwidthReportingRuleTest() local
/base/telephony/core_service/test/unittest/tel_ril_gtest/
Dtel_ril_test_util.cpp2210 LinkBandwidthRule rule; in OnRequestSetLinkBandwidthReportingRuleTest() local