Searched refs:fbb1 (Results 1 – 5 of 5) sorted by relevance
/external/flatbuffers/tests/FlatBuffers.Benchmarks/ |
D | FlatBufferBuilderBenchmark.cs | 38 var fbb1 = new FlatBufferBuilder(16); in BuildNestedMonster() 39 var str1 = fbb1.CreateString(nestedMonsterName); in BuildNestedMonster() 40 Monster.StartMonster(fbb1); in BuildNestedMonster() 41 Monster.AddName(fbb1, str1); in BuildNestedMonster() 42 Monster.AddHp(fbb1, nestedMonsterHp); in BuildNestedMonster() 43 Monster.AddMana(fbb1, nestedMonsterMana); in BuildNestedMonster() 44 var monster1 = Monster.EndMonster(fbb1); in BuildNestedMonster() 45 Monster.FinishMonsterBuffer(fbb1, monster1); in BuildNestedMonster() 46 var fbb1Bytes = fbb1.SizedByteArray(); in BuildNestedMonster() 47 fbb1 = null; in BuildNestedMonster()
|
/external/flatbuffers/tests/ |
D | KotlinTest.kt | 169 var fbb1: FlatBufferBuilder? = FlatBufferBuilder(16) in TestNestedFlatBuffer() variable 170 val str1 = fbb1!!.createString(nestedMonsterName) in TestNestedFlatBuffer() 171 Monster.startMonster(fbb1) in TestNestedFlatBuffer() 172 Monster.addName(fbb1, str1) in TestNestedFlatBuffer() 173 Monster.addHp(fbb1, nestedMonsterHp) in TestNestedFlatBuffer() 174 Monster.addMana(fbb1, nestedMonsterMana) in TestNestedFlatBuffer() 175 val monster1 = Monster.endMonster(fbb1) in TestNestedFlatBuffer() 176 Monster.finishMonsterBuffer(fbb1, monster1) in TestNestedFlatBuffer() 177 val fbb1Bytes = fbb1.sizedByteArray() in TestNestedFlatBuffer()
|
D | JavaTest.java | 212 FlatBufferBuilder fbb1 = new FlatBufferBuilder(16); in TestNestedFlatBuffer() local 213 int str1 = fbb1.createString(nestedMonsterName); in TestNestedFlatBuffer() 214 Monster.startMonster(fbb1); in TestNestedFlatBuffer() 215 Monster.addName(fbb1, str1); in TestNestedFlatBuffer() 216 Monster.addHp(fbb1, nestedMonsterHp); in TestNestedFlatBuffer() 217 Monster.addMana(fbb1, nestedMonsterMana); in TestNestedFlatBuffer() 218 int monster1 = Monster.endMonster(fbb1); in TestNestedFlatBuffer() 219 Monster.finishMonsterBuffer(fbb1, monster1); in TestNestedFlatBuffer() 220 byte[] fbb1Bytes = fbb1.sizedByteArray(); in TestNestedFlatBuffer() 221 fbb1 = null; in TestNestedFlatBuffer()
|
D | test.cpp | 502 flatbuffers::FlatBufferBuilder fbb1; in ObjectFlatBuffersTest() local 503 fbb1.Finish(CreateMonster(fbb1, monster1.get(), &rehasher), in ObjectFlatBuffersTest() 507 auto monster2 = UnPackMonster(fbb1.GetBufferPointer(), &resolver); in ObjectFlatBuffersTest() 513 auto len1 = fbb1.GetSize(); in ObjectFlatBuffersTest() 516 TEST_EQ(memcmp(fbb1.GetBufferPointer(), fbb2.GetBufferPointer(), len1), 0); in ObjectFlatBuffersTest()
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffersExampleTests.cs | 337 var fbb1 = new FlatBufferBuilder(16); in TestNestedFlatBuffer() 338 var str1 = fbb1.CreateString(nestedMonsterName); in TestNestedFlatBuffer() 339 Monster.StartMonster(fbb1); in TestNestedFlatBuffer() 340 Monster.AddName(fbb1, str1); in TestNestedFlatBuffer() 341 Monster.AddHp(fbb1, nestedMonsterHp); in TestNestedFlatBuffer() 342 Monster.AddMana(fbb1, nestedMonsterMana); in TestNestedFlatBuffer() 343 var monster1 = Monster.EndMonster(fbb1); in TestNestedFlatBuffer() 344 Monster.FinishMonsterBuffer(fbb1, monster1); in TestNestedFlatBuffer() 345 var fbb1Bytes = fbb1.SizedByteArray(); in TestNestedFlatBuffer() 346 fbb1 = null; in TestNestedFlatBuffer()
|