/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/bin/ |
H A D | flatbuffers_alloc_check.rs | 93 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 172 let testarrayofstring = m.testarrayofstring().unwrap(); in main() localVariable 173 assert_eq!(testarrayofstring.len(), 2); in main() 174 assert_eq!(testarrayofstring.get(0), "test1"); in main() 175 assert_eq!(testarrayofstring.get(1), "test2"); in main()
|
/aosp_15_r20/external/flatbuffers/tests/ |
H A D | JavaScriptTest.js | 171 assert.strictEqual(monster.testarrayofstring.length, 2); 172 assert.strictEqual(monster.testarrayofstring[0], 'test1'); 173 assert.strictEqual(monster.testarrayofstring[1], 'test2'); 229 assert.strictEqual(monster.testarrayofstring(0), 'test1'); 230 assert.strictEqual(monster.testarrayofstring(1), 'test2'); 302 assert.strictEqual(monster.testarrayofstringLength(), json.testarrayofstring.length); 303 json.testarrayofstring.forEach(function(string, i) { 304 assert.strictEqual(monster.testarrayofstring(i), string); 305 …assert.deepEqual(Buffer.from(monster.testarrayofstring(i, flatbuffers.Encoding.UTF8_BYTES)), Buffe… 322 json.testarrayofstring.map(function(string) { return fbb.createString(string); }));
|
H A D | monsterdata_test.afb | 26 …Offset16 | 0x003C (60) | offset to field `testarrayofstring` (id: 10) 90 …Offset32 | 0x000000DC (220) Loc: +0x0190 | offset to field `testarrayofstring` (vector) 179 vector (MyGame.Example.Monster.testarrayofstring): 184 string (MyGame.Example.Monster.testarrayofstring): 192 string (MyGame.Example.Monster.testarrayofstring):
|
H A D | monster_test_generated.h | 1270 std::vector<std::string> testarrayofstring{}; 1447 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const { 1751 verifier.VerifyVector(testarrayofstring()) && 1752 verifier.VerifyVectorOfStrings(testarrayofstring()) && 1888 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) { 1889 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); 2043 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0, 2127 builder_.add_testarrayofstring(testarrayofstring); 2155 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr, 2202 …auto testarrayofstring__ = testarrayofstring ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::… [all …]
|
H A D | monster_test_generated.py | 1580 …ring(builder, testarrayofstring): builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types… argument 1672 self.testarrayofstring = None # type: List[str] 1757 self.testarrayofstring = [] 1759 self.testarrayofstring.append(monster.Testarrayofstring(i)) 1932 if self.testarrayofstring is not None: 1934 for i in range(len(self.testarrayofstring)): 1935 testarrayofstringlist.append(builder.CreateString(self.testarrayofstring[i])) 1936 MonsterStartTestarrayofstringVector(builder, len(self.testarrayofstring)) 1937 for i in reversed(range(len(self.testarrayofstring))): 1939 testarrayofstring = builder.EndVector() [all …]
|
H A D | monster_test_my_game.example_generated.dart | 1201 …List<String>? get testarrayofstring => const fb.ListReader<String>(fb.StringReader()).vTableGetNul… 1264 …, testType: ${testType}, test: ${test}, test4: ${test4}, testarrayofstring: ${testarrayofstring}, … 1277 …testarrayofstring: const fb.ListReader<String>(fb.StringReader(), lazy: false).vTableGetNullable(_… 1339 List<String>? testarrayofstring; 1396 this.testarrayofstring, 1453 final int? testarrayofstringOffset = testarrayofstring == null ? null 1454 : fbBuilder.writeList(testarrayofstring!.map(fbBuilder.writeString).toList()); 1563 …, testType: ${testType}, test: ${test}, test4: ${test4}, testarrayofstring: ${testarrayofstring}, … 1867 List<String>? testarrayofstring, 1921 _testarrayofstring = testarrayofstring,
|
/aosp_15_r20/external/flatbuffers/tests/MyGame/Example/ |
H A D | MonsterT.java | 19 private String[] testarrayofstring; field in MonsterT 94 public String[] getTestarrayofstring() { return testarrayofstring; } in getTestarrayofstring() 96 …public void setTestarrayofstring(String[] testarrayofstring) { this.testarrayofstring = testarrayo… in setTestarrayofstring() argument 272 this.testarrayofstring = null; in MonsterT()
|
H A D | Monster.py | 855 …ring(builder, testarrayofstring): builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types… argument 856 def AddTestarrayofstring(builder, testarrayofstring): argument 857 return MonsterAddTestarrayofstring(builder, testarrayofstring) 1087 self.testarrayofstring = None # type: List[str] 1172 self.testarrayofstring = [] 1174 self.testarrayofstring.append(monster.Testarrayofstring(i)) 1347 if self.testarrayofstring is not None: 1349 for i in range(len(self.testarrayofstring)): 1350 testarrayofstringlist.append(builder.CreateString(self.testarrayofstring[i])) 1351 MonsterStartTestarrayofstringVector(builder, len(self.testarrayofstring)) [all …]
|
/aosp_15_r20/external/flatbuffers/tests/rust_serialize_test/src/ |
H A D | main.rs | 44 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 83 let testarrayofstring = o.get("testarrayofstring").unwrap().as_array().unwrap(); in main() localVariable 84 let t0 = testarrayofstring[0].as_str().unwrap(); in main() 87 let t1 = testarrayofstring[1].as_str().unwrap(); in main()
|
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/benches/ |
H A D | flatbuffers_benchmarks.rs | 120 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 168 let testarrayofstring = m.testarrayofstring().unwrap(); in traverse_serialized_example_with_generated_code() localVariable 169 blackbox(testarrayofstring.get(0)); in traverse_serialized_example_with_generated_code() 170 blackbox(testarrayofstring.get(1)); in traverse_serialized_example_with_generated_code()
|
/aosp_15_r20/external/flatbuffers/tests/rust_usage_test/tests/ |
H A D | integration_test.rs | 165 testarrayofstring: None, in object_api_defaults() 235 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 257 let testarrayofstring = builder.create_vector_of_strings(&["test1", "test2"][..]); in create_serialized_example_with_library_code() localVariable 269 builder.push_slot_always(my_game::example::Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in create_serialized_example_with_library_code() 325 check_is_some!(m.testarrayofstring())?; in serialized_example_is_accessible_and_correct() 326 let testarrayofstring = m.testarrayofstring().unwrap(); in serialized_example_is_accessible_and_correct() localVariable 327 check_eq!(testarrayofstring.len(), 2)?; in serialized_example_is_accessible_and_correct() 328 check_eq!(testarrayofstring.get(0), "test1")?; in serialized_example_is_accessible_and_correct() 329 check_eq!(testarrayofstring.get(1), "test2")?; in serialized_example_is_accessible_and_correct() 369 let testarrayofstring = m.testarrayofstring.as_ref().unwrap(); in test_object_api_reads_correctly() localVariable [all …]
|
/aosp_15_r20/external/flatbuffers/tests/monster_test/my_game/example/ |
H A D | monster_generated.rs | 136 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create() 189 let testarrayofstring = self.testarrayofstring().map(|x| { in unpack() localVariable 320 testarrayofstring, in unpack() 412 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring() method 785 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, flatbuffers::Forwards… field 843 testarrayofstring: None, in default() 933 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring() 934 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_testarrayofstring() 1162 ds.field("testarrayofstring", &self.testarrayofstring()); in fmt() 1272 pub testarrayofstring: Option<Vec<String>>, field [all …]
|
/aosp_15_r20/external/flatbuffers/tests/monster_test_serialize/my_game/example/ |
H A D | monster_generated.rs | 138 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create() 191 let testarrayofstring = self.testarrayofstring().map(|x| { in unpack() localVariable 322 testarrayofstring, in unpack() 414 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring() method 787 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, flatbuffers::Forwards… field 845 testarrayofstring: None, in default() 938 if let Some(f) = self.testarrayofstring() { in serialize() 1152 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring() 1153 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_testarrayofstring() 1381 ds.field("testarrayofstring", &self.testarrayofstring()); in fmt() [all …]
|
/aosp_15_r20/external/flatbuffers/tests/my-game/example/ |
H A D | monster.js | 109 testarrayofstring(index, optionalEncoding) { method in Monster 897 …est4.bind(this), this.test4Length()), this.bb.createScalarList(this.testarrayofstring.bind(this), … 927 …_o.testarrayofstring = this.bb.createScalarList(this.testarrayofstring.bind(this), this.testarrayo… 986 …, color = Color.Blue, testType = Any.NONE, test = null, test4 = [], testarrayofstring = [], testar… argument 996 this.testarrayofstring = testarrayofstring; 1046 …const testarrayofstring = Monster.createTestarrayofstringVector(builder, builder.createObjectOffse… 1079 Monster.addTestarrayofstring(builder, testarrayofstring);
|
H A D | monster.ts | 140 testarrayofstring(index: number):string method in Monster 141 testarrayofstring(index: number,optionalEncoding:flatbuffers.Encoding):string|Uint8Array 142 testarrayofstring(index: number,optionalEncoding?:any):string|Uint8Array|null { 1165 this.bb!.createScalarList(this.testarrayofstring.bind(this), this.testarrayofstringLength()), 1235 …_o.testarrayofstring = this.bb!.createScalarList(this.testarrayofstring.bind(this), this.testarray… 1301 public testarrayofstring: (string)[] = [], 1353 …const testarrayofstring = Monster.createTestarrayofstringVector(builder, builder.createObjectOffse… constant 1387 Monster.addTestarrayofstring(builder, testarrayofstring);
|
/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/ |
H A D | monster_test_generated.swift | 1143 case testarrayofstring = 24 1212 …public var hasTestarrayofstring: Bool { let o = _accessor.offset(VTOFFSET.testarrayofstring.v); re… 1213 …public var testarrayofstringCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayofstring.v);… 1214 …public func testarrayofstring(at index: Int32) -> String? { let o = _accessor.offset(VTOFFSET.test… in testarrayofstring() function 1350 … addVectorOf(testarrayofstring: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf() 1413 testarrayofstringVectorOffset testarrayofstring: Offset = Offset(), 1468 MyGame_Example_Monster.addVectorOf(testarrayofstring: testarrayofstring, &fbb) 1559 …let __testarrayofstring = builder.createVector(ofStrings: obj.testarrayofstring.compactMap({ $0 })… in pack() 1621 MyGame_Example_Monster.addVectorOf(testarrayofstring: __testarrayofstring, &builder) in pack() 1695 …try _v.visit(field: VTOFFSET.testarrayofstring.p, fieldName: "testarrayofstring", required: false,… in verify<T>() [all …]
|
H A D | FlatBuffersMonsterWriterTests.swift | 192 Monster.addVectorOf(testarrayofstring: stringTestVector, &fbb) in createMonster() 294 XCTAssertEqual(monster.testarrayofstring(at: 0), "test1") in readFlatbufferMonster() 295 XCTAssertEqual(monster.testarrayofstring(at: 1), "test2") in readFlatbufferMonster()
|
/aosp_15_r20/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
H A D | monster_test_generated.swift | 1143 case testarrayofstring = 24 1212 …public var hasTestarrayofstring: Bool { let o = _accessor.offset(VTOFFSET.testarrayofstring.v); re… 1213 …public var testarrayofstringCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayofstring.v);… 1214 …public func testarrayofstring(at index: Int32) -> String? { let o = _accessor.offset(VTOFFSET.test… in testarrayofstring() function 1350 … addVectorOf(testarrayofstring: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf() 1413 testarrayofstringVectorOffset testarrayofstring: Offset = Offset(), 1468 MyGame_Example_Monster.addVectorOf(testarrayofstring: testarrayofstring, &fbb) 1559 …let __testarrayofstring = builder.createVector(ofStrings: obj.testarrayofstring.compactMap({ $0 })… in pack() 1621 MyGame_Example_Monster.addVectorOf(testarrayofstring: __testarrayofstring, &builder) in pack() 1695 …try _v.visit(field: VTOFFSET.testarrayofstring.p, fieldName: "testarrayofstring", required: false,… in verify<T>() [all …]
|
H A D | FlatBuffersMonsterWriterTests.swift | 218 Monster.addVectorOf(testarrayofstring: stringTestVector, &fbb) in createMonster() 320 XCTAssertEqual(monster.testarrayofstring(at: 0), "test1") in readFlatbufferMonster() 321 XCTAssertEqual(monster.testarrayofstring(at: 1), "test2") in readFlatbufferMonster()
|
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/filesuffix_only/ |
H A D | monster_test_suffix.h | 1270 std::vector<std::string> testarrayofstring{}; 1447 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const { 1751 verifier.VerifyVector(testarrayofstring()) && 1752 verifier.VerifyVectorOfStrings(testarrayofstring()) && 1888 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) { 1889 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); 2043 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0, 2127 builder_.add_testarrayofstring(testarrayofstring); 2155 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr, 2202 …auto testarrayofstring__ = testarrayofstring ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::… [all …]
|
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/ext_only/ |
H A D | monster_test_generated.hpp | 1270 std::vector<std::string> testarrayofstring{}; 1447 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const { 1751 verifier.VerifyVector(testarrayofstring()) && 1752 verifier.VerifyVectorOfStrings(testarrayofstring()) && 1888 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) { 1889 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); 2043 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0, 2127 builder_.add_testarrayofstring(testarrayofstring); 2155 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr, 2202 …auto testarrayofstring__ = testarrayofstring ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::… [all …]
|
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/ |
H A D | monster_test_suffix.hpp | 1270 std::vector<std::string> testarrayofstring{}; 1447 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const { 1751 verifier.VerifyVector(testarrayofstring()) && 1752 verifier.VerifyVectorOfStrings(testarrayofstring()) && 1888 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) { 1889 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); 2043 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0, 2127 builder_.add_testarrayofstring(testarrayofstring); 2155 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr, 2202 …auto testarrayofstring__ = testarrayofstring ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::… [all …]
|
/aosp_15_r20/external/flatbuffers/dart/test/ |
H A D | flat_buffers_test.dart | 59 expect(mon.testarrayofstring!.length, 2); 60 expect(mon.testarrayofstring![0], "test1"); 61 expect(mon.testarrayofstring![1], "test2"); 72 'test: null, test4: null, testarrayofstring: null, ' 92 'testarrayofstring: [test1, test2], testarrayoftables: null, ' 95 'test: null, test4: null, testarrayofstring: null, ' 790 ..testarrayofstring = ["foo", "bar"]
|
H A D | monster_test_my_game.example_generated.dart | 1061 …List<String>? get testarrayofstring => const fb.ListReader<String>(fb.StringReader()).vTableGetNul… 1121 … $color, testType: $testType, test: $test, test4: $test4, testarrayofstring: $testarrayofstring, t… 1134 …testarrayofstring: const fb.ListReader<String>(fb.StringReader(), lazy: false).vTableGetNullable(_… 1193 List<String>? testarrayofstring; 1247 this.testarrayofstring, 1301 final int? testarrayofstringOffset = testarrayofstring == null ? null 1302 : fbBuilder.writeList(testarrayofstring!.map(fbBuilder.writeString).toList()); 1406 … $color, testType: $testType, test: $test, test4: $test4, testarrayofstring: $testarrayofstring, t… 1695 List<String>? testarrayofstring, 1746 _testarrayofstring = testarrayofstring,
|
/aosp_15_r20/external/flatbuffers/tests/cpp17/generated_cpp17/ |
H A D | monster_test_generated.h | 1282 std::vector<std::string> testarrayofstring{}; 1460 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const { 1759 else if constexpr (Index == 9) return testarrayofstring(); 1821 verifier.VerifyVector(testarrayofstring()) && 1822 verifier.VerifyVectorOfStrings(testarrayofstring()) && 1958 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) { 1959 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); 2113 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0, 2197 builder_.add_testarrayofstring(testarrayofstring); 2290 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr, [all …]
|