Home
last modified time | relevance | path

Searched refs:testarrayoftables (Results 1 – 25 of 26) sorted by relevance

12

/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs105 testarrayoftables: Some(builder.create_vector(&[t0, t1, t2])), in create_serialized_example_with_generated_code()
147 let testarrayoftables = m.testarrayoftables().unwrap(); in traverse_serialized_example_with_generated_code() localVariable
148 blackbox(testarrayoftables.get(0).hp()); in traverse_serialized_example_with_generated_code()
149 blackbox(testarrayoftables.get(0).name()); in traverse_serialized_example_with_generated_code()
150 blackbox(testarrayoftables.get(1).name()); in traverse_serialized_example_with_generated_code()
151 blackbox(testarrayoftables.get(2).name()); in traverse_serialized_example_with_generated_code()
/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersMonsterWriterTests.swift90 Monster1.addVectorOf(testarrayoftables: sortedArray, fbb) in createMonster()
99 XCTAssertEqual(monster.testarrayoftables(at: 0)?.name, "Barney") in mutateMonster()
100 XCTAssertEqual(monster.testarrayoftables(at: 1)?.name, "Frodo") in mutateMonster()
101 XCTAssertEqual(monster.testarrayoftables(at: 2)?.name, "Wilma") in mutateMonster()
Dmonster_test_generated.swift363 …public func testarrayoftables(at index: Int32) -> MyGame.Example.Monster? { let o = _accessor.offs… in testarrayoftables() function
461 …lic static func addVectorOf(testarrayoftables: Offset<UOffset>, _ fbb: FlatBufferBuilder) { fbb.ad… in addVectorOf()
511 vectorOfTestarrayoftables testarrayoftables: Offset<UOffset> = Offset(),
560 Monster.addVectorOf(testarrayoftables: testarrayoftables, fbb)
/external/flatbuffers/tests/MyGame/Example/
DMonster.py736 …bles(builder, testarrayoftables): builder.PrependUOffsetTRelativeSlot(11, flatbuffers.number_types… argument
821 self.testarrayoftables = None # type: List[MyGame.Example.Monster.MonsterT]
904 self.testarrayoftables = []
907 self.testarrayoftables.append(None)
910 self.testarrayoftables.append(monster_)
1064 if self.testarrayoftables is not None:
1066 for i in range(len(self.testarrayoftables)):
1067 testarrayoftableslist.append(self.testarrayoftables[i].Pack(builder))
1068 MonsterStartTestarrayoftablesVector(builder, len(self.testarrayoftables))
1069 for i in reversed(range(len(self.testarrayoftables))):
[all …]
DMonster.kt150 …fun testarrayoftables(j: Int) : MyGame.Example.Monster? = testarrayoftables(MyGame.Example.Monster… in testarrayoftables() method
151 fun testarrayoftables(obj: MyGame.Example.Monster, j: Int) : MyGame.Example.Monster? { in testarrayoftables() method
815 …starrayoftables(builder: FlatBufferBuilder, testarrayoftables: Int) = builder.addOffset(11, testar… in startTestarrayofstringVector()
DMonster.php699 …$inventory, $color, $test_type, $test, $test4, $testarrayofstring, $testarrayoftables, $enemy, $te… argument
712 self::addTestarrayoftables($builder, $testarrayoftables);
927 public static function addTestarrayoftables(FlatBufferBuilder $builder, $testarrayoftables) argument
929 $builder->addOffsetX(11, $testarrayoftables, 0);
DMonster.lua546 …Monster.AddTestarrayoftables(builder, testarrayoftables) builder:PrependUOffsetTRelativeSlot(11, t…
DMonster.java55 …public MyGame.Example.Monster testarrayoftables(int j) { return testarrayoftables(new MyGame.Examp… in testarrayoftables() method in Monster
56 …public MyGame.Example.Monster testarrayoftables(MyGame.Example.Monster obj, int j) { int o = __off… in testarrayoftables() method in Monster
DMonster.go1294 func MonsterAddTestarrayoftables(builder *flatbuffers.Builder, testarrayoftables flatbuffers.UOffse…
1295 builder.PrependUOffsetTSlot(11, flatbuffers.UOffsetT(testarrayoftables), 0)
/external/flatbuffers/tests/
Dmonsterdata_test.golden47 testarrayoftables: [
DJavaScriptTest.js218 assert.strictEqual(monster.testarrayoftablesLength(), json.testarrayoftables.length);
219 json.testarrayoftables.forEach(function(table, i) {
220 var value = monster.testarrayoftables(i);
235 var testarrayoftablesOffsets = json.testarrayoftables.map(function(table) {
DKotlinTest.kt387 assert(monster.testarrayoftables(0)!!.name == "Barney") in TestBuilderBasics()
388 assert(monster.testarrayoftables(1)!!.name == "Frodo") in TestBuilderBasics()
389 assert(monster.testarrayoftables(2)!!.name == "Wilma") in TestBuilderBasics()
Dmonster_test_generated.h1159 std::vector<flatbuffers::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables;
1229 (lhs.testarrayoftables == rhs.testarrayoftables) &&
1404 …const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() cons…
1670 verifier.VerifyVector(testarrayoftables()) &&
1671 verifier.VerifyVectorOfTables(testarrayoftables()) &&
1796 …rs::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables) {
1797 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
1935 …::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables = 0,
2007 builder_.add_testarrayoftables(testarrayoftables);
2037 std::vector<flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
[all …]
Dmonster_test.fbs80 testarrayoftables:[Monster] (id: 11);
Dmonster_test_generated.lobster246 def testarrayoftables(i:int):
401 def add_testarrayoftables(testarrayoftables:flatbuffers_offset):
402 b_.PrependUOffsetTRelativeSlot(11, testarrayoftables)
Dmonster_test_generated.rs1095 if let Some(x) = args.testarrayoftables { builder.add_testarrayoftables(x); } in create()
1215 …pub fn testarrayoftables(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<Mon… in testarrayoftables() method
1478 …pub testarrayoftables: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::Forward… field
1531 testarrayoftables: None, in default()
1618 …pub fn add_testarrayoftables(&mut self, testarrayoftables: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayoftables()
1619 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFTABLES, testarrayoftables); in add_testarrayoftables()
Dpy_test.py396 self.monsterT.testarrayoftables = []
397 self.monsterT.testarrayoftables.append(monsterT0)
398 self.monsterT.testarrayoftables.append(monsterT1)
404 self.monsterT.testarrayoftables = []
1793 testarrayoftables = b.EndVector(0)
1795 MyGame.Example.Monster.MonsterAddTestarrayoftables(b, testarrayoftables)
Dmonster_test_my_game.example_generated.dart752 …List<Monster> get testarrayoftables => const fb.ListReader<Monster>(Monster.reader).vTableGet(_bc,…
807 …st, test4: $test4, testarrayofstring: $testarrayofstring, testarrayoftables: $testarrayoftables, e…
1089 List<MonsterObjectBuilder> testarrayoftables,
1138 _testarrayoftables = testarrayoftables,
DJavaTest.java431 TestEq(monster.testarrayoftables(0).name(), "Barney"); in TestBuilderBasics()
432 TestEq(monster.testarrayoftables(1).name(), "Frodo"); in TestBuilderBasics()
433 TestEq(monster.testarrayoftables(2).name(), "Wilma"); in TestBuilderBasics()
Dtest.cpp343 auto vecoftables = monster->testarrayoftables(); in AccessFlatBufferTest()
554 auto &vecoftables = monster2->testarrayoftables; in ObjectFlatBuffersTest()
Dmonster_test_generated.ts1065 testarrayoftables(index: number, obj?:MyGame.Example.Monster):MyGame.Example.Monster|null { method in MyGame.Example.Monster
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h987 std::vector<std::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables;
1179 …const flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() cons…
1445 verifier.VerifyVector(testarrayoftables()) &&
1446 verifier.VerifyVectorOfTables(testarrayoftables()) &&
1571 …rs::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables) {
1572 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
1710 …::Offset<flatbuffers::Vector<flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables = 0,
1782 builder_.add_testarrayoftables(testarrayoftables);
1817 std::vector<flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
1859 …auto testarrayoftables__ = testarrayoftables ? _fbb.CreateVectorOfSortedTables<MyGame::Example::Mo…
[all …]
/external/flatbuffers/dart/test/
Dflat_buffers_test.dart62testarrayoftables: null, enemy: null, testnestedflatbuffer: null, testempty: null, testbool: false…
Dmonster_test_my_game.example_generated.dart754 …List<Monster> get testarrayoftables => const fb.ListReader<Monster>(Monster.reader).vTableGet(_bc,…
809 …st, test4: $test4, testarrayofstring: $testarrayofstring, testarrayoftables: $testarrayoftables, e…
1091 List<MonsterObjectBuilder> testarrayoftables,
1140 _testarrayoftables = testarrayoftables,
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs746 testarrayoftables: Some(v), ..Default::default()}); in vector_of_table_store()
747 assert_eq!(m.testarrayoftables().unwrap().len(), 2); in vector_of_table_store()
748 assert_eq!(m.testarrayoftables().unwrap().get(0).hp(), 55); in vector_of_table_store()
749 assert_eq!(m.testarrayoftables().unwrap().get(0).name(), "foo"); in vector_of_table_store()
750 assert_eq!(m.testarrayoftables().unwrap().get(1).hp(), 100); in vector_of_table_store()
751 assert_eq!(m.testarrayoftables().unwrap().get(1).name(), "bar"); in vector_of_table_store()
753 let rust_vec_inst = m.testarrayoftables().unwrap(); in vector_of_table_store()

12