/external/flatbuffers/tests/rust_usage_test/bin/ |
D | flatbuffers_alloc_check.rs | 98 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 177 let testarrayofstring = m.testarrayofstring().unwrap(); in main() localVariable 178 assert_eq!(testarrayofstring.len(), 2); in main() 179 assert_eq!(testarrayofstring.get(0), "test1"); in main() 180 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/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/ts/ |
D | JavaScriptTest.js | 172 assert.strictEqual(monster.testarrayofstring.length, 2); 173 assert.strictEqual(monster.testarrayofstring[0], 'test1'); 174 assert.strictEqual(monster.testarrayofstring[1], 'test2'); 230 assert.strictEqual(monster.testarrayofstring(0), 'test1'); 231 assert.strictEqual(monster.testarrayofstring(1), 'test2'); 303 assert.strictEqual(monster.testarrayofstringLength(), json.testarrayofstring.length); 304 json.testarrayofstring.forEach(function(string, i) { 305 assert.strictEqual(monster.testarrayofstring(i), string); 306 …assert.deepEqual(Buffer.from(monster.testarrayofstring(i, flatbuffers.Encoding.UTF8_BYTES)), Buffe… 323 json.testarrayofstring.map(function(string) { return fbb.createString(string); }));
|
D | JavaScriptTestv1.cjs | 157 assert.strictEqual(monster.testarrayofstring(0), 'test1'); 158 assert.strictEqual(monster.testarrayofstring(1), 'test2'); 222 assert.strictEqual(monster.testarrayofstringLength(), json.testarrayofstring.length); 223 json.testarrayofstring.forEach(function(string, i) { 224 assert.strictEqual(monster.testarrayofstring(i), string); 225 …assert.deepEqual(new Buffer(monster.testarrayofstring(i, flatbuffers.Encoding.UTF8_BYTES)), new Bu… 242 json.testarrayofstring.map(function(string) { return fbb.createString(string); }));
|
/external/flatbuffers/tests/MyGame/Example/ |
D | MonsterT.java | 31 private String[] testarrayofstring; field in MonsterT 114 public String[] getTestarrayofstring() { return testarrayofstring; } in getTestarrayofstring() 116 …public void setTestarrayofstring(String[] testarrayofstring) { this.testarrayofstring = testarrayo… in setTestarrayofstring() argument 324 this.testarrayofstring = null; in MonsterT()
|
D | Monster.py | 947 def MonsterAddTestarrayofstring(builder, testarrayofstring): argument 948 …ependUOffsetTRelativeSlot(10, flatbuffers.number_types.UOffsetTFlags.py_type(testarrayofstring), 0) 950 def AddTestarrayofstring(builder, testarrayofstring): argument 951 MonsterAddTestarrayofstring(builder, testarrayofstring) 1416 self.testarrayofstring = None # type: List[str] 1514 self.testarrayofstring = [] 1516 self.testarrayofstring.append(monster.Testarrayofstring(i)) 1697 if self.testarrayofstring is not None: 1699 for i in range(len(self.testarrayofstring)): 1700 testarrayofstringlist.append(builder.CreateString(self.testarrayofstring[i])) [all …]
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 172 testarrayofstring: None, in object_api_defaults() 250 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 276 let testarrayofstring = builder.create_vector(&[test1, test2]); in create_serialized_example_with_library_code() localVariable 288 builder.push_slot_always(my_game::example::Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in create_serialized_example_with_library_code() 344 check_is_some!(m.testarrayofstring())?; in serialized_example_is_accessible_and_correct() 345 let testarrayofstring = m.testarrayofstring().unwrap(); in serialized_example_is_accessible_and_correct() localVariable 346 check_eq!(testarrayofstring.len(), 2)?; in serialized_example_is_accessible_and_correct() 347 check_eq!(testarrayofstring.get(0), "test1")?; in serialized_example_is_accessible_and_correct() 348 check_eq!(testarrayofstring.get(1), "test2")?; in serialized_example_is_accessible_and_correct() 388 let testarrayofstring = m.testarrayofstring.as_ref().unwrap(); in test_object_api_reads_correctly() localVariable [all …]
|
/external/flatbuffers/tests/fuzzer/ |
D | monster_fuzzer.dict | 57 "testarrayofstring"
|
D | parser_fuzzer.dict | 90 "testarrayofstring"
|
/external/flatbuffers/tests/ |
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"
|
/external/flatbuffers/tests/ts/my-game/example/ |
D | monster.d.ts | 41 testarrayofstring(index: number): string; 42 testarrayofstring(index: number, optionalEncoding: flatbuffers.Encoding): string | Uint8Array; 271 testarrayofstring: (string)[]; 323 …ple2_MonsterT | TestSimpleTableWithEnumT | null, test4?: (TestT)[], testarrayofstring?: (string)[]…
|
D | monster.js | 110 testarrayofstring(index, optionalEncoding) { method in Monster 1018 …est4.bind(this), this.test4Length()), this.bb.createScalarList(this.testarrayofstring.bind(this), … 1048 …_o.testarrayofstring = this.bb.createScalarList(this.testarrayofstring.bind(this), this.testarrayo… 1115 …, color = Color.Blue, testType = Any.NONE, test = null, test4 = [], testarrayofstring = [], testar… argument 1125 this.testarrayofstring = testarrayofstring; 1183 …const testarrayofstring = Monster.createTestarrayofstringVector(builder, builder.createObjectOffse… 1216 Monster.addTestarrayofstring(builder, testarrayofstring);
|
D | monster.ts | 142 testarrayofstring(index: number):string 143 testarrayofstring(index: number,optionalEncoding:flatbuffers.Encoding):string|Uint8Array 144 testarrayofstring(index: number,optionalEncoding?:any):string|Uint8Array|null { 1327 …this.bb!.createScalarList<string>(this.testarrayofstring.bind(this), this.testarrayofstringLength(… 1405 …_o.testarrayofstring = this.bb!.createScalarList<string>(this.testarrayofstring.bind(this), this.t… 1479 public testarrayofstring: (string)[] = [], 1539 …const testarrayofstring = Monster.createTestarrayofstringVector(builder, builder.createObjectOffse… constant 1573 Monster.addTestarrayofstring(builder, testarrayofstring);
|
/external/flatbuffers/tests/monster_test/my_game/example/ |
D | monster_generated.rs | 152 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create() 205 let testarrayofstring = self.testarrayofstring().map(|x| { in unpack() localVariable 344 testarrayofstring, in unpack() 471 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring() method 1091 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, flatbuffers::Forwards… field 1157 testarrayofstring: None, in default() 1255 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring() 1256 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_testarrayofstring() 1516 ds.field("testarrayofstring", &self.testarrayofstring()); in fmt() 1634 pub testarrayofstring: Option<Vec<String>>, field [all …]
|
/external/flatbuffers/tests/monster_test_serialize/my_game/example/ |
D | monster_generated.rs | 154 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create() 207 let testarrayofstring = self.testarrayofstring().map(|x| { in unpack() localVariable 346 testarrayofstring, in unpack() 473 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring() method 1093 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, flatbuffers::Forwards… field 1159 testarrayofstring: None, in default() 1260 if let Some(f) = self.testarrayofstring() { in serialize() 1482 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring() 1483 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_testarrayofstring() 1743 ds.field("testarrayofstring", &self.testarrayofstring()); in fmt() [all …]
|
/external/flatbuffers/tests/nim/tests/mygame/ |
D | test.nim | 48 check(monster.testarrayofstring(0) == "test1") 49 check(monster.testarrayofstring(1) == "test2")
|
/external/flatbuffers/tests/swift/Wasm.tests/Tests/FlatBuffers.Test.Swift.WasmTests/ |
D | FlatBuffersMonsterWriterTests.swift | 196 Monster.addVectorOf(testarrayofstring: stringTestVector, &fbb) in createMonster() 304 XCTAssertEqual(monster.testarrayofstring(at: 0), "test1") in readFlatbufferMonster() 305 XCTAssertEqual(monster.testarrayofstring(at: 1), "test2") in readFlatbufferMonster()
|
D | monster_test_generated.swift | 1131 case testarrayofstring = 24 1208 …public var hasTestarrayofstring: Bool { let o = _accessor.offset(VTOFFSET.testarrayofstring.v); re… 1209 …public var testarrayofstringCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayofstring.v);… 1210 …public func testarrayofstring(at index: Int32) -> String? { let o = _accessor.offset(VTOFFSET.test… in testarrayofstring() function 1362 … addVectorOf(testarrayofstring: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf() 1433 testarrayofstringVectorOffset testarrayofstring: Offset = Offset(), 1496 MyGame_Example_Monster.addVectorOf(testarrayofstring: testarrayofstring, &fbb) 1595 …let __testarrayofstring = builder.createVector(ofStrings: obj.testarrayofstring.compactMap({ $0 })… in pack() 1657 MyGame_Example_Monster.addVectorOf(testarrayofstring: __testarrayofstring, &builder) in pack() 1739 …try _v.visit(field: VTOFFSET.testarrayofstring.p, fieldName: "testarrayofstring", required: false,… in verify<T>() [all …]
|
/external/flatbuffers/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/ |
D | FlatBuffersMonsterWriterTests.swift | 279 Monster.addVectorOf(testarrayofstring: stringTestVector, &fbb) in createMonster() 382 XCTAssertEqual(monster.testarrayofstring(at: 0), "test1") in readFlatbufferMonster() 383 XCTAssertEqual(monster.testarrayofstring(at: 1), "test2") in readFlatbufferMonster()
|
D | monster_test_generated.swift | 1131 case testarrayofstring = 24 1208 …public var hasTestarrayofstring: Bool { let o = _accessor.offset(VTOFFSET.testarrayofstring.v); re… 1209 …public var testarrayofstringCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayofstring.v);… 1210 …public func testarrayofstring(at index: Int32) -> String? { let o = _accessor.offset(VTOFFSET.test… in testarrayofstring() function 1362 … addVectorOf(testarrayofstring: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf() 1433 testarrayofstringVectorOffset testarrayofstring: Offset = Offset(), 1496 MyGame_Example_Monster.addVectorOf(testarrayofstring: testarrayofstring, &fbb) 1595 …let __testarrayofstring = builder.createVector(ofStrings: obj.testarrayofstring.compactMap({ $0 })… in pack() 1657 MyGame_Example_Monster.addVectorOf(testarrayofstring: __testarrayofstring, &builder) in pack() 1739 …try _v.visit(field: VTOFFSET.testarrayofstring.p, fieldName: "testarrayofstring", required: false,… in verify<T>() [all …]
|
/external/flatbuffers/dart/test/ |
D | flat_buffers_test.dart | 58 expect(mon.testarrayofstring!.length, 2); 59 expect(mon.testarrayofstring![0], "test1"); 60 expect(mon.testarrayofstring![1], "test2"); 71 'test: null, test4: null, testarrayofstring: null, ' 94 'testarrayofstring: [test1, test2], testarrayoftables: null, ' 97 'test: null, test4: null, testarrayofstring: null, ' 800 ..testarrayofstring = ["foo", "bar"]
|