Lines Matching defs:rule
31 static constexpr const char* const TAG_RULE = "rule";
65 HIVIEW_LOGE("cannot access rule file.");
70 HIVIEW_LOGE("bad rule file size.");
75 HIVIEW_LOGE("failed to parse rule file.");
80 HIVIEW_LOGE("no rule in rule file.");
103 HIVIEW_LOGE("failed to read rule file.");
109 HIVIEW_LOGE("failed to get root element in rule file.");
152 HIVIEW_LOGE("null rule attribute:domain.");
157 HIVIEW_LOGE("null rule attribute:stringid.");
161 FreezeRule rule = FreezeRule(domain, stringId);
165 ParseTagLinks(node, rule);
170 HIVIEW_LOGE("skip duplicated rule, stringid:%{public}s.", stringId.c_str());
174 rules_[domain + stringId] = rule;
177 void FreezeRuleCluster::ParseTagLinks(xmlNode* tag, FreezeRule& rule)
196 rule.AddResult(domain, stringId, result);
199 if (rule.GetDomain() == domain && rule.GetStringId() == stringId) {
377 HIVIEW_LOGE("failed to find rule result, domain:%{public}s stringid:%{public}s.",