/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 | 340 switch (static_cast<DefaultCallback>(callback_id)) { in ExecuteLhsSet() 341 case DefaultCallback::kAssertion: { in ExecuteLhsSet() 349 case DefaultCallback::kMapping: { in ExecuteLhsSet() 356 case DefaultCallback::kExclusion: { in ExecuteLhsSet() 366 case DefaultCallback::kSemanticExpression: { in ExecuteLhsSet() 388 if (static_cast<DefaultCallback>(callback_id) == in ExecuteLhsSet() 389 DefaultCallback::kRootRule) { 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 | 35 enum class DefaultCallback : CallbackId { enum
|
/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/utils/grammar/utils/ |
D | rules.cc | 70 if (rule.callback == static_cast<CallbackId>(DefaultCallback::kExclusion)) { in IsRhsAssigned() 87 if (callback == static_cast<CallbackId>(DefaultCallback::kExclusion)) { in LowerRule() 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()
|
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 1851 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F()
|