Home
last modified time | relevance | path

Searched refs:MutableFlatbuffer (Results 1 – 22 of 22) sorted by relevance

/external/libtextclassifier/native/utils/flatbuffers/
Dmutable.cc57 const std::string& str_value, MutableFlatbuffer* buffer) { in ParseAndSetField()
77 std::unique_ptr<MutableFlatbuffer> MutableFlatbufferBuilder::NewRoot() const { in NewRoot()
81 std::unique_ptr<MutableFlatbuffer> MutableFlatbufferBuilder::NewTable( in NewTable()
86 std::unique_ptr<MutableFlatbuffer> MutableFlatbufferBuilder::NewTable( in NewTable()
95 std::unique_ptr<MutableFlatbuffer> MutableFlatbufferBuilder::NewTable( in NewTable()
100 return std::make_unique<MutableFlatbuffer>(schema_, type); in NewTable()
103 const reflection::Field* MutableFlatbuffer::GetFieldOrNull( in GetFieldOrNull()
108 const reflection::Field* MutableFlatbuffer::GetFieldOrNull( in GetFieldOrNull()
113 bool MutableFlatbuffer::GetFieldWithParent( in GetFieldWithParent()
114 const FlatbufferFieldPath* field_path, MutableFlatbuffer** parent, in GetFieldWithParent()
[all …]
Dmutable.h36 class MutableFlatbuffer; variable
53 return std::is_same<T, MutableFlatbuffer>::value; in IsMatchingType()
66 class MutableFlatbuffer {
68 MutableFlatbuffer(const reflection::Schema* schema, in MutableFlatbuffer() function
80 MutableFlatbuffer** parent,
116 MutableFlatbuffer* Mutable(StringPiece field_name);
117 MutableFlatbuffer* Mutable(const reflection::Field* field);
122 MutableFlatbuffer* Mutable(const FlatbufferFieldPath* path);
134 MutableFlatbuffer* Add(StringPiece field_name);
139 MutableFlatbuffer* Add(const reflection::Field* field);
[all …]
Dmutable_test.cc50 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
70 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
84 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
101 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
103 MutableFlatbuffer* parent = nullptr; in TEST_F()
112 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
113 MutableFlatbuffer* flight_info = buffer->Mutable("flight_number"); in TEST_F()
117 MutableFlatbuffer* contact_info = buffer->Mutable("contact_info"); in TEST_F()
144 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
169 std::unique_ptr<MutableFlatbuffer> buffer = builder_.NewRoot(); in TEST_F()
[all …]
/external/libtextclassifier/native/utils/grammar/semantics/evaluators/
Dcompose-eval.cc28 MutableFlatbuffer* result) { in TrySetField()
38 MutableFlatbuffer* result) { in TrySetField()
49 MutableFlatbuffer* result) { in TryAddField()
59 MutableFlatbuffer* result) { in TryAddField()
70 const SemanticValue* value, MutableFlatbuffer* result) { in TrySetOrAddValue()
71 MutableFlatbuffer* parent; in TrySetOrAddValue()
90 std::unique_ptr<MutableFlatbuffer> result = in Apply()
180 return SemanticValue::Create<const MutableFlatbuffer*>(result.get(), arena); in Apply()
Dmerge-values-eval.cc26 std::unique_ptr<MutableFlatbuffer> result = in Apply()
46 return SemanticValue::Create<const MutableFlatbuffer*>(result.get(), arena); in Apply()
/external/libtextclassifier/native/utils/
Dlua-utils_test.cc135 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
202 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
293 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
332 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
336 MutableFlatbuffer* nested = repeated_field->Add(); in TEST_F()
366 std::unique_ptr<MutableFlatbuffer> buffer = flatbuffer_builder_.NewRoot(); in TEST_F()
373 std::unique_ptr<MutableFlatbuffer> buffer2 = flatbuffer_builder_.NewRoot(); in TEST_F()
Dlua-utils.h216 int ReadFlatbuffer(int index, MutableFlatbuffer* buffer) const;
516 void ReadRepeatedField<MutableFlatbuffer>(const int index,
Dlua-utils.cc208 MutableFlatbuffer* buffer) const { in ReadFlatbuffer()
309 ReadRepeatedField<MutableFlatbuffer>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
/external/libtextclassifier/native/actions/
Dutils.h37 MutableFlatbuffer* entity_data,
69 StringPiece match_text, MutableFlatbuffer* buffer);
Dutils.cc31 MutableFlatbuffer* entity_data, in FillSuggestionFromSpec()
68 std::unique_ptr<MutableFlatbuffer> entity_data = in SuggestTextRepliesFromCapturingMatch()
117 StringPiece match_text, MutableFlatbuffer* buffer) { in MergeEntityDataFromCapturingMatch()
Dgrammar-actions.cc64 std::unique_ptr<MutableFlatbuffer> entity_data = in InstantiateActionsFromMatch()
Dlua-ranker_test.cc233 std::unique_ptr<MutableFlatbuffer> buffer = builder.NewRoot(); in TEST()
Dregex-actions.cc212 std::unique_ptr<MutableFlatbuffer> entity_data = in SuggestActions()
Dactions-suggestions.cc833 std::unique_ptr<MutableFlatbuffer> entity_data = in FillSuggestionFromSpecWithEntityData()
862 std::unique_ptr<MutableFlatbuffer> entity_data = in PopulateIntentTriggering()
936 std::unique_ptr<MutableFlatbuffer> entity_data = in ReadModelOutput()
1210 std::unique_ptr<MutableFlatbuffer> entity_data = in SuggestActionsFromAnnotation()
Dgrammar-actions_test.cc405 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F()
459 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F()
Dactions-suggestions_test.cc918 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F()
/external/libtextclassifier/native/utils/testing/
Dannotator.cc81 std::unique_ptr<MutableFlatbuffer> entity_data = in AddTestRegexModel()
105 std::unique_ptr<MutableFlatbuffer> entity_data = in AddTestRegexModel()
/external/libtextclassifier/native/utils/grammar/semantics/
Dvalue.h63 const SemanticValue* Create(const MutableFlatbuffer* value, in Create()
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc144 std::unique_ptr<MutableFlatbuffer> entity_data = in InstantiateClassificationFromDerivation()
Dgrammar-annotator_test.cc368 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F()
/external/libtextclassifier/native/utils/intents/
Djni.cc351 std::unique_ptr<MutableFlatbuffer> buffer = entity_data_builder.NewRoot(); in EntityDataAsNamedVariantArray()
/external/libtextclassifier/native/annotator/
Dannotator.cc2546 std::unique_ptr<MutableFlatbuffer> entity_data = in SerializedEntityDataFromRegexMatch()