/third_party/flatbuffers/tests/my-game/example/ |
D | any-ambiguous-aliases.js | 3 export var AnyAmbiguousAliases; variable 4 (function (AnyAmbiguousAliases) { argument 5 AnyAmbiguousAliases[AnyAmbiguousAliases["NONE"] = 0] = "NONE"; 6 AnyAmbiguousAliases[AnyAmbiguousAliases["M1"] = 1] = "M1"; 7 AnyAmbiguousAliases[AnyAmbiguousAliases["M2"] = 2] = "M2"; 8 AnyAmbiguousAliases[AnyAmbiguousAliases["M3"] = 3] = "M3"; 9 })(AnyAmbiguousAliases || (AnyAmbiguousAliases = {})); 11 switch (AnyAmbiguousAliases[type]) { 20 switch (AnyAmbiguousAliases[type]) {
|
D | any-ambiguous-aliases.ts | 6 export enum AnyAmbiguousAliases{ enum 14 type: AnyAmbiguousAliases, 17 switch(AnyAmbiguousAliases[type]) { 27 type: AnyAmbiguousAliases, 31 switch(AnyAmbiguousAliases[type]) {
|
D | monster.ts | 8 import { AnyAmbiguousAliases, unionToAnyAmbiguousAliases, unionListToAnyAmbiguousAliases } from '..… 583 anyAmbiguousType():AnyAmbiguousAliases { 585 return offset ? this.bb!.readUint8(this.bb_pos + offset) : AnyAmbiguousAliases.NONE; 1018 static addAnyAmbiguousType(builder:flatbuffers.Builder, anyAmbiguousType:AnyAmbiguousAliases) { 1019 builder.addFieldInt8(45, anyAmbiguousType, AnyAmbiguousAliases.NONE); 1281 public anyAmbiguousType: AnyAmbiguousAliases = AnyAmbiguousAliases.NONE,
|
D | monster.js | 5 import { AnyAmbiguousAliases, unionToAnyAmbiguousAliases } from '../../my-game/example/any-ambiguou… 451 return offset ? this.bb.readUint8(this.bb_pos + offset) : AnyAmbiguousAliases.NONE; 789 builder.addFieldInt8(45, anyAmbiguousType, AnyAmbiguousAliases.NONE); 946 …Type = AnyUniqueAliases.NONE, anyUnique = null, anyAmbiguousType = AnyAmbiguousAliases.NONE, anyAm…
|
/third_party/flatbuffers/tests/MyGame/Example/ |
D | AnyAmbiguousAliases.go | 11 type AnyAmbiguousAliases byte type 14 AnyAmbiguousAliasesNONE AnyAmbiguousAliases = 0 15 AnyAmbiguousAliasesM1 AnyAmbiguousAliases = 1 16 AnyAmbiguousAliasesM2 AnyAmbiguousAliases = 2 17 AnyAmbiguousAliasesM3 AnyAmbiguousAliases = 3 20 var EnumNamesAnyAmbiguousAliases = map[AnyAmbiguousAliases]string{ 27 var EnumValuesAnyAmbiguousAliases = map[string]AnyAmbiguousAliases{ 34 func (v AnyAmbiguousAliases) String() string { 42 Type AnyAmbiguousAliases 61 func (rcv AnyAmbiguousAliases) UnPack(table flatbuffers.Table) *AnyAmbiguousAliasesT {
|
D | AnyAmbiguousAliases.cs | 9 public enum AnyAmbiguousAliases : byte enum 18 public AnyAmbiguousAliases Type { get; set; } 22 this.Type = AnyAmbiguousAliases.NONE; in AnyAmbiguousAliasesUnion() 34 case AnyAmbiguousAliases.M1: return MyGame.Example.Monster.Pack(builder, _o.AsM1()).Value; in Pack() 35 case AnyAmbiguousAliases.M2: return MyGame.Example.Monster.Pack(builder, _o.AsM2()).Value; in Pack() 36 case AnyAmbiguousAliases.M3: return MyGame.Example.Monster.Pack(builder, _o.AsM3()).Value; in Pack() 76 …case AnyAmbiguousAliases.M1: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); b… in ReadJson() 77 …case AnyAmbiguousAliases.M2: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); b… in ReadJson() 78 …case AnyAmbiguousAliases.M3: _o.Value = serializer.Deserialize<MyGame.Example.MonsterT>(reader); b… in ReadJson()
|
D | AnyAmbiguousAliases.php | 6 class AnyAmbiguousAliases class 14 AnyAmbiguousAliases::NONE=>"NONE", 15 AnyAmbiguousAliases::M1=>"M1", 16 AnyAmbiguousAliases::M2=>"M2", 17 AnyAmbiguousAliases::M3=>"M3",
|
D | AnyAmbiguousAliases.py | 5 class AnyAmbiguousAliases(object): class 16 if unionType == AnyAmbiguousAliases().M1: 19 if unionType == AnyAmbiguousAliases().M2: 22 if unionType == AnyAmbiguousAliases().M3:
|
D | AnyAmbiguousAliases.lua | 5 local AnyAmbiguousAliases = { 12 return AnyAmbiguousAliases -- return the module
|
D | AnyAmbiguousAliases.java | 5 public final class AnyAmbiguousAliases { class 6 private AnyAmbiguousAliases() { } in AnyAmbiguousAliases() method in AnyAmbiguousAliases
|
D | AnyAmbiguousAliases.kt | 7 class AnyAmbiguousAliases private constructor() { class
|
D | Monster.cs | 184 …AnyAmbiguousAliases AnyAmbiguousType { get { int o = __p.__offset(94); return o != 0 ? (MyGame.Exa… 259 … MyGame.Example.AnyAmbiguousAliases any_ambiguous_type = MyGame.Example.AnyAmbiguousAliases.NONE, in CreateMonster() 409 …void AddAnyAmbiguousType(FlatBufferBuilder builder, MyGame.Example.AnyAmbiguousAliases anyAmbiguou… in AddAnyAmbiguousType() 552 case MyGame.Example.AnyAmbiguousAliases.M1: in UnPackTo() 555 case MyGame.Example.AnyAmbiguousAliases.M2: in UnPackTo() 558 case MyGame.Example.AnyAmbiguousAliases.M3: in UnPackTo() 673 …var _any_ambiguous_type = _o.AnyAmbiguous == null ? MyGame.Example.AnyAmbiguousAliases.NONE : _o.A… in Pack() 869 private MyGame.Example.AnyAmbiguousAliases AnyAmbiguousType { 871 …eturn this.AnyAmbiguous != null ? this.AnyAmbiguous.Type : MyGame.Example.AnyAmbiguousAliases.NONE;
|
D | Monster.go | 1221 func (rcv *Monster) AnyAmbiguousType() AnyAmbiguousAliases { 1224 return AnyAmbiguousAliases(rcv._tab.GetByte(o + rcv._tab.Pos)) 1229 func (rcv *Monster) MutateAnyAmbiguousType(n AnyAmbiguousAliases) bool { 1528 func MonsterAddAnyAmbiguousType(builder *flatbuffers.Builder, anyAmbiguousType AnyAmbiguousAliases)… argument
|
D | Monster.php | 638 …eturn $o != 0 ? $this->bb->getByte($o + $this->bb_pos) : \MyGame\Example\AnyAmbiguousAliases::NONE;
|
D | Monster.py | 1104 import MyGame.Example.AnyAmbiguousAliases 1340 …self.anyAmbiguous = MyGame.Example.AnyAmbiguousAliases.AnyAmbiguousAliasesCreator(self.anyAmbiguou…
|
/third_party/flatbuffers/tests/cpp17/generated_cpp17/ |
D | monster_test_generated.h | 389 enum class AnyAmbiguousAliases : uint8_t { 398 inline const AnyAmbiguousAliases (&EnumValuesAnyAmbiguousAliases())[4] { 399 static const AnyAmbiguousAliases values[] = { 400 AnyAmbiguousAliases::NONE, 401 AnyAmbiguousAliases::M1, 402 AnyAmbiguousAliases::M2, 403 AnyAmbiguousAliases::M3 419 inline const char *EnumNameAnyAmbiguousAliases(AnyAmbiguousAliases e) { 420 if (flatbuffers::IsOutRange(e, AnyAmbiguousAliases::NONE, AnyAmbiguousAliases::M3)) return ""; 426 AnyAmbiguousAliases type; [all …]
|
/third_party/flatbuffers/tests/ |
D | monster_test_generated.rs | 798 pub const ENUM_VALUES_ANY_AMBIGUOUS_ALIASES: [AnyAmbiguousAliases; 4] = [ 799 AnyAmbiguousAliases::NONE, 800 AnyAmbiguousAliases::M1, 801 AnyAmbiguousAliases::M2, 802 AnyAmbiguousAliases::M3, 807 pub struct AnyAmbiguousAliases(pub u8); struct 809 impl AnyAmbiguousAliases { impl 834 impl std::fmt::Debug for AnyAmbiguousAliases { implementation 843 impl<'a> flatbuffers::Follow<'a> for AnyAmbiguousAliases { implementation 854 impl flatbuffers::Push for AnyAmbiguousAliases { implementation [all …]
|
D | monster_test.fbs | 37 union AnyAmbiguousAliases { M1: Monster, M2: Monster, M3: Monster } 122 any_ambiguous:AnyAmbiguousAliases (id:46);
|
D | monster_test_generated.h | 477 enum AnyAmbiguousAliases : uint8_t { 486 inline const AnyAmbiguousAliases (&EnumValuesAnyAmbiguousAliases())[4] { 487 static const AnyAmbiguousAliases values[] = { 507 inline const char *EnumNameAnyAmbiguousAliases(AnyAmbiguousAliases e) { 514 AnyAmbiguousAliases type; 530 …static void *UnPack(const void *obj, AnyAmbiguousAliases type, const flatbuffers::resolver_functio… 588 …ifyAnyAmbiguousAliases(flatbuffers::Verifier &verifier, const void *obj, AnyAmbiguousAliases type); 1667 MyGame::Example::AnyAmbiguousAliases any_ambiguous_type() const { 1668 …return static_cast<MyGame::Example::AnyAmbiguousAliases>(GetField<uint8_t>(VT_ANY_AMBIGUOUS_TYPE, … 1964 void add_any_ambiguous_type(MyGame::Example::AnyAmbiguousAliases any_ambiguous_type) { [all …]
|
D | monster_test_generated.lobster | 33 enum AnyAmbiguousAliases: 374 return AnyAmbiguousAliases(buf_.flatbuffers_field_int8(pos_, 94, 0)) 535 def add_any_ambiguous_type(any_ambiguous_type:AnyAmbiguousAliases):
|
/third_party/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffers.Core.Test.csproj | 53 <Compile Include="..\MyGame\Example\AnyAmbiguousAliases.cs"> 54 <Link>MyGame\Example\AnyAmbiguousAliases.cs</Link>
|
/third_party/flatbuffers/tests/rust_usage_test/tests/ |
D | integration_test.rs | 525 assert_eq!(0, my_game::example::AnyAmbiguousAliases::ENUM_MIN); in enum_constants_are_public() 526 assert_eq!(3, my_game::example::AnyAmbiguousAliases::ENUM_MAX); in enum_constants_are_public() 527 assert_eq!(my_game::example::AnyAmbiguousAliases::ENUM_VALUES, [ in enum_constants_are_public() 528 my_game::example::AnyAmbiguousAliases::NONE, in enum_constants_are_public() 529 my_game::example::AnyAmbiguousAliases::M1, in enum_constants_are_public() 530 my_game::example::AnyAmbiguousAliases::M2, in enum_constants_are_public() 531 my_game::example::AnyAmbiguousAliases::M3, in enum_constants_are_public()
|