Home
last modified time | relevance | path

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

12

/external/flatbuffers/tests/swift/tests/Sources/SwiftFlatBuffers/
Dfuzzer_generated.swift210 case testarrayoftables = 12
223 …public var hasTestarrayoftables: Bool { let o = _accessor.offset(VTOFFSET.testarrayoftables.v); re…
224 …public var testarrayoftablesCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayoftables.v);…
225 …public func testarrayoftables(at index: Int32) -> Monster? { let o = _accessor.offset(VTOFFSET.tes… in testarrayoftables() function
226 …blesBy(key: String) -> Monster? { let o = _accessor.offset(VTOFFSET.testarrayoftables.v); return o… in testarrayoftablesBy()
237 … addVectorOf(testarrayoftables: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf()
247 testarrayoftablesVectorOffset testarrayoftables: Offset = Offset(),
256 Monster.addVectorOf(testarrayoftables: testarrayoftables, &fbb)
293 …try _v.visit(field: VTOFFSET.testarrayoftables.p, fieldName: "testarrayoftables", required: false,… in verify<T>()
307 case testarrayoftables = "testarrayoftables"
[all …]
Dfuzzer.fbs29 testarrayoftables:[Monster] (id: 4);
/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs121 testarrayoftables: Some(builder.create_vector(&[t0, t1, t2])), in create_serialized_example_with_generated_code()
163 let testarrayoftables = m.testarrayoftables().unwrap(); in traverse_serialized_example_with_generated_code() localVariable
164 blackbox(testarrayoftables.get(0).hp()); in traverse_serialized_example_with_generated_code()
165 blackbox(testarrayoftables.get(0).name()); in traverse_serialized_example_with_generated_code()
166 blackbox(testarrayoftables.get(1).name()); in traverse_serialized_example_with_generated_code()
167 blackbox(testarrayoftables.get(2).name()); in traverse_serialized_example_with_generated_code()
/external/flatbuffers/tests/
Djson_test.cpp157 "testarrayoftables": [ in JsonUnsortedArrayTest()
168 TEST_NOTNULL(monster->testarrayoftables()->LookupByKey("aaa")); in JsonUnsortedArrayTest()
169 TEST_NOTNULL(monster->testarrayoftables()->LookupByKey("bbb")); in JsonUnsortedArrayTest()
170 TEST_NOTNULL(monster->testarrayoftables()->LookupByKey("ccc")); in JsonUnsortedArrayTest()
Dmonsterdata_test.golden47 testarrayoftables: [
Dmonster_test_generated.h1279 std::vector<std::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables{};
1486 …const ::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() …
1839 verifier.VerifyVector(testarrayoftables()) &&
1840 verifier.VerifyVectorOfTables(testarrayoftables()) &&
1984 …Offset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables) {
1985 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
2161 …fset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables = 0,
2259 builder_.add_testarrayoftables(testarrayoftables);
2289 std::vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
2344 …auto testarrayoftables__ = testarrayoftables ? _fbb.CreateVectorOfSortedTables<MyGame::Example::Mo…
[all …]
Dtest.cpp503 a.testarrayoftables.push_back( in EqualOperatorTest()
505 a.testarrayoftables.back()->nan_default = 0; in EqualOperatorTest()
510 b.testarrayoftables.push_back( in EqualOperatorTest()
512 b.testarrayoftables.back()->nan_default = 0; in EqualOperatorTest()
525 a.testarrayoftables.push_back(std::move(c)); in EqualOperatorTest()
526 b.testarrayoftables.push_back(std::move(d)); in EqualOperatorTest()
530 a.testarrayoftables.pop_back(); in EqualOperatorTest()
531 b.testarrayoftables.pop_back(); in EqualOperatorTest()
535 a.testarrayoftables.push_back(nullptr); in EqualOperatorTest()
536 b.testarrayoftables.push_back( in EqualOperatorTest()
/external/flatbuffers/tests/MyGame/Example/
DMonsterT.java32 private MyGame.Example.MonsterT[] testarrayoftables; field in MonsterT
118 public MyGame.Example.MonsterT[] getTestarrayoftables() { return testarrayoftables; } in getTestarrayoftables()
120 …tTestarrayoftables(MyGame.Example.MonsterT[] testarrayoftables) { this.testarrayoftables = testarr… in setTestarrayoftables() argument
325 this.testarrayoftables = null; in MonsterT()
DMonster.py959 def MonsterAddTestarrayoftables(builder, testarrayoftables): argument
960 …ependUOffsetTRelativeSlot(11, flatbuffers.number_types.UOffsetTFlags.py_type(testarrayoftables), 0)
962 def AddTestarrayoftables(builder, testarrayoftables): argument
963 MonsterAddTestarrayoftables(builder, testarrayoftables)
1417 self.testarrayoftables = None # type: List[MyGame.Example.Monster.MonsterT]
1518 self.testarrayoftables = []
1521 self.testarrayoftables.append(None)
1524 self.testarrayoftables.append(monster_)
1705 if self.testarrayoftables is not None:
1707 for i in range(len(self.testarrayoftables)):
[all …]
/external/flatbuffers/tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/
DFlatBuffersMonsterWriterTests.swift198 Monster.addVectorOf(testarrayoftables: sortedArray, &fbb) in createMonster()
209 XCTAssertEqual(monster.testarrayoftables(at: 0)?.name, "Barney") in mutateMonster()
210 XCTAssertEqual(monster.testarrayoftables(at: 1)?.name, "Frodo") in mutateMonster()
211 XCTAssertEqual(monster.testarrayoftables(at: 2)?.name, "Wilma") in mutateMonster()
Dmonster_test_generated.swift1132 case testarrayoftables = 26
1213 …public var hasTestarrayoftables: Bool { let o = _accessor.offset(VTOFFSET.testarrayoftables.v); re…
1214 …public var testarrayoftablesCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayoftables.v);…
1215 …public func testarrayoftables(at index: Int32) -> MyGame_Example_Monster? { let o = _accessor.offs… in testarrayoftables() function
1216 …ing) -> MyGame_Example_Monster? { let o = _accessor.offset(VTOFFSET.testarrayoftables.v); return o… in testarrayoftablesBy()
1363 … addVectorOf(testarrayoftables: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf()
1434 testarrayoftablesVectorOffset testarrayoftables: Offset = Offset(),
1497 MyGame_Example_Monster.addVectorOf(testarrayoftables: testarrayoftables, &fbb)
1597 for var i in obj.testarrayoftables { in pack()
1658 MyGame_Example_Monster.addVectorOf(testarrayoftables: __testarrayoftables, &builder) in pack()
[all …]
/external/flatbuffers/kotlin/flatbuffers-kotlin/src/commonTest/kotlin/com/google/flatbuffers/kotlin/
DFlatBufferBuilderTest.kt104 val monster0 = a.testarrayoftables(0)!! in testSortedVector()
105 val monster1 = a.testarrayoftables(1)!! in testSortedVector()
106 val monster2 = a.testarrayoftables(2)!! in testSortedVector()
223 assertEquals(monster.testarrayoftables(0)!!.name, "Barney") in testBuilderBasics()
224 assertEquals(monster.testarrayoftables(1)!!.name, "Frodo") in testBuilderBasics()
225 assertEquals(monster.testarrayoftables(2)!!.name, "Wilma") in testBuilderBasics()
/external/flatbuffers/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersMonsterWriterTests.swift281 Monster.addVectorOf(testarrayoftables: sortedArray, &fbb) in createMonster()
291 XCTAssertEqual(monster.testarrayoftables(at: 0)?.name, "Barney") in mutateMonster()
292 XCTAssertEqual(monster.testarrayoftables(at: 1)?.name, "Frodo") in mutateMonster()
293 XCTAssertEqual(monster.testarrayoftables(at: 2)?.name, "Wilma") in mutateMonster()
Dmonster_test_generated.swift1132 case testarrayoftables = 26
1213 …public var hasTestarrayoftables: Bool { let o = _accessor.offset(VTOFFSET.testarrayoftables.v); re…
1214 …public var testarrayoftablesCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayoftables.v);…
1215 …public func testarrayoftables(at index: Int32) -> MyGame_Example_Monster? { let o = _accessor.offs… in testarrayoftables() function
1216 …ing) -> MyGame_Example_Monster? { let o = _accessor.offset(VTOFFSET.testarrayoftables.v); return o… in testarrayoftablesBy()
1363 … addVectorOf(testarrayoftables: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf()
1434 testarrayoftablesVectorOffset testarrayoftables: Offset = Offset(),
1497 MyGame_Example_Monster.addVectorOf(testarrayoftables: testarrayoftables, &fbb)
1597 for var i in obj.testarrayoftables { in pack()
1658 MyGame_Example_Monster.addVectorOf(testarrayoftables: __testarrayoftables, &builder) in pack()
[all …]
/external/flatbuffers/tests/monster_test/my_game/example/
Dmonster_generated.rs151 if let Some(x) = args.testarrayoftables { builder.add_testarrayoftables(x); } in create()
208 let testarrayoftables = self.testarrayoftables().map(|x| { in unpack() localVariable
345 testarrayoftables, in unpack()
480 …pub fn testarrayoftables(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<Mon… in testarrayoftables() method
1092 …pub testarrayoftables: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, flatbuffers::Forwards… field
1158 testarrayoftables: None, in default()
1259 …pub fn add_testarrayoftables(&mut self, testarrayoftables: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayoftables()
1260 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFTABLES, testarrayoftables); in add_testarrayoftables()
1517 ds.field("testarrayoftables", &self.testarrayoftables()); in fmt()
1635 pub testarrayoftables: Option<Vec<MonsterT>>, field
[all …]
/external/flatbuffers/tests/monster_test_serialize/my_game/example/
Dmonster_generated.rs153 if let Some(x) = args.testarrayoftables { builder.add_testarrayoftables(x); } in create()
210 let testarrayoftables = self.testarrayoftables().map(|x| { in unpack() localVariable
347 testarrayoftables, in unpack()
482 …pub fn testarrayoftables(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<Mon… in testarrayoftables() method
1094 …pub testarrayoftables: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, flatbuffers::Forwards… field
1160 testarrayoftables: None, in default()
1265 if let Some(f) = self.testarrayoftables() { in serialize()
1486 …pub fn add_testarrayoftables(&mut self, testarrayoftables: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayoftables()
1487 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFTABLES, testarrayoftables); in add_testarrayoftables()
1744 ds.field("testarrayoftables", &self.testarrayoftables()); in fmt()
[all …]
/external/flatbuffers/tests/ts/
DJavaScriptTest.js297 assert.strictEqual(monster.testarrayoftablesLength(), json.testarrayoftables.length);
298 json.testarrayoftables.forEach(function(table, i) {
299 var value = monster.testarrayoftables(i);
314 var testarrayoftablesOffsets = json.testarrayoftables.map(function(table) {
DJavaScriptTestv1.cjs216 assert.strictEqual(monster.testarrayoftablesLength(), json.testarrayoftables.length);
217 json.testarrayoftables.forEach(function(table, i) {
218 var value = monster.testarrayoftables(i);
233 var testarrayoftablesOffsets = json.testarrayoftables.map(function(table) {
/external/flatbuffers/tests/ts/my-game/example/
Dmonster.js122 testarrayoftables(index, obj) { method in Monster
1018 …(this), this.testarrayofstringLength()), this.bb.createObjList(this.testarrayoftables.bind(this), …
1049 …_o.testarrayoftables = this.bb.createObjList(this.testarrayoftables.bind(this), this.testarrayofta…
1115 …stType = Any.NONE, test = null, test4 = [], testarrayofstring = [], testarrayoftables = [], enemy … argument
1126 this.testarrayoftables = testarrayoftables;
1184 …const testarrayoftables = Monster.createTestarrayoftablesVector(builder, builder.createObjectOffse…
1217 Monster.addTestarrayoftables(builder, testarrayoftables);
Dmonster.d.ts48 testarrayoftables(index: number, obj?: Monster): Monster | null;
272 testarrayoftables: (MonsterT)[];
323 …ithEnumT | null, test4?: (TestT)[], testarrayofstring?: (string)[], testarrayoftables?: (MonsterT)…
Dmonster.ts158 testarrayoftables(index: number, obj?:Monster):Monster|null {
1328 …this.bb!.createObjList<Monster, MonsterT>(this.testarrayoftables.bind(this), this.testarrayoftable…
1406 …_o.testarrayoftables = this.bb!.createObjList<Monster, MonsterT>(this.testarrayoftables.bind(this)…
1480 public testarrayoftables: (MonsterT)[] = [],
1540 …const testarrayoftables = Monster.createTestarrayoftablesVector(builder, builder.createObjectOffse… constant
1574 Monster.addTestarrayoftables(builder, testarrayoftables);
/external/flatbuffers/tests/monster_test_suffix/filesuffix_only/
Dmonster_test_suffix.h1271 std::vector<std::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables{};
1477 …const ::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() …
1830 verifier.VerifyVector(testarrayoftables()) &&
1831 verifier.VerifyVectorOfTables(testarrayoftables()) &&
1975 …Offset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables) {
1976 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
2152 …fset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables = 0,
2250 builder_.add_testarrayoftables(testarrayoftables);
2280 std::vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
2335 …auto testarrayoftables__ = testarrayoftables ? _fbb.CreateVectorOfSortedTables<MyGame::Example::Mo…
[all …]
/external/flatbuffers/tests/monster_test_suffix/ext_only/
Dmonster_test_generated.hpp1271 std::vector<std::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables{};
1477 …const ::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() …
1830 verifier.VerifyVector(testarrayoftables()) &&
1831 verifier.VerifyVectorOfTables(testarrayoftables()) &&
1975 …Offset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables) {
1976 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
2152 …fset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables = 0,
2250 builder_.add_testarrayoftables(testarrayoftables);
2280 std::vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
2335 …auto testarrayoftables__ = testarrayoftables ? _fbb.CreateVectorOfSortedTables<MyGame::Example::Mo…
[all …]
/external/flatbuffers/tests/monster_test_suffix/
Dmonster_test_suffix.hpp1271 std::vector<std::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables{};
1477 …const ::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() …
1830 verifier.VerifyVector(testarrayoftables()) &&
1831 verifier.VerifyVectorOfTables(testarrayoftables()) &&
1975 …Offset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables) {
1976 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
2152 …fset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables = 0,
2250 builder_.add_testarrayoftables(testarrayoftables);
2280 std::vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
2335 …auto testarrayoftables__ = testarrayoftables ? _fbb.CreateVectorOfSortedTables<MyGame::Example::Mo…
[all …]
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h1283 std::vector<std::unique_ptr<MyGame::Example::MonsterT>> testarrayoftables{};
1490 …const ::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables() …
1836 else if constexpr (Index == 10) return testarrayoftables();
1908 verifier.VerifyVector(testarrayoftables()) &&
1909 verifier.VerifyVectorOfTables(testarrayoftables()) &&
2053 …Offset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables) {
2054 fbb_.AddOffset(Monster::VT_TESTARRAYOFTABLES, testarrayoftables);
2230 …fset<::flatbuffers::Vector<::flatbuffers::Offset<MyGame::Example::Monster>>> testarrayoftables = 0,
2328 builder_.add_testarrayoftables(testarrayoftables);
2431 std::vector<::flatbuffers::Offset<MyGame::Example::Monster>> *testarrayoftables = nullptr,
[all …]

12