/external/flatbuffers/tests/ |
D | monster_test_generated.js | 7 var MyGame = MyGame || {}; variable 13 MyGame.Example = MyGame.Example || {}; 19 MyGame.Example2 = MyGame.Example2 || {}; 25 MyGame.OtherNameSpace = MyGame.OtherNameSpace || {}; 30 MyGame.Example.Color = { 39 MyGame.Example.Any = { 49 MyGame.Example.AnyUniqueAliases = { 59 MyGame.Example.AnyAmbiguousAliases = { 69 MyGame.InParentNamespace = function() { 86 MyGame.InParentNamespace.prototype.__init = function(i, bb) { [all …]
|
D | JavaScriptTest.js | 6 var MyGame = require(process.argv[2]).MyGame; variable 50 var inv = MyGame.Example.Monster.createInventoryVector(fbb, [0, 1, 2, 3, 4]); 53 MyGame.Example.Monster.startMonster(fbb); 54 MyGame.Example.Monster.addName(fbb, fred); 55 var mon2 = MyGame.Example.Monster.endMonster(fbb); 57 MyGame.Example.Monster.startTest4Vector(fbb, 2); 58 MyGame.Example.Test.createTest(fbb, 10, 20); 59 MyGame.Example.Test.createTest(fbb, 30, 40); 62 var testArrayOfString = MyGame.Example.Monster.createTestarrayofstringVector(fbb, [ 67 MyGame.Example.Monster.startMonster(fbb); [all …]
|
D | py_test.py | 35 import MyGame # refers to generated code 36 import MyGame.Example # refers to generated code 37 import MyGame.Example.Any # refers to generated code 38 import MyGame.Example.Color # refers to generated code 39 import MyGame.Example.Monster # refers to generated code 40 import MyGame.Example.Test # refers to generated code 41 import MyGame.Example.Stat # refers to generated code 42 import MyGame.Example.Vec3 # refers to generated code 43 import MyGame.MonsterExtra # refers to generated code 95 monster = MyGame.Example.Monster.Monster.GetRootAsMonster(buf, offset) [all …]
|
D | GoTest.sh | 28 mkdir -p ${go_src}/MyGame/Example 29 mkdir -p ${go_src}/MyGame/Example2 33 cp -a MyGame/*.go ./go_gen/src/MyGame/ 34 cp -a MyGame/Example/*.go ./go_gen/src/MyGame/Example/ 35 cp -a MyGame/Example2/*.go ./go_gen/src/MyGame/Example2/ 38 rm ./go_gen/src/MyGame/Example/*_grpc.go 68 NOT_FMT_FILES=$(gofmt -l MyGame)
|
D | phpTest.php | 34 \MyGame\Example\Monster::startMonster($fbb); 35 \MyGame\Example\Monster::addName($fbb, $name); 36 $enemy = \MyGame\Example\Monster::endMonster($fbb); 38 $inv = \MyGame\Example\Monster::CreateInventoryVector($fbb, array(0, 1, 2, 3, 4)); 41 \MyGame\Example\Monster::StartMonster($fbb); 42 \MyGame\Example\Monster::AddName($fbb, $fred); 43 $mon2 = \MyGame\Example\Monster::EndMonster($fbb); 45 \MyGame\Example\Monster::StartTest4Vector($fbb, 2); 46 \MyGame\Example\Test::CreateTest($fbb, 10, 20); 47 \MyGame\Example\Test::CreateTest($fbb, 30, 40); [all …]
|
D | monster_test_generated.ts | 6 export namespace MyGame.Example{ 16 export namespace MyGame.Example{ 27 export namespace MyGame.Example{ 38 export namespace MyGame.Example{ 49 export namespace MyGame{ namespace 99 export namespace MyGame.Example2{ 149 export namespace MyGame.Example{ 228 export namespace MyGame.Example{ 256 color():MyGame.Example.Color { 258 return offset ? /** */ (this.bb!.readInt8(this.bb_pos + offset)) : MyGame.Example.Color.Green; [all …]
|
D | monster_test_generated.h | 10 namespace MyGame { 178 template<> struct AnyTraits<MyGame::Example2::Monster> { 229 MyGame::Example2::MonsterT *AsMyGame_Example2_Monster() { 231 reinterpret_cast<MyGame::Example2::MonsterT *>(value) : nullptr; 233 const MyGame::Example2::MonsterT *AsMyGame_Example2_Monster() const { 235 reinterpret_cast<const MyGame::Example2::MonsterT *>(value) : nullptr; 255 return *(reinterpret_cast<const MyGame::Example2::MonsterT *>(lhs.value)) == 256 *(reinterpret_cast<const MyGame::Example2::MonsterT *>(rhs.value)); 314 template<> struct AnyUniqueAliasesTraits<MyGame::Example2::Monster> { 365 MyGame::Example2::MonsterT *AsM2() { [all …]
|
/external/flatbuffers/tests/MyGame/Example/ |
D | MonsterStorageGrpc.java | 5 package MyGame.Example; 39 public static final io.grpc.MethodDescriptor<MyGame.Example.Monster, 40 MyGame.Example.Stat> METHOD_STORE = getStoreMethod(); 42 private static volatile io.grpc.MethodDescriptor<MyGame.Example.Monster, 43 MyGame.Example.Stat> getStoreMethod; 45 private static volatile FlatbuffersUtils.FBExtactor<MyGame.Example.Monster> extractorOfMonster; 46 private static FlatbuffersUtils.FBExtactor<MyGame.Example.Monster> getExtractorOfMonster() { in getExtractorOfMonster() 50 extractorOfMonster = new FlatbuffersUtils.FBExtactor<MyGame.Example.Monster>() { in getExtractorOfMonster() 51 public MyGame.Example.Monster extract (ByteBuffer buffer) { in getExtractorOfMonster() 52 return MyGame.Example.Monster.getRootAsMonster(buffer); in getExtractorOfMonster() [all …]
|
D | TestSimpleTableWithEnum.php | 4 namespace MyGame\Example; 56 return $o != 0 ? $this->bb->getSbyte($o + $this->bb_pos) : \MyGame\Example\Color::Green;
|
/external/flatbuffers/samples/ |
D | sample_binary.py | 26 import MyGame.Sample.Color 27 import MyGame.Sample.Equipment 28 import MyGame.Sample.Monster 29 import MyGame.Sample.Vec3 30 import MyGame.Sample.Weapon 41 MyGame.Sample.Weapon.WeaponStart(builder) 42 MyGame.Sample.Weapon.WeaponAddName(builder, weapon_one) 43 MyGame.Sample.Weapon.WeaponAddDamage(builder, 3) 44 sword = MyGame.Sample.Weapon.WeaponEnd(builder) 46 MyGame.Sample.Weapon.WeaponStart(builder) [all …]
|
D | samplebinary.js | 21 var MyGame = require('./monster_generated').MyGame; variable 31 MyGame.Sample.Weapon.startWeapon(builder); 32 MyGame.Sample.Weapon.addName(builder, weaponOne); 33 MyGame.Sample.Weapon.addDamage(builder, 3); 34 var sword = MyGame.Sample.Weapon.endWeapon(builder); 36 MyGame.Sample.Weapon.startWeapon(builder); 37 MyGame.Sample.Weapon.addName(builder, weaponTwo); 38 MyGame.Sample.Weapon.addDamage(builder, 5); 39 var axe = MyGame.Sample.Weapon.endWeapon(builder); 45 var inv = MyGame.Sample.Monster.createInventoryVector(builder, treasure); [all …]
|
D | SampleBinary.php | 41 $sword = \MyGame\Sample\Weapon::CreateWeapon($builder, $weapon_one, 3); 43 $axe = \MyGame\Sample\Weapon::CreateWeapon($builder, $weapon_two, 5); 49 $inv = \MyGame\Sample\Monster::CreateInventoryVector($builder, $treasure); 52 $weapons = \MyGame\Sample\Monster::CreateWeaponsVector($builder, $weaps); 54 $pos = \MyGame\Sample\Vec3::CreateVec3($builder, 1.0, 2.0, 3.0); 56 \MyGame\Sample\Monster::StartMonster($builder); 57 \MyGame\Sample\Monster::AddPos($builder, $pos); 58 \MyGame\Sample\Monster::AddHp($builder, 300); 59 \MyGame\Sample\Monster::AddName($builder, $name); 60 \MyGame\Sample\Monster::AddInventory($builder, $inv); [all …]
|
D | SampleBinary.java | 19 import MyGame.Sample.Color; 20 import MyGame.Sample.Equipment; 21 import MyGame.Sample.Monster; 22 import MyGame.Sample.Vec3; 23 import MyGame.Sample.Weapon;
|
D | go_sample.sh | 47 mkdir -p ${sampledir}/go_gen/src/MyGame/Sample 49 cp MyGame/Sample/*.go ${sampledir}/go_gen/src/MyGame/Sample/ 61 rm -rf MyGame/
|
D | monster_generated.h | 9 namespace MyGame { 414 return MyGame::Sample::CreateMonster( 513 return MyGame::Sample::CreateWeapon( 558 return MyGame::Sample::CreateMonster( 594 return MyGame::Sample::CreateWeapon( 777 inline const MyGame::Sample::Monster *GetMonster(const void *buf) { 778 return flatbuffers::GetRoot<MyGame::Sample::Monster>(buf); 781 inline const MyGame::Sample::Monster *GetSizePrefixedMonster(const void *buf) { 782 return flatbuffers::GetSizePrefixedRoot<MyGame::Sample::Monster>(buf); 791 return verifier.VerifyBuffer<MyGame::Sample::Monster>(nullptr); [all …]
|
D | csharp_sample.sh | 45 mcs SampleBinary.cs MyGame/Sample/*.cs ../net/FlatBuffers/*.cs 50 rm -rf MyGame/
|
/external/flatbuffers/docs/source/ |
D | Tutorial.md | 162 namespace MyGame.Sample; 202 the `Sample` namespace inside of the `MyGame` namespace. 375 using namespace MyGame::Sample; // Specified in the schema. 380 import MyGame.Sample.*; //The `flatc` generated files. (Monster, Vec3, etc.) 388 using MyGame.Sample; // The `flatc` generated files. (Monster, Vec3, etc.) 395 sample "MyGame/Sample" 404 import MyGame.Sample.Color 405 import MyGame.Sample.Equipment 406 import MyGame.Sample.Monster 407 import MyGame.Sample.Vec3 [all …]
|
D | JavaScriptUsage.md | 59 var MyGame = require('./monster_generated').MyGame; 64 var monster = MyGame.Example.Monster.getRootAsMonster(buf); 83 var monster = MyGame.Example.Monster.getRootAsMonster(buf);
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
D | NetTest.sh | 6 ../../net/FlatBuffers/*.cs ../MyGame/Example/*.cs ../MyGame/*.cs ../union_vector/*.cs \ 17 ../../net/FlatBuffers/*.cs ../MyGame/Example/*.cs ../MyGame/*.cs ../union_vector/*.cs\
|
D | FlatBuffersExampleTests.cs | 19 using MyGame.Example; 81 MyGame.Example.Test.CreateTest(fbb, (short)10, (sbyte)20); in CanCreateNewFlatBufferFromScratch() 82 MyGame.Example.Test.CreateTest(fbb, (short)30, (sbyte)40); in CanCreateNewFlatBufferFromScratch() 211 var t = (MyGame.Example.Test)pos.Test3; in TestBuffer()
|
/external/flatbuffers/grpc/tests/ |
D | message_builder_test.cpp | 6 using MyGame::Example::Vec3; 7 using MyGame::Example::CreateStat; 8 using MyGame::Example::Any_NONE; 198 void populate_first_half(MyGame::Example::MonsterBuilder &wrapper, flatbuffers::Offset<flatbuffers:… in populate_first_half() 204 void populate_second_half(MyGame::Example::MonsterBuilder &wrapper) { in populate_second_half() 215 void test_only_hack_update_fbb_reference(MyGame::Example::MonsterBuilder &monsterBuilder, in test_only_hack_update_fbb_reference() 227 MyGame::Example::MonsterBuilder monsterBuilder(fbb); // starts a table in FlatBufferBuilder in builder_move_ctor_conversion_before_finish_half_n_half_table_test() 261 MyGame::Example::MonsterBuilder monsterBuilder(fbb); // starts a table in FlatBufferBuilder in builder_move_assign_conversion_before_finish_half_n_half_table_test()
|
D | grpctest.cpp | 25 using namespace MyGame::Example; 33 class ServiceImpl final : public MyGame::Example::MonsterStorage::Service { 150 auto stub = MyGame::Example::MonsterStorage::NewStub(channel); in grpc_server_test()
|
D | GameFactory.java | 2 import MyGame.Example.Monster; 3 import MyGame.Example.Stat;
|
D | JavaGrpcTest.java | 17 import MyGame.Example.Monster; 18 import MyGame.Example.MonsterStorageGrpc; 19 import MyGame.Example.Stat;
|
/external/flatbuffers/tests/FlatBuffers.Benchmarks/ |
D | FlatBuffers.Benchmarks.csproj | 18 <Compile Include="..\MyGame\**\*.cs" Link="MyGame\Example\%(FileName).cs" />
|