Home
last modified time | relevance | path

Searched refs:testarrayofstring (Results 1 – 25 of 31) sorted by relevance

12

/third_party/flatbuffers/tests/rust_usage_test/bin/
Dflatbuffers_alloc_check.rs93 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()
/third_party/flatbuffers/tests/
DJavaScriptTest.js164 assert.strictEqual(monster.testarrayofstring.length, 2);
165 assert.strictEqual(monster.testarrayofstring[0], 'test1');
166 assert.strictEqual(monster.testarrayofstring[1], 'test2');
216 assert.strictEqual(monster.testarrayofstring(0), 'test1');
217 assert.strictEqual(monster.testarrayofstring(1), 'test2');
290 assert.strictEqual(monster.testarrayofstringLength(), json.testarrayofstring.length);
291 json.testarrayofstring.forEach(function(string, i) {
292 assert.strictEqual(monster.testarrayofstring(i), string);
293 …assert.deepEqual(new Buffer(monster.testarrayofstring(i, flatbuffers.Encoding.UTF8_BYTES)), new Bu…
310 json.testarrayofstring.map(function(string) { return fbb.createString(string); }));
Dmonsterdata_test.json59 testarrayofstring: [
Dmonsterdata_test.golden41 testarrayofstring: [
Dlobstertest.lobster58 assert monster.testarrayofstring(0) == "test1"
59 assert monster.testarrayofstring(1) == "test2"
Dmonster_test_generated.h1219 std::vector<std::string> testarrayofstring{};
1270 (lhs.testarrayofstring == rhs.testarrayofstring) &&
1442 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const {
1728 verifier.VerifyVector(testarrayofstring()) &&
1729 verifier.VerifyVectorOfStrings(testarrayofstring()) &&
1859 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) {
1860 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
2005 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0,
2083 builder_.add_testarrayofstring(testarrayofstring);
2111 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr,
[all …]
Dmonster_test_generated.rs2176 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create()
2229 let testarrayofstring = self.testarrayofstring().map(|x| { in unpack() localVariable
2355 testarrayofstring, in unpack()
2494 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring() method
2852 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a, flatbuffers::Forwards… field
2907 testarrayofstring: None, in default()
2993 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring()
2994 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_testarrayofstring()
3210 ds.field("testarrayofstring", &self.testarrayofstring()); in fmt()
3317 pub testarrayofstring: Option<Vec<String>>, field
[all …]
Dmonster_test.fbs87 testarrayofstring:[string] (id: 10);
DKotlinTest.kt139 assert(monster.testarrayofstring(0) == "test1") in TestBuffer()
140 assert(monster.testarrayofstring(1) == "test2") in TestBuffer()
Dmonster_test_generated.lobster264 def testarrayofstring(i:int):
430 def add_testarrayofstring(testarrayofstring:flatbuffers_offset):
431 b_.PrependUOffsetTRelativeSlot(10, testarrayofstring)
Dpy_test.py379 self.monsterT.testarrayofstring = []
380 self.monsterT.testarrayofstring.append("test1")
381 self.monsterT.testarrayofstring.append("test2")
387 self.monsterT.testarrayofstring = []
1749 testarrayofstring = b.EndVector()
1751 MyGame.Example.Monster.AddTestarrayofstring(b, testarrayofstring)
Dmonster_test_my_game.example_generated.dart828 …List<String> get testarrayofstring => const fb.ListReader<String>(const fb.StringReader()).vTableG…
888 … $color, testType: $testType, test: $test, test4: $test4, testarrayofstring: $testarrayofstring, t…
1179 List<String> testarrayofstring,
1230 _testarrayofstring = testarrayofstring,
/third_party/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs127 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
175 let testarrayofstring = m.testarrayofstring().unwrap(); in traverse_serialized_example_with_generated_code() localVariable
176 blackbox(testarrayofstring.get(0)); in traverse_serialized_example_with_generated_code()
177 blackbox(testarrayofstring.get(1)); in traverse_serialized_example_with_generated_code()
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs148 testarrayofstring: None, in object_api_defaults()
215 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
237 let testarrayofstring = builder.create_vector_of_strings(&["test1", "test2"][..]); in create_serialized_example_with_library_code() localVariable
249 builder.push_slot_always(my_game::example::Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in create_serialized_example_with_library_code()
305 check_is_some!(m.testarrayofstring())?; in serialized_example_is_accessible_and_correct()
306 let testarrayofstring = m.testarrayofstring().unwrap(); in serialized_example_is_accessible_and_correct() localVariable
307 check_eq!(testarrayofstring.len(), 2)?; in serialized_example_is_accessible_and_correct()
308 check_eq!(testarrayofstring.get(0), "test1")?; in serialized_example_is_accessible_and_correct()
309 check_eq!(testarrayofstring.get(1), "test2")?; in serialized_example_is_accessible_and_correct()
349 let testarrayofstring = m.testarrayofstring.as_ref().unwrap(); in test_object_api_reads_correctly() localVariable
[all …]
/third_party/flatbuffers/tests/my-game/example/
Dmonster.js109 testarrayofstring(index, optionalEncoding) { method in Monster
860 …est4.bind(this), this.test4Length()), this.bb.createScalarList(this.testarrayofstring.bind(this), …
890 …_o.testarrayofstring = this.bb.createScalarList(this.testarrayofstring.bind(this), this.testarrayo…
946 …, color = Color.Blue, testType = Any.NONE, test = null, test4 = [], testarrayofstring = [], testar… argument
956 this.testarrayofstring = testarrayofstring;
1003 …const testarrayofstring = Monster.createTestarrayofstringVector(builder, builder.createObjectOffse…
1036 Monster.addTestarrayofstring(builder, testarrayofstring);
Dmonster.ts140 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 {
1116 this.bb!.createScalarList(this.testarrayofstring.bind(this), this.testarrayofstringLength()),
1183 …_o.testarrayofstring = this.bb!.createScalarList(this.testarrayofstring.bind(this), this.testarray…
1246 public testarrayofstring: (string)[] = [],
1295 …const testarrayofstring = Monster.createTestarrayofstringVector(builder, builder.createObjectOffse… constant
1329 Monster.addTestarrayofstring(builder, testarrayofstring);
/third_party/flatbuffers/tests/fuzzer/
Dmonster_fuzzer.dict57 "testarrayofstring"
Dparser_fuzzer.dict90 "testarrayofstring"
/third_party/flatbuffers/tests/MyGame/Example/
DMonster.py842 …ring(builder, testarrayofstring): builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types… argument
843 def MonsterAddTestarrayofstring(builder, testarrayofstring): argument
845 return AddTestarrayofstring(builder, testarrayofstring)
1131 self.testarrayofstring = None # type: List[str]
1213 self.testarrayofstring = []
1215 self.testarrayofstring.append(monster.Testarrayofstring(i))
1384 if self.testarrayofstring is not None:
1386 for i in range(len(self.testarrayofstring)):
1387 testarrayofstringlist.append(builder.CreateString(self.testarrayofstring[i]))
1388 StartTestarrayofstringVector(builder, len(self.testarrayofstring))
[all …]
DMonster.php745 … $mana, $hp, $name, $inventory, $color, $test_type, $test, $test4, $testarrayofstring, $testarrayo… argument
757 self::addTestarrayofstring($builder, $testarrayofstring);
941 public static function addTestarrayofstring(FlatBufferBuilder $builder, $testarrayofstring) argument
943 $builder->addOffsetX(10, $testarrayofstring, 0);
DMonster.kt134 fun testarrayofstring(j: Int) : String? { in testarrayofstring() method in MyGame.Example.Monster
867 …starrayofstring(builder: FlatBufferBuilder, testarrayofstring: Int) = builder.addOffset(10, testar… in startInventoryVector()
/third_party/flatbuffers/dart/test/
Dflat_buffers_test.dart56 expect(mon.testarrayofstring.length, 2);
57 expect(mon.testarrayofstring[0], "test1");
58 expect(mon.testarrayofstring[1], "test2");
69 'test: null, test4: null, testarrayofstring: null, '
87 'testarrayofstring: [test1, test2], testarrayoftables: null, '
90 'test: null, test4: null, testarrayofstring: null, '
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersMonsterWriterTests.swift171 Monster.addVectorOf(testarrayofstring: stringTestVector, &fbb) in createMonster()
273 XCTAssertEqual(monster.testarrayofstring(at: 0), "test1") in readFlatbufferMonster()
274 XCTAssertEqual(monster.testarrayofstring(at: 1), "test2") in readFlatbufferMonster()
Dmonster_test_generated.swift767 case testarrayofstring = 24
831 …public var testarrayofstringCount: Int32 { let o = _accessor.offset(VTOFFSET.testarrayofstring.v);…
832 …public func testarrayofstring(at index: Int32) -> String? { let o = _accessor.offset(VTOFFSET.test… in testarrayofstring() function
945 … addVectorOf(testarrayofstring: Offset, _ fbb: inout FlatBufferBuilder) { fbb.add(offset: testarra… in addVectorOf()
1005 testarrayofstringVectorOffset testarrayofstring: Offset = Offset(),
1057 MyGame_Example_Monster.addVectorOf(testarrayofstring: testarrayofstring, &fbb)
1145 …let __testarrayofstring = builder.createVector(ofStrings: obj.testarrayofstring.compactMap({ $0 })… in pack()
1207 MyGame_Example_Monster.addVectorOf(testarrayofstring: __testarrayofstring, &builder) in pack()
1268 public var testarrayofstring: [String?] variable
1334 testarrayofstring = []
[all …]
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h1174 std::vector<std::string> testarrayofstring{};
1342 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const {
1623 else if constexpr (Index == 9) return testarrayofstring();
1682 verifier.VerifyVector(testarrayofstring()) &&
1683 verifier.VerifyVectorOfStrings(testarrayofstring()) &&
1813 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) {
1814 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
1959 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0,
2037 builder_.add_testarrayofstring(testarrayofstring);
2127 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr,
[all …]

12