Home
last modified time | relevance | path

Searched refs:ReflectiveFlatbuffer (Results 1 – 12 of 12) sorted by relevance

/external/libtextclassifier/utils/
Dflatbuffers.cc27 std::unique_ptr<ReflectiveFlatbuffer::RepeatedField>* repeated_field) { in CreateRepeatedField()
30 repeated_field->reset(new ReflectiveFlatbuffer::TypedRepeatedField<bool>); in CreateRepeatedField()
33 repeated_field->reset(new ReflectiveFlatbuffer::TypedRepeatedField<int>); in CreateRepeatedField()
37 new ReflectiveFlatbuffer::TypedRepeatedField<int64>); in CreateRepeatedField()
41 new ReflectiveFlatbuffer::TypedRepeatedField<float>); in CreateRepeatedField()
45 new ReflectiveFlatbuffer::TypedRepeatedField<double>); in CreateRepeatedField()
49 new ReflectiveFlatbuffer::TypedRepeatedField<std::string>); in CreateRepeatedField()
53 new ReflectiveFlatbuffer::TypedRepeatedField<ReflectiveFlatbuffer>( in CreateRepeatedField()
68 std::unique_ptr<ReflectiveFlatbuffer> ReflectiveFlatbufferBuilder::NewRoot() in NewRoot()
74 return std::unique_ptr<ReflectiveFlatbuffer>( in NewRoot()
[all …]
Dflatbuffers.h108 class ReflectiveFlatbuffer {
110 ReflectiveFlatbuffer(const reflection::Schema* schema, in ReflectiveFlatbuffer() function
161 class TypedRepeatedField<ReflectiveFlatbuffer> : public RepeatedField {
163 TypedRepeatedField<ReflectiveFlatbuffer>(
168 ReflectiveFlatbuffer* Add() { in Add()
169 items_.emplace_back(new ReflectiveFlatbuffer( in Add()
186 std::vector<std::unique_ptr<ReflectiveFlatbuffer>> items_;
197 ReflectiveFlatbuffer** parent,
237 ReflectiveFlatbuffer* parent; in Set()
253 ReflectiveFlatbuffer* Mutable(StringPiece field_name);
[all …]
Dflatbuffers_test.cc49 std::unique_ptr<ReflectiveFlatbuffer> buffer = reflective_builder.NewRoot(); in TEST()
76 std::unique_ptr<ReflectiveFlatbuffer> buffer = reflective_builder.NewRoot(); in TEST()
109 std::unique_ptr<ReflectiveFlatbuffer> buffer = reflective_builder.NewRoot(); in TEST()
111 ReflectiveFlatbuffer* parent = nullptr; in TEST()
127 std::unique_ptr<ReflectiveFlatbuffer> buffer = reflective_builder.NewRoot(); in TEST()
128 ReflectiveFlatbuffer* flight_info = buffer->Mutable("flight_number"); in TEST()
132 ReflectiveFlatbuffer* contact_info = buffer->Mutable("contact_info"); in TEST()
165 std::unique_ptr<ReflectiveFlatbuffer> buffer = reflective_builder.NewRoot(); in TEST()
196 std::unique_ptr<ReflectiveFlatbuffer> buffer = reflective_builder.NewRoot(); in TEST()
218 std::unique_ptr<ReflectiveFlatbuffer> buffer = reflective_builder.NewRoot(); in TEST()
[all …]
Dregex-match.h30 ReflectiveFlatbuffer* flatbuffer);
Dregex-match.cc155 ReflectiveFlatbuffer* flatbuffer) { in SetFieldFromCapturingGroup()
Dlua-utils.h229 int ReadFlatbuffer(ReflectiveFlatbuffer *buffer);
Dlua-utils.cc164 int LuaEnvironment::ReadFlatbuffer(ReflectiveFlatbuffer *buffer) { in ReadFlatbuffer()
/external/libtextclassifier/actions/
Dlua-ranker_test.cc233 std::unique_ptr<ReflectiveFlatbuffer> buffer = builder.NewRoot(); in TEST()
Dactions-suggestions.cc1130 std::unique_ptr<ReflectiveFlatbuffer> entity_data = in SuggestActionsFromAnnotation()
1230 std::unique_ptr<ReflectiveFlatbuffer> entity_data = in SuggestActionsFromRules()
Dactions-suggestions_test.cc760 std::unique_ptr<ReflectiveFlatbuffer> entity_data = in TEST_F()
/external/libtextclassifier/utils/intents/
Djni.cc221 std::unique_ptr<ReflectiveFlatbuffer> buffer = entity_data_builder.NewRoot(); in EntityDataAsNamedVariantArray()
/external/libtextclassifier/annotator/
Dannotator.cc1987 std::unique_ptr<ReflectiveFlatbuffer> entity_data = in SerializedEntityDataFromRegexMatch()