Home
last modified time | relevance | path

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

/external/flatbuffers/include/flatbuffers/
Dreflection_generated.h127 flatbuffers::FlatBufferBuilder &fbb_; member
130 fbb_.AddElement<int8_t>(Type::VT_BASE_TYPE, static_cast<int8_t>(base_type), 0); in add_base_type()
133 fbb_.AddElement<int8_t>(Type::VT_ELEMENT, static_cast<int8_t>(element), 0); in add_element()
136 fbb_.AddElement<int32_t>(Type::VT_INDEX, index, -1); in add_index()
139 : fbb_(_fbb) { in TypeBuilder()
140 start_ = fbb_.StartTable(); in TypeBuilder()
144 const auto end = fbb_.EndTable(start_); in Finish()
190 flatbuffers::FlatBufferBuilder &fbb_; member
193 fbb_.AddOffset(KeyValue::VT_KEY, key); in add_key()
196 fbb_.AddOffset(KeyValue::VT_VALUE, value); in add_value()
[all …]
/external/flatbuffers/tests/namespace_test/
Dnamespace_test2_generated.h79 flatbuffers::FlatBufferBuilder &fbb_; member
82 fbb_.AddOffset(TableInFirstNS::VT_FOO_TABLE, foo_table); in add_foo_table()
85 fbb_.AddElement<int8_t>(TableInFirstNS::VT_FOO_ENUM, static_cast<int8_t>(foo_enum), 0); in add_foo_enum()
88 fbb_.AddStruct(TableInFirstNS::VT_FOO_STRUCT, foo_struct); in add_foo_struct()
91 : fbb_(_fbb) { in TableInFirstNSBuilder()
92 start_ = fbb_.StartTable(); in TableInFirstNSBuilder()
96 const auto end = fbb_.EndTable(start_); in Finish()
149 flatbuffers::FlatBufferBuilder &fbb_; member
152 fbb_.AddOffset(TableInC::VT_REFER_TO_A1, refer_to_a1); in add_refer_to_a1()
155 fbb_.AddOffset(TableInC::VT_REFER_TO_A2, refer_to_a2); in add_refer_to_a2()
[all …]
Dnamespace_test2_generated.rs92 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
98 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<namespace_b::TableInNestedNS>>(TableInFirstNS:… in add_foo_table()
102 …self.fbb_.push_slot::<namespace_b::EnumInNestedNS>(TableInFirstNS::VT_FOO_ENUM, foo_enum, namespac… in add_foo_enum()
106 …self.fbb_.push_slot_always::<&namespace_b::StructInNestedNS>(TableInFirstNS::VT_FOO_STRUCT, foo_st… in add_foo_struct()
112 fbb_: _fbb, in new()
118 let o = self.fbb_.end_table(self.start_); in finish()
176 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
182 …self.fbb_.push_slot_always::<flatbuffers::WIPOffset<super::namespace_c::TableInC>>(SecondTableInA:… in add_refer_to_c()
188 fbb_: _fbb, in new()
194 let o = self.fbb_.end_table(self.start_); in finish()
[all …]
Dnamespace_test1_generated.h102 flatbuffers::FlatBufferBuilder &fbb_; member
105 fbb_.AddElement<int32_t>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()
108 : fbb_(_fbb) { in TableInNestedNSBuilder()
109 start_ = fbb_.StartTable(); in TableInNestedNSBuilder()
113 const auto end = fbb_.EndTable(start_); in Finish()
Dnamespace_test1_generated.rs209 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
215 self.fbb_.push_slot::<i32>(TableInNestedNS::VT_FOO, foo, 0); in add_foo()
221 fbb_: _fbb, in new()
227 let o = self.fbb_.end_table(self.start_); in finish()
/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.rs67 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
75 fbb_: _fbb, in new()
81 let o = self.fbb_.end_table(self.start_); in finish()
140 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
148 fbb_: _fbb, in new()
154 let o = self.fbb_.end_table(self.start_); in finish()
714 fbb_: &'b mut flatbuffers::FlatBufferBuilder<'a>, field
720 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
726 fbb_: _fbb, in new()
732 let o = self.fbb_.end_table(self.start_); in finish()
[all …]
Dmonster_extra_generated.h111 flatbuffers::FlatBufferBuilder &fbb_; member
114fbb_.AddElement<float>(MonsterExtra::VT_TESTF_NAN, testf_nan, std::numeric_limits<float>::quiet_Na… in add_testf_nan()
117fbb_.AddElement<float>(MonsterExtra::VT_TESTF_PINF, testf_pinf, std::numeric_limits<float>::infini… in add_testf_pinf()
120fbb_.AddElement<float>(MonsterExtra::VT_TESTF_NINF, testf_ninf, -std::numeric_limits<float>::infin… in add_testf_ninf()
123fbb_.AddElement<double>(MonsterExtra::VT_TESTD_NAN, testd_nan, std::numeric_limits<double>::quiet_… in add_testd_nan()
126fbb_.AddElement<double>(MonsterExtra::VT_TESTD_PINF, testd_pinf, std::numeric_limits<double>::infi… in add_testd_pinf()
129fbb_.AddElement<double>(MonsterExtra::VT_TESTD_NINF, testd_ninf, -std::numeric_limits<double>::inf… in add_testd_ninf()
132 : fbb_(_fbb) { in MonsterExtraBuilder()
133 start_ = fbb_.StartTable(); in MonsterExtraBuilder()
137 const auto end = fbb_.EndTable(start_); in Finish()
Dmonster_test_generated.h694 flatbuffers::FlatBufferBuilder &fbb_;
697 : fbb_(_fbb) {
698 start_ = fbb_.StartTable();
702 const auto end = fbb_.EndTable(start_);
743 flatbuffers::FlatBufferBuilder &fbb_;
746 : fbb_(_fbb) {
747 start_ = fbb_.StartTable();
751 const auto end = fbb_.EndTable(start_);
807 flatbuffers::FlatBufferBuilder &fbb_;
810 fbb_.AddElement<int8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<int8_t>(color), 2);
[all …]
/external/tensorflow/tensorflow/lite/schema/
Dschema_generated.h2449 flatbuffers::FlatBufferBuilder &fbb_;
2452 fbb_.AddOffset(CustomQuantization::VT_CUSTOM, custom);
2455 : fbb_(_fbb) {
2456 start_ = fbb_.StartTable();
2460 const auto end = fbb_.EndTable(start_);
2559 flatbuffers::FlatBufferBuilder &fbb_;
2562 fbb_.AddOffset(QuantizationParameters::VT_MIN, min);
2565 fbb_.AddOffset(QuantizationParameters::VT_MAX, max);
2568 fbb_.AddOffset(QuantizationParameters::VT_SCALE, scale);
2571 fbb_.AddOffset(QuantizationParameters::VT_ZERO_POINT, zero_point);
[all …]
/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.h335 flatbuffers::FlatBufferBuilder &fbb_;
338 fbb_.AddStruct(Monster::VT_POS, pos);
341 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
344 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
347 fbb_.AddOffset(Monster::VT_NAME, name);
350 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
353 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 2);
356 fbb_.AddOffset(Monster::VT_WEAPONS, weapons);
359 fbb_.AddElement<uint8_t>(Monster::VT_EQUIPPED_TYPE, static_cast<uint8_t>(equipped_type), 0);
362 fbb_.AddOffset(Monster::VT_EQUIPPED, equipped);
[all …]
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.h274 flatbuffers::FlatBufferBuilder &fbb_; member
277 fbb_.AddElement<int32_t>(Attacker::VT_SWORD_ATTACK_DAMAGE, sword_attack_damage, 0); in add_sword_attack_damage()
280 : fbb_(_fbb) { in AttackerBuilder()
281 start_ = fbb_.StartTable(); in AttackerBuilder()
285 const auto end = fbb_.EndTable(start_); in Finish()
386 flatbuffers::FlatBufferBuilder &fbb_; member
389fbb_.AddElement<uint8_t>(Movie::VT_MAIN_CHARACTER_TYPE, static_cast<uint8_t>(main_character_type),… in add_main_character_type()
392 fbb_.AddOffset(Movie::VT_MAIN_CHARACTER, main_character); in add_main_character()
395 fbb_.AddOffset(Movie::VT_CHARACTERS_TYPE, characters_type); in add_characters_type()
398 fbb_.AddOffset(Movie::VT_CHARACTERS, characters); in add_characters()
[all …]
/external/flatbuffers/docs/source/
DInternals.md216 flatbuffers::FlatBufferBuilder &fbb_;
218 void add_pos(const Vec3 *pos) { fbb_.AddStruct(4, pos); }
219 void add_mana(int16_t mana) { fbb_.AddElement<int16_t>(6, mana, 150); }
220 void add_hp(int16_t hp) { fbb_.AddElement<int16_t>(8, hp, 100); }
221 void add_name(flatbuffers::Offset<flatbuffers::String> name) { fbb_.AddOffset(10, name); }
222 …void add_inventory(flatbuffers::Offset<flatbuffers::Vector<uint8_t>> inventory) { fbb_.AddOffset(1…
223 void add_color(int8_t color) { fbb_.AddElement<int8_t>(16, color, 2); }
224 … MonsterBuilder(flatbuffers::FlatBufferBuilder &_fbb) : fbb_(_fbb) { start_ = fbb_.StartTable(); }
225 …flatbuffers::Offset<Monster> Finish() { return flatbuffers::Offset<Monster>(fbb_.EndTable(start_, …