Lines Matching refs:fbb_
271 flatbuffers::FlatBufferBuilder &fbb_;
274 : fbb_(_fbb) {
275 start_ = fbb_.StartTable();
279 const auto end = fbb_.EndTable(start_, 0);
327 flatbuffers::FlatBufferBuilder &fbb_;
330 fbb_.AddElement<int8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<int8_t>(color), 2);
333 : fbb_(_fbb) {
334 start_ = fbb_.StartTable();
338 const auto end = fbb_.EndTable(start_, 1);
404 flatbuffers::FlatBufferBuilder &fbb_;
407 fbb_.AddOffset(Stat::VT_ID, id);
410 fbb_.AddElement<int64_t>(Stat::VT_VAL, val, 0);
413 fbb_.AddElement<uint16_t>(Stat::VT_COUNT, count, 0);
416 : fbb_(_fbb) {
417 start_ = fbb_.StartTable();
421 const auto end = fbb_.EndTable(start_, 3);
766 flatbuffers::FlatBufferBuilder &fbb_;
769 fbb_.AddStruct(Monster::VT_POS, pos);
772 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
775 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
778 fbb_.AddOffset(Monster::VT_NAME, name);
781 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
784 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 8);
787 fbb_.AddElement<uint8_t>(Monster::VT_TEST_TYPE, static_cast<uint8_t>(test_type), 0);
790 fbb_.AddOffset(Monster::VT_TEST, test);
793 fbb_.AddOffset(Monster::VT_TEST4, test4);
796 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
799 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
802 fbb_.AddOffset(Monster::VT_ENEMY, enemy);
805 fbb_.AddOffset(Monster::VT_TESTNESTEDFLATBUFFER, testnestedflatbuffer);
808 fbb_.AddOffset(Monster::VT_TESTEMPTY, testempty);
811 fbb_.AddElement<uint8_t>(Monster::VT_TESTBOOL, static_cast<uint8_t>(testbool), 0);
814 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0);
817 fbb_.AddElement<uint32_t>(Monster::VT_TESTHASHU32_FNV1, testhashu32_fnv1, 0);
820 fbb_.AddElement<int64_t>(Monster::VT_TESTHASHS64_FNV1, testhashs64_fnv1, 0);
823 fbb_.AddElement<uint64_t>(Monster::VT_TESTHASHU64_FNV1, testhashu64_fnv1, 0);
826 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1A, testhashs32_fnv1a, 0);
829 fbb_.AddElement<uint32_t>(Monster::VT_TESTHASHU32_FNV1A, testhashu32_fnv1a, 0);
832 fbb_.AddElement<int64_t>(Monster::VT_TESTHASHS64_FNV1A, testhashs64_fnv1a, 0);
835 fbb_.AddElement<uint64_t>(Monster::VT_TESTHASHU64_FNV1A, testhashu64_fnv1a, 0);
838 fbb_.AddOffset(Monster::VT_TESTARRAYOFBOOLS, testarrayofbools);
841 fbb_.AddElement<float>(Monster::VT_TESTF, testf, 3.14159f);
844 fbb_.AddElement<float>(Monster::VT_TESTF2, testf2, 3.0f);
847 fbb_.AddElement<float>(Monster::VT_TESTF3, testf3, 0.0f);
850 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING2, testarrayofstring2);
853 : fbb_(_fbb) {
854 start_ = fbb_.StartTable();
858 const auto end = fbb_.EndTable(start_, 29);
860 fbb_.Required(o, Monster::VT_NAME);