Home
last modified time | relevance | path

Searched refs:rules_buffer (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/utils/grammar/parsing/
Dparser_test.cc53 const std::string rules_buffer = rules.Finalize().SerializeAsFlatbuffer(); in TEST_F() local
55 flatbuffers::GetRoot<RulesSet>(rules_buffer.data())); in TEST_F()
69 const std::string rules_buffer = rules.Finalize().SerializeAsFlatbuffer(); in TEST_F() local
71 flatbuffers::GetRoot<RulesSet>(rules_buffer.data())); in TEST_F()
94 const std::string rules_buffer = rules.Finalize().SerializeAsFlatbuffer(); in TEST_F() local
96 flatbuffers::GetRoot<RulesSet>(rules_buffer.data())); in TEST_F()
115 const std::string rules_buffer = rules.Finalize().SerializeAsFlatbuffer(); in TEST_F() local
117 flatbuffers::GetRoot<RulesSet>(rules_buffer.data())); in TEST_F()
137 const std::string rules_buffer = rules.Finalize().SerializeAsFlatbuffer(); in TEST_F() local
139 flatbuffers::GetRoot<RulesSet>(rules_buffer.data())); in TEST_F()
[all …]
Dmatcher_test.cc133 const std::string rules_buffer = rules.Finalize().SerializeAsFlatbuffer( in TEST_F() local
136 flatbuffers::GetRoot<RulesSet>(rules_buffer.data()); in TEST_F()
191 const std::string rules_buffer = CreateTestGrammar(); in TEST_F() local
193 flatbuffers::GetRoot<RulesSet>(rules_buffer.data()); in TEST_F()
226 const std::string rules_buffer = CreateTestGrammar(); in TEST_F() local
228 flatbuffers::GetRoot<RulesSet>(rules_buffer.data()); in TEST_F()
250 const std::string rules_buffer = CreateTestGrammar(); in TEST_F() local
252 flatbuffers::GetRoot<RulesSet>(rules_buffer.data()); in TEST_F()
277 const std::string rules_buffer = rules.Finalize().SerializeAsFlatbuffer( in TEST_F() local
281 flatbuffers::GetRoot<RulesSet>(rules_buffer.data()); in TEST_F()
[all …]