Lines Matching refs:fbb
534 flatbuffers::FlatBufferBuilder fbb; in SizePrefixedTest() local
536 fbb, in SizePrefixedTest()
537 CreateMonster(fbb, 0, 200, 300, fbb.CreateString("bob"))); in SizePrefixedTest()
540 flatbuffers::Verifier verifier(fbb.GetBufferPointer(), fbb.GetSize()); in SizePrefixedTest()
544 auto m = GetSizePrefixedMonster(fbb.GetBufferPointer()); in SizePrefixedTest()
854 flatbuffers::FlatBufferBuilder fbb; in ReflectionTest() local
856 fbb, schema, *root_table, *flatbuffers::GetAnyRoot(flatbuf), true); in ReflectionTest()
857 fbb.Finish(root_offset, MonsterIdentifier()); in ReflectionTest()
859 AccessFlatBufferTest(fbb.GetBufferPointer(), fbb.GetSize()); in ReflectionTest()
863 fbb.GetBufferPointer(), fbb.GetSize()), in ReflectionTest()
2034 flatbuffers::FlatBufferBuilder fbb; in UnionVectorTest() local
2046 characters.push_back(fbb.CreateStruct(BookReader(/*books_read=*/7)).Union()); in UnionVectorTest()
2047 characters.push_back(CreateAttacker(fbb, /*sword_attack_damage=*/5).Union()); in UnionVectorTest()
2048 characters.push_back(fbb.CreateStruct(BookReader(/*books_read=*/2)).Union()); in UnionVectorTest()
2049 characters.push_back(fbb.CreateString("Other").Union()); in UnionVectorTest()
2050 characters.push_back(fbb.CreateString("Unused").Union()); in UnionVectorTest()
2054 CreateMovie(fbb, Character_Rapunzel, in UnionVectorTest()
2055 fbb.CreateStruct(Rapunzel(/*hair_length=*/6)).Union(), in UnionVectorTest()
2056 fbb.CreateVector(types), fbb.CreateVector(characters)); in UnionVectorTest()
2057 FinishMovieBuffer(fbb, movie_offset); in UnionVectorTest()
2058 auto buf = fbb.GetBufferPointer(); in UnionVectorTest()
2060 flatbuffers::Verifier verifier(buf, fbb.GetSize()); in UnionVectorTest()
2104 fbb.Clear(); in UnionVectorTest()
2105 fbb.Finish(Movie::Pack(fbb, movie_object)); in UnionVectorTest()
2109 auto repacked_movie = GetMovie(fbb.GetBufferPointer()); in UnionVectorTest()
2114 flatbuffers::FlatBufferToString(fbb.GetBufferPointer(), MovieTypeTable()); in UnionVectorTest()
2124 IterateFlatBuffer(fbb.GetBufferPointer(), MovieTypeTable(), &visitor); in UnionVectorTest()