Home
last modified time | relevance | path

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

/external/flatbuffers/tests/rust_usage_test/bin/
Dalloc_check.rs62 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/
Dflatbuffers_benchmarks.rs96 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/
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.h1101 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 …]
DJavaTest.java133 TestEq(monster.testarrayofstring(0),"test1"); in TestBuffer()
134 TestEq(monster.testarrayofstring(1),"test2"); in TestBuffer()
Dmonster_test.fbs66 testarrayofstring:[string] (id: 10);
Dmonster_test_generated.lobster211 def testarrayofstring(i:int):
363 def MonsterAddTestarrayofstring(b_:flatbuffers_builder, testarrayofstring:int):
364 b_.PrependUOffsetTRelativeSlot(10, testarrayofstring, 0)
Dmonster_test_generated.rs982 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()
Dtest.cpp289 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()
Dmonster_test_my_game.example_generated.dart702 …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,
Dmonster_test_generated.ts975 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 {
Dmonster_test_generated.js1107 MyGame.Example.Monster.prototype.testarrayofstring = function(index, optionalEncoding) { method in MyGame.Example.Monster
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs105 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/
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.dart704 …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/
DMonster.php682 … $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);
DMonster.lua537 …Monster.AddTestarrayofstring(builder, testarrayofstring) builder:PrependUOffsetTRelativeSlot(10, t…
DMonster.py631 …ring(builder, testarrayofstring): builder.PrependUOffsetTRelativeSlot(10, flatbuffers.number_types… argument
DMonster.go846 func MonsterAddTestarrayofstring(builder *flatbuffers.Builder, testarrayofstring flatbuffers.UOffse…
847 builder.PrependUOffsetTSlot(10, flatbuffers.UOffsetT(testarrayofstring), 0)
DMonster.java43 …public String testarrayofstring(int j) { int o = __offset(24); return o != 0 ? __string(__vector(o… in testarrayofstring() method in Monster