Lines Matching refs:fbb_
799 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);
932 : fbb_(_fbb) {
933 start_ = fbb_.StartTable();
937 const auto end = fbb_.EndTable(start_);
1020 flatbuffers::FlatBufferBuilder &fbb_;
1023 fbb_.AddOffset(Stat::VT_ID, id);
1026 fbb_.AddElement<int64_t>(Stat::VT_VAL, val, 0);
1029 fbb_.AddElement<uint16_t>(Stat::VT_COUNT, count, 0);
1032 : fbb_(_fbb) {
1033 start_ = fbb_.StartTable();
1037 const auto end = fbb_.EndTable(start_);
1121 flatbuffers::FlatBufferBuilder &fbb_;
1124 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
1127 : fbb_(_fbb) {
1128 start_ = fbb_.StartTable();
1132 const auto end = fbb_.EndTable(start_);
1764 flatbuffers::FlatBufferBuilder &fbb_;
1767 fbb_.AddStruct(Monster::VT_POS, pos);
1770 fbb_.AddElement<int16_t>(Monster::VT_MANA, mana, 150);
1773 fbb_.AddElement<int16_t>(Monster::VT_HP, hp, 100);
1776 fbb_.AddOffset(Monster::VT_NAME, name);
1779 fbb_.AddOffset(Monster::VT_INVENTORY, inventory);
1782 fbb_.AddElement<uint8_t>(Monster::VT_COLOR, static_cast<uint8_t>(color), 8);
1785 fbb_.AddElement<uint8_t>(Monster::VT_TEST_TYPE, static_cast<uint8_t>(test_type), 0);
1788 fbb_.AddOffset(Monster::VT_TEST, test);
1791 fbb_.AddOffset(Monster::VT_TEST4, test4);
1794 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
1797 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
1800 fbb_.AddOffset(Monster::VT_ENEMY, enemy);
1803 fbb_.AddOffset(Monster::VT_TESTNESTEDFLATBUFFER, testnestedflatbuffer);
1806 fbb_.AddOffset(Monster::VT_TESTEMPTY, testempty);
1809 fbb_.AddElement<uint8_t>(Monster::VT_TESTBOOL, static_cast<uint8_t>(testbool), 0);
1812 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1, testhashs32_fnv1, 0);
1815 fbb_.AddElement<uint32_t>(Monster::VT_TESTHASHU32_FNV1, testhashu32_fnv1, 0);
1818 fbb_.AddElement<int64_t>(Monster::VT_TESTHASHS64_FNV1, testhashs64_fnv1, 0);
1821 fbb_.AddElement<uint64_t>(Monster::VT_TESTHASHU64_FNV1, testhashu64_fnv1, 0);
1824 fbb_.AddElement<int32_t>(Monster::VT_TESTHASHS32_FNV1A, testhashs32_fnv1a, 0);
1827 fbb_.AddElement<uint32_t>(Monster::VT_TESTHASHU32_FNV1A, testhashu32_fnv1a, 0);
1830 fbb_.AddElement<int64_t>(Monster::VT_TESTHASHS64_FNV1A, testhashs64_fnv1a, 0);
1833 fbb_.AddElement<uint64_t>(Monster::VT_TESTHASHU64_FNV1A, testhashu64_fnv1a, 0);
1836 fbb_.AddOffset(Monster::VT_TESTARRAYOFBOOLS, testarrayofbools);
1839 fbb_.AddElement<float>(Monster::VT_TESTF, testf, 3.14159f);
1842 fbb_.AddElement<float>(Monster::VT_TESTF2, testf2, 3.0f);
1845 fbb_.AddElement<float>(Monster::VT_TESTF3, testf3, 0.0f);
1848 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING2, testarrayofstring2);
1851 fbb_.AddOffset(Monster::VT_TESTARRAYOFSORTEDSTRUCT, testarrayofsortedstruct);
1854 fbb_.AddOffset(Monster::VT_FLEX, flex);
1857 fbb_.AddOffset(Monster::VT_TEST5, test5);
1860 fbb_.AddOffset(Monster::VT_VECTOR_OF_LONGS, vector_of_longs);
1863 fbb_.AddOffset(Monster::VT_VECTOR_OF_DOUBLES, vector_of_doubles);
1866 fbb_.AddOffset(Monster::VT_PARENT_NAMESPACE_TEST, parent_namespace_test);
1869 fbb_.AddOffset(Monster::VT_VECTOR_OF_REFERRABLES, vector_of_referrables);
1872 fbb_.AddElement<uint64_t>(Monster::VT_SINGLE_WEAK_REFERENCE, single_weak_reference, 0);
1875 fbb_.AddOffset(Monster::VT_VECTOR_OF_WEAK_REFERENCES, vector_of_weak_references);
1878 fbb_.AddOffset(Monster::VT_VECTOR_OF_STRONG_REFERRABLES, vector_of_strong_referrables);
1881 fbb_.AddElement<uint64_t>(Monster::VT_CO_OWNING_REFERENCE, co_owning_reference, 0);
1884 fbb_.AddOffset(Monster::VT_VECTOR_OF_CO_OWNING_REFERENCES, vector_of_co_owning_references);
1887 fbb_.AddElement<uint64_t>(Monster::VT_NON_OWNING_REFERENCE, non_owning_reference, 0);
1890 fbb_.AddOffset(Monster::VT_VECTOR_OF_NON_OWNING_REFERENCES, vector_of_non_owning_references);
1893 fbb_.AddElement<uint8_t>(Monster::VT_ANY_UNIQUE_TYPE, static_cast<uint8_t>(any_unique_type), 0);
1896 fbb_.AddOffset(Monster::VT_ANY_UNIQUE, any_unique);
1899 …fbb_.AddElement<uint8_t>(Monster::VT_ANY_AMBIGUOUS_TYPE, static_cast<uint8_t>(any_ambiguous_type),…
1902 fbb_.AddOffset(Monster::VT_ANY_AMBIGUOUS, any_ambiguous);
1905 fbb_.AddOffset(Monster::VT_VECTOR_OF_ENUMS, vector_of_enums);
1908 fbb_.AddElement<int8_t>(Monster::VT_SIGNED_ENUM, static_cast<int8_t>(signed_enum), -1);
1911 : fbb_(_fbb) {
1912 start_ = fbb_.StartTable();
1916 const auto end = fbb_.EndTable(start_);
1918 fbb_.Required(o, Monster::VT_NAME);
2314 flatbuffers::FlatBufferBuilder &fbb_;
2317 fbb_.AddElement<int8_t>(TypeAliases::VT_I8, i8, 0);
2320 fbb_.AddElement<uint8_t>(TypeAliases::VT_U8, u8, 0);
2323 fbb_.AddElement<int16_t>(TypeAliases::VT_I16, i16, 0);
2326 fbb_.AddElement<uint16_t>(TypeAliases::VT_U16, u16, 0);
2329 fbb_.AddElement<int32_t>(TypeAliases::VT_I32, i32, 0);
2332 fbb_.AddElement<uint32_t>(TypeAliases::VT_U32, u32, 0);
2335 fbb_.AddElement<int64_t>(TypeAliases::VT_I64, i64, 0);
2338 fbb_.AddElement<uint64_t>(TypeAliases::VT_U64, u64, 0);
2341 fbb_.AddElement<float>(TypeAliases::VT_F32, f32, 0.0f);
2344 fbb_.AddElement<double>(TypeAliases::VT_F64, f64, 0.0);
2347 fbb_.AddOffset(TypeAliases::VT_V8, v8);
2350 fbb_.AddOffset(TypeAliases::VT_VF64, vf64);
2353 : fbb_(_fbb) {
2354 start_ = fbb_.StartTable();
2358 const auto end = fbb_.EndTable(start_);