Home
last modified time | relevance | path

Searched refs:rule_id (Results 1 – 15 of 15) sorted by relevance

/external/libtextclassifier/native/utils/grammar/parsing/
Dderivation.h29 int64 rule_id; member
33 int64 GetRuleId() const { return rule_id; } in GetRuleId()
78 if (sorted_candidates[j].rule_id != candidate.rule_id) { in DeduplicateDerivations()
Dmatcher_test.cc43 int rule_id; member
47 return os << "Result(rule_id=" << match.rule_id in operator <<()
75 MATCHER_P4(IsDerivation, begin, end, name, rule_id,
77 DescribeMatcher<int>(rule_id, negation) + ", begin that " +
83 ExplainMatchResult(rule_id, arg.rule_id, result_listener);
109 result.back().rule_id = derivation.rule_id; in GetMatchResults()
/external/libtextclassifier/native/annotator/datetime/
Dextractor.cc209 int* rule_id) const { in RuleIdForType()
219 *rule_id = locale_it->second; in RuleIdForType()
226 int rule_id; in ExtractType() local
227 if (!RuleIdForType(extractor_type, &rule_id)) { in ExtractType()
232 rules_[rule_id]->Matcher(input); in ExtractType()
332 int rule_id; in ParseWrittenNumber() local
333 if (!RuleIdForType(type_value_pair.first, &rule_id)) { in ParseWrittenNumber()
338 rules_[rule_id]->Matcher(input); in ParseWrittenNumber()
Dregex-parser.cc144 for (const int rule_id : rules_it->second) { in FindSpansUsingLocales() local
146 if (executed_rules->find(rule_id) != executed_rules->end()) { in FindSpansUsingLocales()
150 if ((rules_[rule_id].pattern->enabled_annotation_usecases() & in FindSpansUsingLocales()
155 if (!(rules_[rule_id].pattern->enabled_modes() & mode)) { in FindSpansUsingLocales()
159 executed_rules->insert(rule_id); in FindSpansUsingLocales()
162 ParseWithRule(rules_[rule_id], input, reference_time_ms_utc, in FindSpansUsingLocales()
Dextractor.h64 bool RuleIdForType(DatetimeExtractorType type, int* rule_id) const;
/external/libtextclassifier/native/utils/grammar/testing/
Dutils.h49 return os << "Derivation(rule_id=" << derivation.rule_id << ", "
53 MATCHER_P3(IsDerivation, rule_id, begin, end,
55 ::testing::DescribeMatcher<int>(rule_id, negation) +
62 ::testing::ExplainMatchResult(rule_id, arg.rule_id, result_listener);
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/msm_bus/bus_rules_apply/
Dformat9 field:int rule_id; offset:8; size:4; signed:1;
13 print fmt: "rule:%d limit_bw:%llu throttle_enable:%d", REC->rule_id, (unsigned long long)REC->limit…
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/msm_bus/bus_rules_matches/
Dformat10 field:int rule_id; offset:12; size:4; signed:1;
15 print fmt: "node:%d rule:%d node-ab:%llu ib:%llu clk:%llu", REC->node_id, REC->rule_id, (unsigned l…
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/msm_bus/bus_rules_matches/
Dformat10 field:int rule_id; offset:12; size:4; signed:1;
15 print fmt: "Rule match node%d rule%d node-ab%llu:ib%llu:clk%llu", REC->node_id, REC->rule_id, (unsi…
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc105 model_->rule_classification_result()->Get(derivation.rule_id)); in OverlappingDerivations()
212 model_->rule_classification_result()->Get(derivation.rule_id); in Annotate()
247 model_->rule_classification_result()->Get(derivation.rule_id); in SuggestSelection()
303 model_->rule_classification_result()->Get(derivation.rule_id); in ClassifyText()
/external/libtextclassifier/native/utils/grammar/
Danalyzer.cc64 /*rule_id=*/derivation.rule_id}, in Parse()
/external/libtextclassifier/native/actions/
Dgrammar-actions.cc44 grammar_rules_->rule_match()->Get(derivation.rule_id); in InstantiateActionsFromMatch()
/external/iptables/iptables/
Dnft.h94 uint32_t rule_id; member
Dnft.c2043 nftnl_rule_set_u32(r, NFTNL_RULE_ID, ++h->rule_id); in __nft_rule_del()
2190 ref_id = ++h->rule_id; in nft_rule_add()
/external/tensorflow/tensorflow/compiler/xla/stream_executor/cuda/
Dcuda_dnn.cc739 { "rule_id" : "ConvFwd_eng999", in CudnnExecutionPlanEngineFilterStatic()
746 { "rule_id" : "ConvFwd_eng42_k2=2_k4=3_k5=0_k6=0_k7=0", in CudnnExecutionPlanEngineFilterStatic()
760 { "rule_id" : "ConvFwd_eng42_k2=1_k4=3_k5=1_k6=0_k7=0", in CudnnExecutionPlanEngineFilterStatic()