Home
last modified time | relevance | path

Searched refs:AnyAmbiguousAliases (Results 1 – 22 of 22) sorted by relevance

/third_party/flatbuffers/tests/my-game/example/
Dany-ambiguous-aliases.js3 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]) {
Dany-ambiguous-aliases.ts6 export enum AnyAmbiguousAliases{ enum
14 type: AnyAmbiguousAliases,
17 switch(AnyAmbiguousAliases[type]) {
27 type: AnyAmbiguousAliases,
31 switch(AnyAmbiguousAliases[type]) {
Dmonster.ts8 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,
Dmonster.js5 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/
DAnyAmbiguousAliases.go11 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 {
DAnyAmbiguousAliases.cs9 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()
DAnyAmbiguousAliases.php6 class AnyAmbiguousAliases class
14 AnyAmbiguousAliases::NONE=>"NONE",
15 AnyAmbiguousAliases::M1=>"M1",
16 AnyAmbiguousAliases::M2=>"M2",
17 AnyAmbiguousAliases::M3=>"M3",
DAnyAmbiguousAliases.py5 class AnyAmbiguousAliases(object): class
16 if unionType == AnyAmbiguousAliases().M1:
19 if unionType == AnyAmbiguousAliases().M2:
22 if unionType == AnyAmbiguousAliases().M3:
DAnyAmbiguousAliases.lua5 local AnyAmbiguousAliases = {
12 return AnyAmbiguousAliases -- return the module
DAnyAmbiguousAliases.java5 public final class AnyAmbiguousAliases { class
6 private AnyAmbiguousAliases() { } in AnyAmbiguousAliases() method in AnyAmbiguousAliases
DAnyAmbiguousAliases.kt7 class AnyAmbiguousAliases private constructor() { class
DMonster.cs184AnyAmbiguousAliases 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;
DMonster.go1221 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
DMonster.php638 …eturn $o != 0 ? $this->bb->getByte($o + $this->bb_pos) : \MyGame\Example\AnyAmbiguousAliases::NONE;
DMonster.py1104 import MyGame.Example.AnyAmbiguousAliases
1340 …self.anyAmbiguous = MyGame.Example.AnyAmbiguousAliases.AnyAmbiguousAliasesCreator(self.anyAmbiguou…
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h389 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/
Dmonster_test_generated.rs798 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 …]
Dmonster_test.fbs37 union AnyAmbiguousAliases { M1: Monster, M2: Monster, M3: Monster }
122 any_ambiguous:AnyAmbiguousAliases (id:46);
Dmonster_test_generated.h477 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 …]
Dmonster_test_generated.lobster33 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/
DFlatBuffers.Core.Test.csproj53 <Compile Include="..\MyGame\Example\AnyAmbiguousAliases.cs">
54 <Link>MyGame\Example\AnyAmbiguousAliases.cs</Link>
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs525 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()