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.rs61 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
131 let testarrayofstring = m.testarrayofstring().unwrap(); in main() localVariable
132 assert_eq!(testarrayofstring.len(), 2); in main()
133 assert_eq!(testarrayofstring.get(0), "test1"); in main()
134 assert_eq!(testarrayofstring.get(1), "test2"); in main()
/external/flatbuffers/tests/rust_usage_test/benches/
Dflatbuffers_benchmarks.rs95 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
143 let testarrayofstring = m.testarrayofstring().unwrap(); in traverse_serialized_example_with_generated_code() localVariable
144 blackbox(testarrayofstring.get(0)); in traverse_serialized_example_with_generated_code()
145 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.h1025 std::vector<std::string> testarrayofstring;
1093 (lhs.testarrayofstring == rhs.testarrayofstring) &&
1256 const flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>> *testarrayofstring() const {
1527 verifier.VerifyVector(testarrayofstring()) &&
1528 verifier.VerifyVectorOfStrings(testarrayofstring()) &&
1651 …buffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring) {
1652 fbb_.AddOffset(Monster::VT_TESTARRAYOFSTRING, testarrayofstring);
1789 …ffers::Offset<flatbuffers::Vector<flatbuffers::Offset<flatbuffers::String>>> testarrayofstring = 0,
1862 builder_.add_testarrayofstring(testarrayofstring);
1889 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);
Dtest.cpp289 auto vecofstrings = monster->testarrayofstring(); in AccessFlatBufferTest()
507 auto &vecofstrings = monster2->testarrayofstring; in ObjectFlatBuffersTest()
2466 const auto *testarrayofstring = monster->testarrayofstring(); in CreateSharedStringTest() local
2467 TEST_EQ(testarrayofstring->size(), flatbuffers::uoffset_t(7)); in CreateSharedStringTest()
2468 const auto &a = *testarrayofstring; in CreateSharedStringTest()
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.rs987 if let Some(x) = args.testarrayofstring { builder.add_testarrayofstring(x); } in create()
1098 …pub fn testarrayofstring(&self) -> Option<flatbuffers::Vector<flatbuffers::ForwardsUOffset<&'a str… in testarrayofstring() method
1362 …pub testarrayofstring: Option<flatbuffers::WIPOffset<flatbuffers::Vector<'a , flatbuffers::Forward… field
1414 testarrayofstring: None, in default()
1497 …pub fn add_testarrayofstring(&mut self, testarrayofstring: flatbuffers::WIPOffset<flatbuffers::Vec… in add_testarrayofstring()
1498 …b_.push_slot_always::<flatbuffers::WIPOffset<_>>(Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in add_testarrayofstring()
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.js1068 MyGame.Example.Monster.prototype.testarrayofstring = function(index, optionalEncoding) { method in MyGame.Example.Monster
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs104 testarrayofstring: Some(builder.create_vector(&[s0, s1])), in create_serialized_example_with_generated_code()
126 let testarrayofstring = builder.create_vector_of_strings(&["test1", "test2"][..]); in create_serialized_example_with_library_code() localVariable
138 builder.push_slot_always(my_game::example::Monster::VT_TESTARRAYOFSTRING, testarrayofstring); in create_serialized_example_with_library_code()
193 check_is_some!(m.testarrayofstring())?; in serialized_example_is_accessible_and_correct()
194 let testarrayofstring = m.testarrayofstring().unwrap(); in serialized_example_is_accessible_and_correct() localVariable
195 check_eq!(testarrayofstring.len(), 2)?; in serialized_example_is_accessible_and_correct()
196 check_eq!(testarrayofstring.get(0), "test1")?; in serialized_example_is_accessible_and_correct()
197 check_eq!(testarrayofstring.get(1), "test2")?; in serialized_example_is_accessible_and_correct()
507 testarrayofstring: Some(v), ..Default::default()}); in vector_of_string_store_helper_build()
508 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.go756 func MonsterAddTestarrayofstring(builder *flatbuffers.Builder, testarrayofstring flatbuffers.UOffse…
757 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