Home
last modified time | relevance | path

Searched refs:Race (Results 1 – 25 of 41) sorted by relevance

12

/third_party/flatbuffers/tests/my-game/example/
Drace.js2 export var Race; variable
3 (function (Race) { argument
4 Race[Race["None"] = -1] = "None";
5 Race[Race["Human"] = 0] = "Human";
6 Race[Race["Dwarf"] = 1] = "Dwarf";
7 Race[Race["Elf"] = 2] = "Elf";
8 })(Race || (Race = {}));
Drace.ts3 export enum Race{ enum
Dmonster.ts11 import { Race } from '../../my-game/example/race';
608 signedEnum():Race {
610 return offset ? this.bb!.readInt8(this.bb_pos + offset) : Race.None;
613 mutate_signed_enum(value:Race):boolean {
1042 static addSignedEnum(builder:flatbuffers.Builder, signedEnum:Race) {
1043 builder.addFieldInt8(48, signedEnum, Race.None);
1284 public signedEnum: Race = Race.None,
Dmonster.js8 import { Race } from '../../my-game/example/race';
471 return offset ? this.bb.readInt8(this.bb_pos + offset) : Race.None;
808 builder.addFieldInt8(48, signedEnum, Race.None);
946 …iguousAliases.NONE, anyAmbiguous = null, vectorOfEnums = [], signedEnum = Race.None, testrequiredn…
/third_party/flatbuffers/tests/MyGame/Example/
DRace.go7 type Race int8 type
10 RaceNone Race = -1
11 RaceHuman Race = 0
12 RaceDwarf Race = 1
13 RaceElf Race = 2
16 var EnumNamesRace = map[Race]string{
23 var EnumValuesRace = map[string]Race{
30 func (v Race) String() string {
DRace.php6 class Race class
14 Race::None=>"None",
15 Race::Human=>"Human",
16 Race::Dwarf=>"Dwarf",
17 Race::Elf=>"Elf",
DRace.lua5 local Race = {
12 return Race -- return the module
DRace.java5 public final class Race { class
6 private Race() { } in Race() method in Race
DRace.py5 class Race(object): class
DRace.cs9 public enum Race : sbyte enum
DRace.kt7 class Race private constructor() { class
DMonster.cs198 …ample.Race SignedEnum { get { int o = __p.__offset(100); return o != 0 ? (MyGame.Example.Race)__p.…
199 …public bool MutateSignedEnum(MyGame.Example.Race signed_enum) { int o = __p.__offset(100); if (o !… in MutateSignedEnum()
262 MyGame.Example.Race signed_enum = MyGame.Example.Race.None, in CreateMonster()
415 …public static void AddSignedEnum(FlatBufferBuilder builder, MyGame.Example.Race signedEnum) { buil… in AddSignedEnum()
884 public MyGame.Example.Race SignedEnum { get; set; }
935 this.SignedEnum = MyGame.Example.Race.None; in MonsterT()
DMonster.go57 SignedEnum Race
1276 func (rcv *Monster) SignedEnum() Race {
1279 return Race(rcv._tab.GetInt8(o + rcv._tab.Pos))
1284 func (rcv *Monster) MutateSignedEnum(n Race) bool {
1540 func MonsterAddSignedEnum(builder *flatbuffers.Builder, signedEnum Race) { argument
/third_party/node/tools/
Dvalgrind.supp3 Helgrind:Race
10 Helgrind:Race
17 Helgrind:Race
24 Helgrind:Race
31 Helgrind:Race
38 Helgrind:Race
45 Helgrind:Race
52 Helgrind:Race
100 Helgrind:Race
/third_party/glib/
Dglib.supp566 Helgrind:Race
578 Helgrind:Race
589 Helgrind:Race
600 Helgrind:Race
617 Helgrind:Race
628 Helgrind:Race
638 Helgrind:Race
648 Helgrind:Race
666 Helgrind:Race
676 Helgrind:Race
[all …]
/third_party/flatbuffers/dart/test/
Dmonster_test_my_game.example_generated.dart56 class Race {
58 const Race._(this.value);
60 factory Race.fromValue(int value) {
63 throw new StateError('Invalid value $value for bit flag enum Race');
72 static const Race None = const Race._(-1);
73 static const Race Human = const Race._(0);
74 static const Race Dwarf = const Race._(1);
75 static const Race Elf = const Race._(2);
76 static const Map<int,Race> values = {-1: None,0: Human,1: Dwarf,2: Elf,};
78 static const fb.Reader<Race> reader = const _RaceReader();
[all …]
Dflat_buffers_test.dart84 'anyAmbiguous: null, vectorOfEnums: null, signedEnum: Race{value: -1}, '
105 'anyAmbiguous: null, vectorOfEnums: null, signedEnum: Race{value: -1}, '
126 'anyAmbiguous: null, vectorOfEnums: null, signedEnum: Race{value: -1}, '
644 expect(example.Race.values, same(example.Race.values));
/third_party/flatbuffers/tests/
Dmonster_test_my_game.example_generated.dart56 class Race {
58 const Race._(this.value);
60 factory Race.fromValue(int value) {
63 throw new StateError('Invalid value $value for bit flag enum Race');
72 static const Race None = const Race._(-1);
73 static const Race Human = const Race._(0);
74 static const Race Dwarf = const Race._(1);
75 static const Race Elf = const Race._(2);
76 static const Map<int,Race> values = {-1: None,0: Human,1: Dwarf,2: Elf,};
78 static const fb.Reader<Race> reader = const _RaceReader();
[all …]
Dmonster_test_generated.rs321 pub const ENUM_VALUES_RACE: [Race; 4] = [
322 Race::None,
323 Race::Human,
324 Race::Dwarf,
325 Race::Elf,
330 pub struct Race(pub i8); struct
332 impl Race { impl
357 impl std::fmt::Debug for Race { implementation
366 impl<'a> flatbuffers::Follow<'a> for Race { implementation
377 impl flatbuffers::Push for Race { implementation
[all …]
Dmonster_test.fbs27 enum Race:byte {
124 signed_enum:Race = None (id:48);
Dmonster_test_generated.lobster15 enum Race:
386 return Race(buf_.flatbuffers_field_int8(pos_, 100, -1))
544 def add_signed_enum(signed_enum:Race):
Dmonster_test_generated.h157 enum Race : int8_t { enum
166 inline const Race (&EnumValuesRace())[4] { in EnumValuesRace()
167 static const Race values[] = { in EnumValuesRace()
187 inline const char *EnumNameRace(Race e) { in EnumNameRace()
1255 MyGame::Example::Race signed_enum = MyGame::Example::Race_None;
1691 MyGame::Example::Race signed_enum() const {
1692 return static_cast<MyGame::Example::Race>(GetField<int8_t>(VT_SIGNED_ENUM, -1));
1694 bool mutate_signed_enum(MyGame::Example::Race _signed_enum) {
1973 void add_signed_enum(MyGame::Example::Race signed_enum) {
2043 MyGame::Example::Race signed_enum = MyGame::Example::Race_None,
[all …]
/third_party/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffers.Core.Test.csproj62 <Compile Include="..\MyGame\Example\Race.cs">
63 <Link>MyGame\Example\Race.cs</Link>
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h127 enum class Race : int8_t { enum
136 inline const Race (&EnumValuesRace())[4] { in EnumValuesRace()
137 static const Race values[] = { in EnumValuesRace()
138 Race::None, in EnumValuesRace()
139 Race::Human, in EnumValuesRace()
140 Race::Dwarf, in EnumValuesRace()
141 Race::Elf in EnumValuesRace()
157 inline const char *EnumNameRace(Race e) { in EnumNameRace()
158 if (flatbuffers::IsOutRange(e, Race::None, Race::Elf)) return ""; in EnumNameRace()
159 const size_t index = static_cast<size_t>(e) - static_cast<size_t>(Race::None); in EnumNameRace()
[all …]
/third_party/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs185 signed_enum: Race::None, in object_api_defaults()
498 assert_eq!(-1, my_game::example::Race::ENUM_MIN); in enum_constants_are_public()
499 assert_eq!(2, my_game::example::Race::ENUM_MAX); in enum_constants_are_public()
500 assert_eq!(my_game::example::Race::ENUM_VALUES, [ in enum_constants_are_public()
501 my_game::example::Race::None, in enum_constants_are_public()
502 my_game::example::Race::Human, in enum_constants_are_public()
503 my_game::example::Race::Dwarf, in enum_constants_are_public()
504 my_game::example::Race::Elf, in enum_constants_are_public()

12