Home
last modified time | relevance | path

Searched refs:fbb_ (Results 1 – 25 of 26) sorted by relevance

12

/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h146 flatbuffers::FlatBufferBuilder &fbb_; member
149 fbb_.AddElement<int8_t>(Type::VT_BASE_TYPE, static_cast<int8_t>(base_type), 0); in add_base_type()
152 fbb_.AddElement<int8_t>(Type::VT_ELEMENT, static_cast<int8_t>(element), 0); in add_element()
155 fbb_.AddElement<int32_t>(Type::VT_INDEX, index, -1); in add_index()
158 fbb_.AddElement<uint16_t>(Type::VT_FIXED_LENGTH, fixed_length, 0); in add_fixed_length()
161 : fbb_(_fbb) { in TypeBuilder()
162 start_ = fbb_.StartTable(); in TypeBuilder()
166 const auto end = fbb_.EndTable(start_); in Finish()
216 flatbuffers::FlatBufferBuilder &fbb_; member
219 fbb_.AddOffset(KeyValue::VT_KEY, key); in add_key()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dserialization_base_generated.h446 flatbuffers::FlatBufferBuilder &fbb_; member
449 fbb_.AddElement<int32_t>(Int4::VT_X, x, 0); in add_x()
452 fbb_.AddElement<int32_t>(Int4::VT_Y, y, 0); in add_y()
455 fbb_.AddElement<int32_t>(Int4::VT_Z, z, 0); in add_z()
458 fbb_.AddElement<int32_t>(Int4::VT_W, w, 0); in add_w()
461 : fbb_(_fbb) { in Int4Builder()
462 start_ = fbb_.StartTable(); in Int4Builder()
465 const auto end = fbb_.EndTable(start_); in Finish()
512 flatbuffers::FlatBufferBuilder &fbb_; member
515 fbb_.AddElement<int32_t>(Int3::VT_X, x, 0); in add_x()
[all …]
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin_test.cc82 CreateDelegate(CreateNNAPISettings(fbb_, 0, 0, 0, input)); in CheckExecutionPreference()
99 CreateDelegate(CreateNNAPISettings(fbb_, 0, 0, 0, in CheckExecutionPriority()
113 fbb_, CreateTFLiteSettings(fbb_, tflite::Delegate_NNAPI, settings)); in CreateDelegate()
123 flatbuffers::FlatBufferBuilder fbb_; member in tflite::__anon04ac112d0111::NNAPIPluginTest
131 CreateDelegate(CreateNNAPISettings(fbb_, fbb_.CreateString("foo"))); in TEST_F()
136 CreateDelegate(CreateNNAPISettings(fbb_, fbb_.CreateString("test-device"))); in TEST_F()
174 CreateDelegate(CreateNNAPISettings(fbb_, 0, fbb_.CreateString("d"), in TEST_F()
175 fbb_.CreateString("t"))); in TEST_F()
181 CreateDelegate(CreateNNAPISettings(fbb_, 0, 0, 0, in TEST_F()
197 CreateDelegate(CreateNNAPISettings(fbb_, 0, 0, 0, in TEST_F()
Dconfiguration_generated.h513 flatbuffers::FlatBufferBuilder &fbb_; member
516 fbb_.AddElement<int32_t>(ComputeSettings::VT_PREFERENCE, static_cast<int32_t>(preference), 0); in add_preference()
519 fbb_.AddOffset(ComputeSettings::VT_TFLITE_SETTINGS, tflite_settings); in add_tflite_settings()
522fbb_.AddOffset(ComputeSettings::VT_MODEL_NAMESPACE_FOR_STATISTICS, model_namespace_for_statistics); in add_model_namespace_for_statistics()
525fbb_.AddOffset(ComputeSettings::VT_MODEL_IDENTIFIER_FOR_STATISTICS, model_identifier_for_statistic… in add_model_identifier_for_statistics()
528 : fbb_(_fbb) { in ComputeSettingsBuilder()
529 start_ = fbb_.StartTable(); in ComputeSettingsBuilder()
533 const auto end = fbb_.EndTable(start_); in Finish()
661 flatbuffers::FlatBufferBuilder &fbb_; member
664 fbb_.AddOffset(NNAPISettings::VT_ACCELERATOR_NAME, accelerator_name); in add_accelerator_name()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dserialization_generated.h65 flatbuffers::FlatBufferBuilder &fbb_; member
68 fbb_.AddOffset(TensorDescWithId::VT_DESC, desc); in add_desc()
71 fbb_.AddElement<int32_t>(TensorDescWithId::VT_ID, id, 0); in add_id()
74 : fbb_(_fbb) { in TensorDescWithIdBuilder()
75 start_ = fbb_.StartTable(); in TensorDescWithIdBuilder()
78 const auto end = fbb_.EndTable(start_); in Finish()
130 flatbuffers::FlatBufferBuilder &fbb_; member
133 fbb_.AddOffset(CLNode::VT_GPU_OP, gpu_op); in add_gpu_op()
136 fbb_.AddOffset(CLNode::VT_INPUT_IDS, input_ids); in add_input_ids()
139 fbb_.AddOffset(CLNode::VT_OUTPUT_IDS, output_ids); in add_output_ids()
[all …]
Dcompiled_program_cache_generated.h53 flatbuffers::FlatBufferBuilder &fbb_; member
56 fbb_.AddElement<uint64_t>(Program::VT_FINGERPRINT, fingerprint, 0); in add_fingerprint()
59 fbb_.AddOffset(Program::VT_BINARY, binary); in add_binary()
62 : fbb_(_fbb) { in ProgramBuilder()
63 start_ = fbb_.StartTable(); in ProgramBuilder()
67 const auto end = fbb_.EndTable(start_); in Finish()
117 flatbuffers::FlatBufferBuilder &fbb_; member
120 fbb_.AddOffset(CompiledCache::VT_DRIVER_VERSION, driver_version); in add_driver_version()
123 fbb_.AddOffset(CompiledCache::VT_PROGRAMS, programs); in add_programs()
126 : fbb_(_fbb) { in CompiledCacheBuilder()
[all …]
/external/flatbuffers/tests/evolution_test/
Devolution_v2_generated.h164 flatbuffers::FlatBufferBuilder &fbb_;
167 fbb_.AddElement<float>(TableA::VT_A, a, 0.0f);
170 fbb_.AddElement<int32_t>(TableA::VT_B, b, 0);
173 fbb_.AddOffset(TableA::VT_C, c);
176 : fbb_(_fbb) {
177 start_ = fbb_.StartTable();
181 const auto end = fbb_.EndTable(start_);
227 flatbuffers::FlatBufferBuilder &fbb_;
230 fbb_.AddElement<int32_t>(TableB::VT_A, a, 0);
233 : fbb_(_fbb) {
[all …]
Devolution_v1_generated.h143 flatbuffers::FlatBufferBuilder &fbb_;
146 fbb_.AddElement<float>(TableA::VT_A, a, 0.0f);
149 fbb_.AddElement<int32_t>(TableA::VT_B, b, 0);
152 : fbb_(_fbb) {
153 start_ = fbb_.StartTable();
157 const auto end = fbb_.EndTable(start_);
188 flatbuffers::FlatBufferBuilder &fbb_;
191 fbb_.AddElement<int32_t>(TableB::VT_A, a, 0);
194 : fbb_(_fbb) {
195 start_ = fbb_.StartTable();
[all …]
/external/flatbuffers/grpc/tests/
Dgrpctest.cpp39 fbb_.Clear(); in Store()
41 fbb_, fbb_.CreateString("Hello, " + request->GetRoot()->name()->str())); in Store()
42 fbb_.Finish(stat_offset); in Store()
44 *response = fbb_.ReleaseMessage<Stat>(); in Store()
53 fbb_.Clear(); in Retrieve()
56 CreateMonster(fbb_, 0, 0, 0, in Retrieve()
57 fbb_.CreateString(request->GetRoot()->id()->str() + in Retrieve()
59 fbb_.Finish(monster_offset); in Retrieve()
62 fbb_.ReleaseMessage<Monster>(); in Retrieve()
71 flatbuffers::grpc::MessageBuilder fbb_; member in ServiceImpl
/external/flatbuffers/tests/
Dmonster_test_generated.rs72 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
80 fbb_: _fbb, in new()
86 let o = self.fbb_.end_table(self.start_); in finish()
150 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
158 fbb_: _fbb, in new()
164 let o = self.fbb_.end_table(self.start_); in finish()
811 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
817 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
823 fbb_: _fbb, in new()
829 let o = self.fbb_.end_table(self.start_); in finish()
[all …]
Dmonster_extra_generated.h164 flatbuffers::FlatBufferBuilder &fbb_; member
167 fbb_.AddElement<double>(MonsterExtra::VT_D0, d0, std::numeric_limits<double>::quiet_NaN()); in add_d0()
170 fbb_.AddElement<double>(MonsterExtra::VT_D1, d1, std::numeric_limits<double>::quiet_NaN()); in add_d1()
173 fbb_.AddElement<double>(MonsterExtra::VT_D2, d2, std::numeric_limits<double>::infinity()); in add_d2()
176 fbb_.AddElement<double>(MonsterExtra::VT_D3, d3, -std::numeric_limits<double>::infinity()); in add_d3()
179 fbb_.AddElement<float>(MonsterExtra::VT_F0, f0, std::numeric_limits<float>::quiet_NaN()); in add_f0()
182 fbb_.AddElement<float>(MonsterExtra::VT_F1, f1, std::numeric_limits<float>::quiet_NaN()); in add_f1()
185 fbb_.AddElement<float>(MonsterExtra::VT_F2, f2, std::numeric_limits<float>::infinity()); in add_f2()
188 fbb_.AddElement<float>(MonsterExtra::VT_F3, f3, -std::numeric_limits<float>::infinity()); in add_f3()
191 fbb_.AddOffset(MonsterExtra::VT_DVEC, dvec); in add_dvec()
[all …]
Dmonster_test_generated.h799 flatbuffers::FlatBufferBuilder &fbb_;
802 : fbb_(_fbb) {
803 start_ = fbb_.StartTable();
807 const auto end = fbb_.EndTable(start_);
855 flatbuffers::FlatBufferBuilder &fbb_;
858 : fbb_(_fbb) {
859 start_ = fbb_.StartTable();
863 const auto end = fbb_.EndTable(start_);
926 flatbuffers::FlatBufferBuilder &fbb_;
929 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
[all …]
Dnative_type_test_generated.h97 flatbuffers::FlatBufferBuilder &fbb_; member
100 fbb_.AddOffset(ApplicationData::VT_VECTORS, vectors); in add_vectors()
103 : fbb_(_fbb) { in ApplicationDataBuilder()
104 start_ = fbb_.StartTable(); in ApplicationDataBuilder()
108 const auto end = fbb_.EndTable(start_); in Finish()
Darrays_test_generated.h258 flatbuffers::FlatBufferBuilder &fbb_; member
261 fbb_.AddStruct(ArrayTable::VT_A, a); in add_a()
264 : fbb_(_fbb) { in ArrayTableBuilder()
265 start_ = fbb_.StartTable(); in ArrayTableBuilder()
269 const auto end = fbb_.EndTable(start_); in Finish()
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h3061 flatbuffers::FlatBufferBuilder &fbb_;
3064 fbb_.AddOffset(CustomQuantization::VT_CUSTOM, custom);
3067 : fbb_(_fbb) {
3068 start_ = fbb_.StartTable();
3072 const auto end = fbb_.EndTable(start_);
3173 flatbuffers::FlatBufferBuilder &fbb_;
3176 fbb_.AddOffset(QuantizationParameters::VT_MIN, min);
3179 fbb_.AddOffset(QuantizationParameters::VT_MAX, max);
3182 fbb_.AddOffset(QuantizationParameters::VT_SCALE, scale);
3185 fbb_.AddOffset(QuantizationParameters::VT_ZERO_POINT, zero_point);
[all …]
/external/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.rs91 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
97 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<namespace_b::TableInNestedNS>>(TableInFirstNS:… in add_foo_table()
101 …self.fbb_.push_slot::<namespace_b::EnumInNestedNS>(TableInFirstNS::VT_FOO_ENUM, foo_enum, namespac… in add_foo_enum()
105 …self.fbb_.push_slot_always::<&namespace_b::StructInNestedNS>(TableInFirstNS::VT_FOO_STRUCT, foo_st… in add_foo_struct()
111 fbb_: _fbb, in new()
117 let o = self.fbb_.end_table(self.start_); in finish()
175 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
181 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<super::namespace_c::TableInC>>(SecondTableInA:… in add_refer_to_c()
187 fbb_: _fbb, in new()
193 let o = self.fbb_.end_table(self.start_); in finish()
[all …]
Dnamespace_test2_generated.h126 flatbuffers::FlatBufferBuilder &fbb_; member
129 fbb_.AddOffset(TableInFirstNS::VT_FOO_TABLE, foo_table); in add_foo_table()
132 fbb_.AddElement<int8_t>(TableInFirstNS::VT_FOO_ENUM, static_cast<int8_t>(foo_enum), 0); in add_foo_enum()
135 fbb_.AddStruct(TableInFirstNS::VT_FOO_STRUCT, foo_struct); in add_foo_struct()
138 : fbb_(_fbb) { in TableInFirstNSBuilder()
139 start_ = fbb_.StartTable(); in TableInFirstNSBuilder()
143 const auto end = fbb_.EndTable(start_); in Finish()
223 flatbuffers::FlatBufferBuilder &fbb_; member
226 fbb_.AddOffset(TableInC::VT_REFER_TO_A1, refer_to_a1); in add_refer_to_a1()
229 fbb_.AddOffset(TableInC::VT_REFER_TO_A2, refer_to_a2); in add_refer_to_a2()
[all …]
Dnamespace_test1_generated.h147 flatbuffers::FlatBufferBuilder &fbb_; member
150 fbb_.AddElement<int32_t>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()
153 : fbb_(_fbb) { in TableInNestedNSBuilder()
154 start_ = fbb_.StartTable(); in TableInNestedNSBuilder()
158 const auto end = fbb_.EndTable(start_); in Finish()
Dnamespace_test1_generated.rs205 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
211 self.fbb_.push_slot::<i32>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()
217 fbb_: _fbb, in new()
223 let o = self.fbb_.end_table(self.start_); in finish()
/external/flatbuffers/samples/
Dmonster_generated.rs341 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
347 self.fbb_.push_slot_always::<&Vec3>(Monster::VT_POS, pos); in add_pos()
351 self.fbb_.push_slot::<i16>(Monster::VT_MANA, mana, 150); in add_mana()
355 self.fbb_.push_slot::<i16>(Monster::VT_HP, hp, 100); in add_hp()
359 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_NAME, name); in add_name()
363 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_INVENTORY, inventory); in add_inventory()
367 self.fbb_.push_slot::<Color>(Monster::VT_COLOR, color, Color::Blue); in add_color()
371 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_WEAPONS, weapons); in add_weapons()
375 self.fbb_.push_slot::<Equipment>(Monster::VT_EQUIPPED_TYPE, equipped_type, Equipment::NONE); in add_equipped_type()
379 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_EQUIPPED, equipped); in add_equipped()
[all …]
Dmonster_generated.h369 flatbuffers::FlatBufferBuilder &fbb_;
372 fbb_.AddStruct(Monster::VT_POS, pos);
375 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
378 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
381 fbb_.AddOffset(Monster::VT_NAME, name);
384 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
387 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
390 fbb_.AddOffset(Monster::VT_WEAPONS, weapons);
393 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0);
396 fbb_.AddOffset(Monster::VT_EQUIPPED, equipped);
[all …]
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h639 flatbuffers::FlatBufferBuilder &fbb_;
642 : fbb_(_fbb) {
643 start_ = fbb_.StartTable();
647 const auto end = fbb_.EndTable(start_);
692 flatbuffers::FlatBufferBuilder &fbb_;
695 : fbb_(_fbb) {
696 start_ = fbb_.StartTable();
700 const auto end = fbb_.EndTable(start_);
759 flatbuffers::FlatBufferBuilder &fbb_;
762 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
[all …]
/external/flatbuffers/tests/include_test/
Dinclude_test1_generated.rs65 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
71 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<my_game::other_name_space::TableB>>(TableA::VT… in add_b()
77 fbb_: _fbb, in new()
83 let o = self.fbb_.end_table(self.start_); in finish()
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.h308 flatbuffers::FlatBufferBuilder &fbb_; member
311 fbb_.AddElement<int32_t>(Attacker::VT_SWORD_ATTACK_DAMAGE, sword_attack_damage, 0); in add_sword_attack_damage()
314 : fbb_(_fbb) { in AttackerBuilder()
315 start_ = fbb_.StartTable(); in AttackerBuilder()
319 const auto end = fbb_.EndTable(start_); in Finish()
424 flatbuffers::FlatBufferBuilder &fbb_; member
427fbb_.AddElement<uint8_t>(Movie::VT_MAIN_CHARACTER_TYPE, static_cast<uint8_t>(main_character_type),… in add_main_character_type()
430 fbb_.AddOffset(Movie::VT_MAIN_CHARACTER, main_character); in add_main_character()
433 fbb_.AddOffset(Movie::VT_CHARACTERS_TYPE, characters_type); in add_characters_type()
436 fbb_.AddOffset(Movie::VT_CHARACTERS, characters); in add_characters()
[all …]
/external/flatbuffers/tests/include_test/sub/
Dinclude_test2_generated.rs197 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
203 self.fbb_.push_slot_always::<flatbuffers::WIPOffset<super::super::TableA>>(TableB::VT_A, a); in add_a()
209 fbb_: _fbb, in new()
215 let o = self.fbb_.end_table(self.start_); in finish()

12