/external/flatbuffers/tests/rust_usage_test/bin/ |
D | alloc_check.rs | 62 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 132 let testarrayofstring = m.testarrayofstring().unwrap(); in main() localVariable 133 assert_eq!(testarrayofstring.len(), 2); in main() 134 assert_eq!(testarrayofstring.get(0), "test1"); in main() 135 assert_eq!(testarrayofstring.get(1), "test2"); in main()
|
/external/flatbuffers/tests/rust_usage_test/benches/ |
D | flatbuffers_benchmarks.rs | 96 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 144 let testarrayofstring = m.testarrayofstring().unwrap(); in traverse_serialized_example_with_generated_code() localVariable 145 blackbox(testarrayofstring.get(0)); in traverse_serialized_example_with_generated_code() 146 blackbox(testarrayofstring.get(1)); in traverse_serialized_example_with_generated_code()
|
/external/flatbuffers/tests/ |
D | JavaScriptTest.js | 157 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); }));
|
D | monsterdata_test.json | 59 testarrayofstring: [
|
D | monsterdata_test.golden | 41 testarrayofstring: [
|
D | lobstertest.lobster | 57 assert monster.testarrayofstring(0) == "test1" 58 assert monster.testarrayofstring(1) == "test2"
|
D | monster_test_generated.h | 1101 std::vector<std::string> testarrayofstring; 1169 (lhs.testarrayofstring == rhs.testarrayofstring) && 1337 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const { 1608 verifier.VerifyVector(testarrayofstring()) && 1609 verifier.VerifyVectorOfStrings(testarrayofstring()) && 1732 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) { 1733 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); 1870 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0, 1943 builder_.add_testarrayofstring(testarrayofstring); 1970 const std::vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring = nullptr, [all …]
|
D | JavaTest.java | 133 TestEq(monster.testarrayofstring(0),"test1"); in TestBuffer() 134 TestEq(monster.testarrayofstring(1),"test2"); in TestBuffer()
|
D | monster_test.fbs | 66 testarrayofstring:[string] (id: 10);
|
D | monster_test_generated.lobster | 211 def testarrayofstring(i:int): 363 def MonsterAddTestarrayofstring(b_:flatbuffers_builder, testarrayofstring:int): 364 b_.PrependUOffsetTRelativeSlot(10, testarrayofstring, 0)
|
D | monster_test_generated.rs | 982 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create() 1093 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<'a, flatbuffers::ForwardsUOffset<&'a… in testarrayofstring() method 1357 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::Forward… field 1409 testarrayofstring: None, in default() 1492 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring() 1493 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_testarrayofstring()
|
D | test.cpp | 289 auto vecofstrings = monster->testarrayofstring(); in AccessFlatBufferTest() 507 auto &vecofstrings = monster2->testarrayofstring; in ObjectFlatBuffersTest() 2592 const auto *testarrayofstring = monster->testarrayofstring(); in CreateSharedStringTest() local 2593 TEST_EQ(testarrayofstring->size(), flatbuffers::uoffset_t(7)); in CreateSharedStringTest() 2594 const auto &a = *testarrayofstring; in CreateSharedStringTest()
|
D | monster_test_my_game.example_generated.dart | 702 …List<String> get testarrayofstring => const fb.ListReader<String>(const fb.StringReader()).vTableG… 759 … $color, testType: $testType, test: $test, test4: $test4, testarrayofstring: $testarrayofstring, t… 1035 List<String> testarrayofstring, 1083 _testarrayofstring = testarrayofstring,
|
D | monster_test_generated.ts | 975 testarrayofstring(index: number):string method in MyGame.Example.Monster 976 testarrayofstring(index: number,optionalEncoding:flatbuffers.Encoding):string|Uint8Array 977 testarrayofstring(index: number,optionalEncoding?:any):string|Uint8Array|null {
|
D | monster_test_generated.js | 1107 MyGame.Example.Monster.prototype.testarrayofstring = function(index, optionalEncoding) { method in MyGame.Example.Monster
|
/external/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 105 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code() 127 let testarrayofstring = builder.create_vector_of_strings(&["test1", "test2"][..]); in create_serialized_example_with_library_code() localVariable 139 builder.push_slot_always(my_game::example::Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in create_serialized_example_with_library_code() 194 check_is_some!(m.testarrayofstring())?; in serialized_example_is_accessible_and_correct() 195 let testarrayofstring = m.testarrayofstring().unwrap(); in serialized_example_is_accessible_and_correct() localVariable 196 check_eq!(testarrayofstring.len(), 2)?; in serialized_example_is_accessible_and_correct() 197 check_eq!(testarrayofstring.get(0), "test1")?; in serialized_example_is_accessible_and_correct() 198 check_eq!(testarrayofstring.get(1), "test2")?; in serialized_example_is_accessible_and_correct() 508 testarrayofstring: Some(v), ..Default::default()}); in vector_of_string_store_helper_build() 509 assert_eq!(m.testarrayofstring().unwrap().len(), 2); in vector_of_string_store_helper_build() [all …]
|
/external/flatbuffers/dart/test/ |
D | flat_buffers_test.dart | 56 expect(mon.testarrayofstring.length, 2); 57 expect(mon.testarrayofstring[0], "test1"); 58 expect(mon.testarrayofstring[1], "test2"); 62 …testarrayofstring: null, testarrayoftables: null, enemy: null, testnestedflatbuffer: null, testemp…
|
D | monster_test_my_game.example_generated.dart | 704 …List<String> get testarrayofstring => const fb.ListReader<String>(const fb.StringReader()).vTableG… 761 … $color, testType: $testType, test: $test, test4: $test4, testarrayofstring: $testarrayofstring, t… 1037 List<String> testarrayofstring, 1085 _testarrayofstring = testarrayofstring,
|
/external/flatbuffers/tests/MyGame/Example/ |
D | Monster.php | 682 … $mana, $hp, $name, $inventory, $color, $test_type, $test, $test4, $testarrayofstring, $testarrayo… argument 694 self::addTestarrayofstring($builder, $testarrayofstring); 875 public static function addTestarrayofstring(FlatBufferBuilder $builder, $testarrayofstring) argument 877 $builder->addOffsetX(10, $testarrayofstring, 0);
|
D | Monster.lua | 537 …Monster.AddTestarrayofstring(builder, testarrayofstring) builder:PrependUOffsetTRelativeSlot(10, t…
|
D | Monster.py | 631 …ring(builder, testarrayofstring): builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types… argument
|
D | Monster.go | 846 func MonsterAddTestarrayofstring(builder *flatbuffers.Builder, testarrayofstring flatbuffers.UOffse… 847 builder.PrependUOffsetTSlot(10, flatbuffers.UOffsetT(testarrayofstring), 0)
|
D | Monster.java | 43 …public String testarrayofstring(int j) { int o = __offset(24); return o != 0 ? __string(__vector(o… in testarrayofstring() method in Monster
|