| /external/flatbuffers/tests/rust_usage_test/bin/ |
| 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()
|
| /external/flatbuffers/tests/rust_serialize_test/src/ |
| 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()
|
| /external/flatbuffers/tests/ |
| 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); }));
|
| D | monsterdata_test.json | 59 testarrayofstring: [
|
| D | monsterdata_test.golden | 41 testarrayofstring: [
|
| 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):
|
| D | lobstertest.lobster | 60 assert monster.testarrayofstring(0) == "test1" 61 assert monster.testarrayofstring(1) == "test2"
|
| 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 …]
|
| /external/flatbuffers/tests/MyGame/Example/ |
| 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()
|
| 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 …]
|
| /external/flatbuffers/tests/rust_usage_test/benches/ |
| 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()
|
| /external/flatbuffers/tests/rust_usage_test/tests/ |
| 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 …]
|
| /external/flatbuffers/tests/monster_test/my_game/example/ |
| 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 …]
|
| /external/flatbuffers/tests/monster_test_serialize/my_game/example/ |
| 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 …]
|
| /external/flatbuffers/tests/fuzzer/ |
| D | monster_fuzzer.dict | 57 "testarrayofstring"
|
| D | parser_fuzzer.dict | 90 "testarrayofstring"
|
| /external/flatbuffers/tests/my-game/example/ |
| 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);
|
| 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);
|
| /external/flatbuffers/tests/FlatBuffers.Test.Swift.Wasm/Tests/FlatBuffers.Test.Swift.WasmTests/ |
| 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()
|
| 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 …]
|
| /external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/ |
| 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()
|
| 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 …]
|
| /external/flatbuffers/dart/test/ |
| 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"]
|
| /external/flatbuffers/tests/monster_test_suffix/filesuffix_only/ |
| 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 …]
|
| /external/flatbuffers/tests/monster_test_suffix/ |
| 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 …]
|