Home
last modified time | relevance | path

Searched refs:semantic_values_schema_ (Results 1 – 9 of 9) sorted by relevance

/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Dcompose-eval_test.cc40 : const_eval_(semantic_values_schema_.get()) {} in ComposeEvaluatorTest()
53 TypeIdForName(semantic_values_schema_.get(), in TEST_F()
62 ComposeEvaluator compose_eval(&const_eval_, semantic_values_schema_.get()); in TEST_F()
81 TypeIdForName(semantic_values_schema_.get(), in TEST_F()
92 ComposeEvaluator compose_eval(&const_eval_, semantic_values_schema_.get()); in TEST_F()
108 compose_expression.type = TypeIdForName(semantic_values_schema_.get(), in TEST_F()
119 ComposeEvaluator compose_eval(&const_eval_, semantic_values_schema_.get()); in TEST_F()
145 TypeIdForName(semantic_values_schema_.get(), in TEST_F()
157 ComposeEvaluator compose_eval(&const_eval_, semantic_values_schema_.get()); in TEST_F()
176 TypeIdForName(semantic_values_schema_.get(), in TEST_F()
[all …]
Dconst-eval.h32 : semantic_values_schema_(semantic_values_schema) {} in ConstEvaluator()
51 type_id >= semantic_values_schema_->objects()->size()) { in Apply()
54 return SemanticValue::Create(semantic_values_schema_->objects()->Get( in Apply()
63 const reflection::Schema* semantic_values_schema_;
Dmerge-values-eval_test.cc40 : const_eval_(semantic_values_schema_.get()) {} in MergeValuesEvaluatorTest()
60 semantic_values_schema_.get()); in TEST_F()
Dparse-number-eval_test.cc48 ConstEvaluator const_eval(semantic_values_schema_.get()); in Eval()
76 ConstEvaluator const_eval(semantic_values_schema_.get()); in TEST_F()
Darithmetic-eval_test.cc56 ConstEvaluator const_eval(semantic_values_schema_.get()); in Eval()
Dconst-eval_test.cc32 explicit ConstEvaluatorTest() : const_eval_(semantic_values_schema_.get()) {} in ConstEvaluatorTest()
/external/libtextclassifier/native/utils/grammar/testing/
Dutils.h71 semantic_values_schema_( in GrammarTest()
121 semantic_values_schema_->objects()->Get( in CreateSemanticValue()
122 TypeIdForName(semantic_values_schema_.get(), in CreateSemanticValue()
139 const_value.type = TypeIdForName(semantic_values_schema_.get(), in CreateConstExpression()
153 const_value.type = TypeIdForName(semantic_values_schema_.get(), in CreateAndPackConstExpression()
165 const_value.type = TypeIdForName(semantic_values_schema_.get(), in CreateConstDateExpression()
178 merge_expression.type = TypeIdForName(semantic_values_schema_.get(), in CreateAndPackMergeValuesExpression()
233 semantic_values_schema_; variable
/external/libtextclassifier/native/utils/grammar/semantics/
Dcomposer_test.cc45 TypeIdForName(semantic_values_schema_.get(), in TEST_F()
83 SemanticComposer composer(semantic_values_schema_.get()); in TEST_F()
118 TypeIdForName(semantic_values_schema_.get(), in TEST_F()
159 SemanticComposer composer(semantic_values_schema_.get()); in TEST_F()
/external/libtextclassifier/native/utils/grammar/
Danalyzer_test.cc37 model.semantic_values_schema.assign(semantic_values_schema_.buffer().begin(), in TEST_F()
38 semantic_values_schema_.buffer().end()); in TEST_F()