/external/libtextclassifier/native/utils/flatbuffers/ |
D | mutable.cc | 57 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 …]
|
D | mutable.h | 36 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 …]
|
D | mutable_test.cc | 50 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/ |
D | compose-eval.cc | 28 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()
|
D | merge-values-eval.cc | 26 std::unique_ptr<MutableFlatbuffer> result = in Apply() 46 return SemanticValue::Create<const MutableFlatbuffer*>(result.get(), arena); in Apply()
|
/external/libtextclassifier/native/utils/ |
D | lua-utils_test.cc | 135 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()
|
D | lua-utils.h | 216 int ReadFlatbuffer(int index, MutableFlatbuffer* buffer) const; 516 void ReadRepeatedField<MutableFlatbuffer>(const int index,
|
D | lua-utils.cc | 208 MutableFlatbuffer* buffer) const { in ReadFlatbuffer() 309 ReadRepeatedField<MutableFlatbuffer>(/*index=*/kIndexStackTop, in ReadFlatbuffer()
|
/external/libtextclassifier/native/actions/ |
D | utils.h | 37 MutableFlatbuffer* entity_data, 69 StringPiece match_text, MutableFlatbuffer* buffer);
|
D | utils.cc | 31 MutableFlatbuffer* entity_data, in FillSuggestionFromSpec() 68 std::unique_ptr<MutableFlatbuffer> entity_data = in SuggestTextRepliesFromCapturingMatch() 117 StringPiece match_text, MutableFlatbuffer* buffer) { in MergeEntityDataFromCapturingMatch()
|
D | grammar-actions.cc | 64 std::unique_ptr<MutableFlatbuffer> entity_data = in InstantiateActionsFromMatch()
|
D | lua-ranker_test.cc | 233 std::unique_ptr<MutableFlatbuffer> buffer = builder.NewRoot(); in TEST()
|
D | regex-actions.cc | 212 std::unique_ptr<MutableFlatbuffer> entity_data = in SuggestActions()
|
D | actions-suggestions.cc | 833 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()
|
D | grammar-actions_test.cc | 405 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F() 459 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F()
|
D | actions-suggestions_test.cc | 918 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F()
|
/external/libtextclassifier/native/utils/testing/ |
D | annotator.cc | 81 std::unique_ptr<MutableFlatbuffer> entity_data = in AddTestRegexModel() 105 std::unique_ptr<MutableFlatbuffer> entity_data = in AddTestRegexModel()
|
/external/libtextclassifier/native/utils/grammar/semantics/ |
D | value.h | 63 const SemanticValue* Create(const MutableFlatbuffer* value, in Create()
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.cc | 144 std::unique_ptr<MutableFlatbuffer> entity_data = in InstantiateClassificationFromDerivation()
|
D | grammar-annotator_test.cc | 368 std::unique_ptr<MutableFlatbuffer> entity_data = in TEST_F()
|
/external/libtextclassifier/native/utils/intents/ |
D | jni.cc | 351 std::unique_ptr<MutableFlatbuffer> buffer = entity_data_builder.NewRoot(); in EntityDataAsNamedVariantArray()
|
/external/libtextclassifier/native/annotator/ |
D | annotator.cc | 2546 std::unique_ptr<MutableFlatbuffer> entity_data = in SerializedEntityDataFromRegexMatch()
|