Home
last modified time | relevance | path

Searched refs:DefaultCallback (Results 1 – 11 of 11) sorted by relevance

/external/libtextclassifier/native/utils/grammar/parsing/
Dmatcher_test.cc130 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 …]
Dparser_test.cc52 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 …]
Dmatcher.cc340 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/
Dcomposer_test.cc50 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/
Dgrammar-annotator_test.cc60 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/
Danalyzer_test.cc45 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()
Dtypes.h35 enum class DefaultCallback : CallbackId { enum
/external/libtextclassifier/native/actions/
Dgrammar-actions_test.cc156 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 …]
Dactions-suggestions_test.cc1081 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/
Drules.cc70 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/
Dannotator_test-include.cc1851 static_cast<grammar::CallbackId>(grammar::DefaultCallback::kRootRule), in TEST_F()