Searched refs:semantic_values_schema_ (Results 1 – 9 of 9) sorted by relevance
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/ |
D | compose-eval_test.cc | 40 : 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 …]
|
D | const-eval.h | 32 : 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_;
|
D | merge-values-eval_test.cc | 40 : const_eval_(semantic_values_schema_.get()) {} in MergeValuesEvaluatorTest() 60 semantic_values_schema_.get()); in TEST_F()
|
D | parse-number-eval_test.cc | 48 ConstEvaluator const_eval(semantic_values_schema_.get()); in Eval() 76 ConstEvaluator const_eval(semantic_values_schema_.get()); in TEST_F()
|
D | arithmetic-eval_test.cc | 56 ConstEvaluator const_eval(semantic_values_schema_.get()); in Eval()
|
D | const-eval_test.cc | 32 explicit ConstEvaluatorTest() : const_eval_(semantic_values_schema_.get()) {} in ConstEvaluatorTest()
|
/external/libtextclassifier/native/utils/grammar/testing/ |
D | utils.h | 71 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/ |
D | composer_test.cc | 45 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/ |
D | analyzer_test.cc | 37 model.semantic_values_schema.assign(semantic_values_schema_.buffer().begin(), in TEST_F() 38 semantic_values_schema_.buffer().end()); in TEST_F()
|