Home
last modified time | relevance | path

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

12

/external/flatbuffers/tests/rust_usage_test/bin/
Dalloc_check.rs70 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
143 let testarrayofstring = m.testarrayofstring().unwrap(); in main() localVariable
144 assert_eq!(testarrayofstring.len(), 2); in main()
145 assert_eq!(testarrayofstring.get(0), "test1"); in main()
146 assert_eq!(testarrayofstring.get(1), "test2"); in main()
/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs104 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
152 let testarrayofstring = m.testarrayofstring().unwrap(); in traverse_serialized_example_with_generated_code() localVariable
153 blackbox(testarrayofstring.get(0)); in traverse_serialized_example_with_generated_code()
154 blackbox(testarrayofstring.get(1)); in traverse_serialized_example_with_generated_code()
/external/flatbuffers/tests/
DJavaScriptTest.js157 assert.strictEqual(monster.testarrayofstring(0), 'test1');
158 assert.strictEqual(monster.testarrayofstring(1), 'test2');
224 assert.strictEqual(monster.testarrayofstringLength(), json.testarrayofstring.length);
225 json.testarrayofstring.forEach(function(string, i) {
226 assert.strictEqual(monster.testarrayofstring(i), string);
227 …assert.deepEqual(new Buffer(monster.testarrayofstring(i, flatbuffers.Encoding.UTF8_BYTES)), new Bu…
244 json.testarrayofstring.map(function(string) { return fbb.createString(string); }));
Dmonsterdata_test.json59 testarrayofstring: [
Dmonsterdata_test.golden41 testarrayofstring: [
Dlobstertest.lobster57 assert monster.testarrayofstring(0) == "test1"
58 assert monster.testarrayofstring(1) == "test2"
Dmonster_test_generated.h1158 std::vector<std::string> testarrayofstring;
1228 (lhs.testarrayofstring == rhs.testarrayofstring) &&
1396 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const {
1667 verifier.VerifyVector(testarrayofstring()) &&
1668 verifier.VerifyVectorOfStrings(testarrayofstring()) &&
1793 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) {
1794 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
1934 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0,
2008 builder_.add_testarrayofstring(testarrayofstring);
2036 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr,
[all …]
DKotlinTest.kt136 assert(monster.testarrayofstring(0) == "test1") in TestBuffer()
137 assert(monster.testarrayofstring(1) == "test2") in TestBuffer()
Dmonster_test.fbs81 testarrayofstring:[string] (id: 10);
Dmonster_test_generated.lobster240 def testarrayofstring(i:int):
398 def add_testarrayofstring(testarrayofstring:flatbuffers_offset):
399 b_.PrependUOffsetTRelativeSlot(10, testarrayofstring)
Dmonster_test_generated.rs1096 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create()
1209 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring() method
1477 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::Forward… field
1530 testarrayofstring: None, in default()
1614 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring()
1615 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_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(0)
1751 MyGame.Example.Monster.MonsterAddTestarrayofstring(b, testarrayofstring)
Dmonster_test_my_game.example_generated.dart749 …List<String> get testarrayofstring => const fb.ListReader<String>(const fb.StringReader()).vTableG…
807 … $color, testType: $testType, test: $test, test4: $test4, testarrayofstring: $testarrayofstring, t…
1088 List<String> testarrayofstring,
1137 _testarrayofstring = testarrayofstring,
Dtest.cpp325 auto vecofstrings = monster->testarrayofstring(); in AccessFlatBufferTest()
544 auto &vecofstrings = monster2->testarrayofstring; in ObjectFlatBuffersTest()
3098 const auto *testarrayofstring = monster->testarrayofstring(); in CreateSharedStringTest() local
3099 TEST_EQ(testarrayofstring->size(), flatbuffers::uoffset_t(7)); in CreateSharedStringTest()
3100 const auto &a = *testarrayofstring; in CreateSharedStringTest()
Dmonster_test_generated.ts1042 testarrayofstring(index: number):string method in MyGame.Example.Monster
1043 testarrayofstring(index: number,optionalEncoding:flatbuffers.Encoding):string|Uint8Array
1044 testarrayofstring(index: number,optionalEncoding?:any):string|Uint8Array|null {
/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersMonsterWriterTests.swift88 Monster1.addVectorOf(testarrayofstring: stringTestVector, fbb) in createMonster()
177 XCTAssertEqual(monster.testarrayofstring(at: 0), "test1") in readMonster()
178 XCTAssertEqual(monster.testarrayofstring(at: 1), "test2") in readMonster()
Dmonster_test_generated.swift359 …public func testarrayofstring(at index: Int32) -> String? { let o = _accessor.offset(24); return o… in testarrayofstring() function
460 …lic static func addVectorOf(testarrayofstring: Offset<UOffset>, _ fbb: FlatBufferBuilder) { fbb.ad… in addVectorOf()
510 vectorOfTestarrayofstring testarrayofstring: Offset<UOffset> = Offset(),
559 Monster.addVectorOf(testarrayofstring: testarrayofstring, fbb)
/external/flatbuffers/tests/MyGame/Example/
DMonster.py734 …ring(builder, testarrayofstring): builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types… argument
820 self.testarrayofstring = None # type: List[str]
900 self.testarrayofstring = []
902 self.testarrayofstring.append(monster.Testarrayofstring(i))
1056 if self.testarrayofstring is not None:
1058 for i in range(len(self.testarrayofstring)):
1059 testarrayofstringlist.append(builder.CreateString(self.testarrayofstring[i]))
1060 MonsterStartTestarrayofstringVector(builder, len(self.testarrayofstring))
1061 for i in reversed(range(len(self.testarrayofstring))):
1063 testarrayofstring = builder.EndVector(len(self.testarrayofstring))
[all …]
DMonster.php699 … $mana, $hp, $name, $inventory, $color, $test_type, $test, $test4, $testarrayofstring, $testarrayo… argument
711 self::addTestarrayofstring($builder, $testarrayofstring);
893 public static function addTestarrayofstring(FlatBufferBuilder $builder, $testarrayofstring) argument
895 $builder->addOffsetX(10, $testarrayofstring, 0);
DMonster.kt134 fun testarrayofstring(j: Int) : String? { in testarrayofstring() method in MyGame.Example.Monster
806 …starrayofstring(builder: FlatBufferBuilder, testarrayofstring: Int) = builder.addOffset(10, testar… in startInventoryVector()
DMonster.lua544 …Monster.AddTestarrayofstring(builder, testarrayofstring) builder:PrependUOffsetTRelativeSlot(10, t…
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs113 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
135 let testarrayofstring = builder.create_vector_of_strings(&["test1", "test2"][..]); in create_serialized_example_with_library_code() localVariable
147 builder.push_slot_always(my_game::example::Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in create_serialized_example_with_library_code()
203 check_is_some!(m.testarrayofstring())?; in serialized_example_is_accessible_and_correct()
204 let testarrayofstring = m.testarrayofstring().unwrap(); in serialized_example_is_accessible_and_correct() localVariable
205 check_eq!(testarrayofstring.len(), 2)?; in serialized_example_is_accessible_and_correct()
206 check_eq!(testarrayofstring.get(0), "test1")?; in serialized_example_is_accessible_and_correct()
207 check_eq!(testarrayofstring.get(1), "test2")?; in serialized_example_is_accessible_and_correct()
598 testarrayofstring: Some(v), ..Default::default()}); in vector_of_string_store_helper_build()
599 assert_eq!(m.testarrayofstring().unwrap().len(), 2); in vector_of_string_store_helper_build()
[all …]
/external/flatbuffers/dart/test/
Dflat_buffers_test.dart56 expect(mon.testarrayofstring.length, 2);
57 expect(mon.testarrayofstring[0], "test1");
58 expect(mon.testarrayofstring[1], "test2");
62testarrayofstring: null, testarrayoftables: null, enemy: null, testnestedflatbuffer: null, testemp…
Dmonster_test_my_game.example_generated.dart751 …List<String> get testarrayofstring => const fb.ListReader<String>(const fb.StringReader()).vTableG…
809 … $color, testType: $testType, test: $test, test4: $test4, testarrayofstring: $testarrayofstring, t…
1090 List<String> testarrayofstring,
1139 _testarrayofstring = testarrayofstring,
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h986 std::vector<std::string> testarrayofstring;
1171 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const {
1442 verifier.VerifyVector(testarrayofstring()) &&
1443 verifier.VerifyVectorOfStrings(testarrayofstring()) &&
1568 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) {
1569 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
1709 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0,
1783 builder_.add_testarrayofstring(testarrayofstring);
1816 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr,
1858 …auto testarrayofstring__ = testarrayofstring ? _fbb.CreateVector<flatbuffers::Offset<flatbuffers::…
[all …]

12