Searched refs:vecofstructs (Results 1 – 1 of 1) sorted by relevance
/external/flatbuffers/tests/ |
D | test.cpp | 141 auto vecofstructs = builder.CreateVectorOfSortedStructs(&abilities); in CreateFlatBufferTest() local 183 vecofstructs, flex, testv2, 0, 0, 0, 0, 0, 0, 0, 0, in CreateFlatBufferTest() 320 auto vecofstructs = monster->testarrayofsortedstruct(); in AccessFlatBufferTest() local 321 if (vecofstructs) { // not filled in monster_test.bfbs in AccessFlatBufferTest() 322 for (flatbuffers::uoffset_t i = 0; i < vecofstructs->size() - 1; i++) { in AccessFlatBufferTest() 323 auto left = vecofstructs->Get(i); in AccessFlatBufferTest() 324 auto right = vecofstructs->Get(i + 1); in AccessFlatBufferTest() 327 TEST_NOTNULL(vecofstructs->LookupByKey(3)); in AccessFlatBufferTest() 329 vecofstructs->LookupByKey(5)); in AccessFlatBufferTest()
|