Lines Matching refs:fbb_
694 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);
813 : fbb_(_fbb) {
814 start_ = fbb_.StartTable();
818 const auto end = fbb_.EndTable(start_);
894 flatbuffers::FlatBufferBuilder &fbb_;
897 fbb_.AddOffset(Stat::VT_ID, id);
900 fbb_.AddElement<int64_t>(Stat::VT_VAL, val, 0);
903 fbb_.AddElement<uint16_t>(Stat::VT_COUNT, count, 0);
906 : fbb_(_fbb) {
907 start_ = fbb_.StartTable();
911 const auto end = fbb_.EndTable(start_);
988 flatbuffers::FlatBufferBuilder &fbb_;
991 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
994 : fbb_(_fbb) {
995 start_ = fbb_.StartTable();
999 const auto end = fbb_.EndTable(start_);
1622 flatbuffers::FlatBufferBuilder &fbb_;
1625 fbb_.AddStruct(Monster::VT_POS, pos);
1628 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
1631 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
1634 fbb_.AddOffset(Monster::VT_NAME, name);
1637 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
1640 fbb_.AddElement<int8_t>(Monster::VT_COLOR, static_cast<int8_t>(color), 8);
1643 fbb_.AddElement<uint8_t>(Monster::VT_TEST_TYPE, static_cast<uint8_t>(test_type), 0);
1646 fbb_.AddOffset(Monster::VT_TEST, test);
1649 fbb_.AddOffset(Monster::VT_TEST4, test4);
1652 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
1655 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
1658 fbb_.AddOffset(Monster::VT_ENEMY, enemy);
1661 fbb_.AddOffset(Monster::VT_TESTNESTEDFLATBUFFER, testnestedflatbuffer);
1664 fbb_.AddOffset(Monster::VT_TESTEMPTY, testempty);
1667 fbb_.AddElement<uint8_t>(Monster::VT_TESTBOOL, static_cast<uint8_t>(testbool), 0);
1670 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0);
1673 fbb_.AddElement<uint32_t>(Monster::VT_TESTHASHU32_FNV1, testhashu32_fnv1, 0);
1676 fbb_.AddElement<int64_t>(Monster::VT_TESTHASHS64_FNV1, testhashs64_fnv1, 0);
1679 fbb_.AddElement<uint64_t>(Monster::VT_TESTHASHU64_FNV1, testhashu64_fnv1, 0);
1682 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1A, testhashs32_fnv1a, 0);
1685 fbb_.AddElement<uint32_t>(Monster::VT_TESTHASHU32_FNV1A, testhashu32_fnv1a, 0);
1688 fbb_.AddElement<int64_t>(Monster::VT_TESTHASHS64_FNV1A, testhashs64_fnv1a, 0);
1691 fbb_.AddElement<uint64_t>(Monster::VT_TESTHASHU64_FNV1A, testhashu64_fnv1a, 0);
1694 fbb_.AddOffset(Monster::VT_TESTARRAYOFBOOLS, testarrayofbools);
1697 fbb_.AddElement<float>(Monster::VT_TESTF, testf, 3.14159f);
1700 fbb_.AddElement<float>(Monster::VT_TESTF2, testf2, 3.0f);
1703 fbb_.AddElement<float>(Monster::VT_TESTF3, testf3, 0.0f);
1706 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING2, testarrayofstring2);
1709 fbb_.AddOffset(Monster::VT_TESTARRAYOFSORTEDSTRUCT, testarrayofsortedstruct);
1712 fbb_.AddOffset(Monster::VT_FLEX, flex);
1715 fbb_.AddOffset(Monster::VT_TEST5, test5);
1718 fbb_.AddOffset(Monster::VT_VECTOR_OF_LONGS, vector_of_longs);
1721 fbb_.AddOffset(Monster::VT_VECTOR_OF_DOUBLES, vector_of_doubles);
1724 fbb_.AddOffset(Monster::VT_PARENT_NAMESPACE_TEST, parent_namespace_test);
1727 fbb_.AddOffset(Monster::VT_VECTOR_OF_REFERRABLES, vector_of_referrables);
1730 fbb_.AddElement<uint64_t>(Monster::VT_SINGLE_WEAK_REFERENCE, single_weak_reference, 0);
1733 fbb_.AddOffset(Monster::VT_VECTOR_OF_WEAK_REFERENCES, vector_of_weak_references);
1736 fbb_.AddOffset(Monster::VT_VECTOR_OF_STRONG_REFERRABLES, vector_of_strong_referrables);
1739 fbb_.AddElement<uint64_t>(Monster::VT_CO_OWNING_REFERENCE, co_owning_reference, 0);
1742 fbb_.AddOffset(Monster::VT_VECTOR_OF_CO_OWNING_REFERENCES, vector_of_co_owning_references);
1745 fbb_.AddElement<uint64_t>(Monster::VT_NON_OWNING_REFERENCE, non_owning_reference, 0);
1748 fbb_.AddOffset(Monster::VT_VECTOR_OF_NON_OWNING_REFERENCES, vector_of_non_owning_references);
1751 fbb_.AddElement<uint8_t>(Monster::VT_ANY_UNIQUE_TYPE, static_cast<uint8_t>(any_unique_type), 0);
1754 fbb_.AddOffset(Monster::VT_ANY_UNIQUE, any_unique);
1757 …fbb_.AddElement<uint8_t>(Monster::VT_ANY_AMBIGUOUS_TYPE, static_cast<uint8_t>(any_ambiguous_type),…
1760 fbb_.AddOffset(Monster::VT_ANY_AMBIGUOUS, any_ambiguous);
1763 fbb_.AddOffset(Monster::VT_VECTOR_OF_ENUMS, vector_of_enums);
1766 : fbb_(_fbb) {
1767 start_ = fbb_.StartTable();
1771 const auto end = fbb_.EndTable(start_);
1773 fbb_.Required(o, Monster::VT_NAME);
2158 flatbuffers::FlatBufferBuilder &fbb_;
2161 fbb_.AddElement<int8_t>(TypeAliases::VT_I8, i8, 0);
2164 fbb_.AddElement<uint8_t>(TypeAliases::VT_U8, u8, 0);
2167 fbb_.AddElement<int16_t>(TypeAliases::VT_I16, i16, 0);
2170 fbb_.AddElement<uint16_t>(TypeAliases::VT_U16, u16, 0);
2173 fbb_.AddElement<int32_t>(TypeAliases::VT_I32, i32, 0);
2176 fbb_.AddElement<uint32_t>(TypeAliases::VT_U32, u32, 0);
2179 fbb_.AddElement<int64_t>(TypeAliases::VT_I64, i64, 0);
2182 fbb_.AddElement<uint64_t>(TypeAliases::VT_U64, u64, 0);
2185 fbb_.AddElement<float>(TypeAliases::VT_F32, f32, 0.0f);
2188 fbb_.AddElement<double>(TypeAliases::VT_F64, f64, 0.0);
2191 fbb_.AddOffset(TypeAliases::VT_V8, v8);
2194 fbb_.AddOffset(TypeAliases::VT_VF64, vf64);
2197 : fbb_(_fbb) {
2198 start_ = fbb_.StartTable();
2202 const auto end = fbb_.EndTable(start_);