Home
last modified time | relevance | path

Searched refs:OwnedFlatbuffer (Results 1 – 14 of 14) sorted by relevance

/external/libtextclassifier/native/utils/grammar/testing/
Dutils.h100 OwnedFlatbuffer<SemanticExpression> CreateExpression(T&& expression) { in CreateExpression()
105 OwnedFlatbuffer<SemanticExpression> CreateEmptyExpression() { in CreateEmptyExpression()
111 OwnedFlatbuffer<T> Pack(const typename T::NativeTableType&& value) { in Pack()
114 return OwnedFlatbuffer<T>(builder.Release()); in Pack()
149 OwnedFlatbuffer<SemanticExpression> CreateAndPackConstExpression( in CreateAndPackConstExpression()
175 OwnedFlatbuffer<SemanticExpression> CreateAndPackMergeValuesExpression( in CreateAndPackMergeValuesExpression()
201 OwnedFlatbuffer<SemanticExpression> CreateAndPackPrimitiveConstExpression( in CreateAndPackPrimitiveConstExpression()
211 OwnedFlatbuffer<SemanticExpression> CreateAndPackPrimitiveConstExpression( in CreateAndPackPrimitiveConstExpression()
232 const OwnedFlatbuffer<reflection::Schema, std::string>
/external/libtextclassifier/native/annotator/datetime/
Ddatetime-grounder_test.cc47 OwnedFlatbuffer<UngroundedDatetime, std::string> BuildAbsoluteDatetime( in BuildAbsoluteDatetime()
62 return OwnedFlatbuffer<UngroundedDatetime, std::string>( in BuildAbsoluteDatetime()
66 OwnedFlatbuffer<UngroundedDatetime, std::string> BuildRelativeDatetime( in BuildRelativeDatetime()
84 return OwnedFlatbuffer<UngroundedDatetime, std::string>( in BuildRelativeDatetime()
105 const OwnedFlatbuffer<UngroundedDatetime, std::string> datetime = in TEST_F()
151 const OwnedFlatbuffer<UngroundedDatetime, std::string> datetime = in TEST_F()
176 const OwnedFlatbuffer<UngroundedDatetime, std::string> datetime = in TEST_F()
205 const OwnedFlatbuffer<UngroundedDatetime, std::string> timezone( in TEST_F()
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Dconst-eval_test.cc41 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
61 OwnedFlatbuffer<SemanticExpression> expression = in Eval()
81 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
93 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
Dconstituent-eval_test.cc35 OwnedFlatbuffer<SemanticExpression> CreateConstituentExpression( in CreateConstituentExpression()
46 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
67 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
Dcompose-eval_test.cc59 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
89 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
116 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
154 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
182 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
218 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
265 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
Dparse-number-eval_test.cc45 OwnedFlatbuffer<SemanticExpression> expression = in Eval()
73 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
Dspan-eval_test.cc34 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
Dmerge-values-eval_test.cc55 OwnedFlatbuffer<SemanticExpression> expression = in TEST_F()
Darithmetic-eval_test.cc52 OwnedFlatbuffer<SemanticExpression> expression = in Eval()
/external/libtextclassifier/native/utils/flatbuffers/
Dtest-utils.h50 inline OwnedFlatbuffer<FlatbufferFieldPath, std::string> CreateFieldPath( in CreateFieldPath()
53 return OwnedFlatbuffer<FlatbufferFieldPath, std::string>( in CreateFieldPath()
Dflatbuffers.h99 class OwnedFlatbuffer {
101 explicit OwnedFlatbuffer(B&& buffer) : buffer_(std::move(buffer)) {} in OwnedFlatbuffer() function
Dmutable_test.cc45 OwnedFlatbuffer<reflection::Schema, std::string> schema_;
90 OwnedFlatbuffer<flatbuffers::Table, std::string> extra(buffer->Serialize()); in TEST_F()
99 OwnedFlatbuffer<FlatbufferFieldPath, std::string> path = in TEST_F()
239 OwnedFlatbuffer<FlatbufferFieldPath, std::string> field_path = in TEST_F()
353 OwnedFlatbuffer<FlatbufferFieldPath, std::string> notes = in TEST_F()
/external/libtextclassifier/native/actions/
Dgrammar-actions_test.cc163 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
210 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
258 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
306 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
374 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
423 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
503 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
560 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
615 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
667 OwnedFlatbuffer<RulesModel_::GrammarRules, std::string> model( in TEST_F()
/external/libtextclassifier/native/utils/
Dlua-utils_test.cc60 OwnedFlatbuffer<reflection::Schema, std::string> schema_;