/external/libtextclassifier/native/utils/grammar/parsing/ |
D | matcher_test.cc | 130 static_cast<CallbackId>(DefaultCallback::kRootRule)); in TEST_F() 132 static_cast<CallbackId>(DefaultCallback::kRootRule)); in TEST_F() 157 static_cast<CallbackId>(DefaultCallback::kRootRule), 6); in CreateTestGrammar() 159 static_cast<CallbackId>(DefaultCallback::kRootRule), 1); in CreateTestGrammar() 163 static_cast<CallbackId>(DefaultCallback::kRootRule), 2); in CreateTestGrammar() 165 static_cast<CallbackId>(DefaultCallback::kRootRule), 3); in CreateTestGrammar() 167 static_cast<CallbackId>(DefaultCallback::kRootRule), 4); in CreateTestGrammar() 171 static_cast<CallbackId>(DefaultCallback::kRootRule), 5); in CreateTestGrammar() 173 static_cast<CallbackId>(DefaultCallback::kRootRule), 5); in CreateTestGrammar() 271 static_cast<CallbackId>(DefaultCallback::kRootRule)); in TEST_F() [all …]
|
D | parser_test.cc | 52 static_cast<CallbackId>(DefaultCallback::kRootRule), kDate); in TEST_F() 68 static_cast<CallbackId>(DefaultCallback::kRootRule), kTest); in TEST_F() 92 static_cast<CallbackId>(DefaultCallback::kRootRule), in TEST_F() 113 static_cast<CallbackId>(DefaultCallback::kRootRule), in TEST_F() 136 static_cast<CallbackId>(DefaultCallback::kRootRule), kFlight); in TEST_F() 159 static_cast<CallbackId>(DefaultCallback::kRootRule), kCallPhone); in TEST_F() 189 static_cast<CallbackId>(DefaultCallback::kRootRule), in TEST_F() 214 static_cast<CallbackId>(DefaultCallback::kRootRule), kSetReminder); in TEST_F() 234 static_cast<CallbackId>(DefaultCallback::kRootRule), kSetReminder); in TEST_F() 257 static_cast<CallbackId>(DefaultCallback::kRootRule), kFlight); in TEST_F() [all …]
|
D | matcher.cc | 223 Nonterm* nonterminal, CallbackId* callback, int64* param, in GetLhs() 328 CallbackId callback_id; in ExecuteLhsSet()
|
/external/libtextclassifier/native/utils/grammar/semantics/ |
D | composer_test.cc | 50 static_cast<CallbackId>(DefaultCallback::kSemanticExpression), in TEST_F() 64 static_cast<CallbackId>(DefaultCallback::kSemanticExpression), in TEST_F() 78 static_cast<CallbackId>(DefaultCallback::kRootRule), kMonth); in TEST_F() 124 static_cast<CallbackId>(DefaultCallback::kSemanticExpression), in TEST_F() 141 static_cast<CallbackId>(DefaultCallback::kMapping), in TEST_F() 144 static_cast<CallbackId>(DefaultCallback::kSemanticExpression), in TEST_F() 151 static_cast<CallbackId>(DefaultCallback::kRootRule), in TEST_F()
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator_test.cc | 60 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 98 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 146 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 178 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 223 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 287 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 333 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 364 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 415 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 475 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() [all …]
|
/external/libtextclassifier/native/utils/grammar/ |
D | analyzer_test.cc | 45 static_cast<CallbackId>(DefaultCallback::kSemanticExpression), in TEST_F() 50 static_cast<CallbackId>(DefaultCallback::kSemanticExpression), in TEST_F() 56 static_cast<CallbackId>(DefaultCallback::kRootRule), kMonth); in TEST_F()
|
D | types.h | 34 typedef int32 CallbackId; // `kNoCallback` is reserved for "no callback" typedef 35 enum class DefaultCallback : CallbackId {
|
/external/libtextclassifier/native/utils/grammar/utils/ |
D | rules.cc | 70 if (rule.callback == static_cast<CallbackId>(DefaultCallback::kExclusion)) { in IsRhsAssigned() 83 const CallbackId callback = rule.callback; in LowerRule() 87 if (callback == static_cast<CallbackId>(DefaultCallback::kExclusion)) { in LowerRule() 207 const CallbackId callback, const int64 callback_param, in ExpandOptionals() 320 const CallbackId callback, const int64 callback_param, in Add() 342 const CallbackId callback, const int64 callback_param, in Add() 377 /*callback=*/static_cast<CallbackId>(DefaultCallback::kExclusion), in AddWithExclusion() 387 /*callback=*/static_cast<CallbackId>(DefaultCallback::kAssertion), in AddAssertion() 396 /*callback=*/static_cast<CallbackId>(DefaultCallback::kMapping), in AddValueMapping() 404 /*callback=*/static_cast<CallbackId>(DefaultCallback::kMapping), in AddValueMapping()
|
D | rules.h | 88 CallbackId callback = kNoCallback; 117 const CallbackId callback = kNoCallback, 124 CallbackId callback = kNoCallback, int64 callback_param = 0, 184 int lhs, const std::vector<RhsElement>& rhs, CallbackId callback,
|
D | ir_test.cc | 102 constexpr CallbackId kOutput1 = 1; in TEST() 103 constexpr CallbackId kOutput2 = 2; in TEST() 124 constexpr CallbackId kOutput = 1; in TEST()
|
D | ir.h | 60 CallbackId id = kNoCallback;
|
D | rules_test.cc | 57 const CallbackId output = 1; in TEST()
|
/external/libtextclassifier/native/actions/ |
D | grammar-actions_test.cc | 156 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 188 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 245 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 285 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 292 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 360 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 418 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 498 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 555 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 592 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() [all …]
|
D | actions-suggestions_test.cc | 1081 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F() 1143 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F()
|
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 1851 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F()
|