Home
last modified time | relevance | path

Searched refs:TestSimpleTableWithEnum (Results 1 – 25 of 52) sorted by relevance

123

/aosp_15_r20/external/flatbuffers/tests/my-game/example/
H A Dtest-simple-table-with-enum.ts8 export class TestSimpleTableWithEnum { class
11 __init(i:number, bb:flatbuffers.ByteBuffer):TestSimpleTableWithEnum {
17 …SimpleTableWithEnum(bb:flatbuffers.ByteBuffer, obj?:TestSimpleTableWithEnum):TestSimpleTableWithEn…
18 …return (obj || new TestSimpleTableWithEnum()).__init(bb.readInt32(bb.position()) + bb.position(), …
21 …SimpleTableWithEnum(bb:flatbuffers.ByteBuffer, obj?:TestSimpleTableWithEnum):TestSimpleTableWithEn…
23 …return (obj || new TestSimpleTableWithEnum()).__init(bb.readInt32(bb.position()) + bb.position(), …
60 TestSimpleTableWithEnum.startTestSimpleTableWithEnum(builder);
61 TestSimpleTableWithEnum.addColor(builder, color);
62 return TestSimpleTableWithEnum.endTestSimpleTableWithEnum(builder);
69 static deserialize(buffer: Uint8Array):TestSimpleTableWithEnum {
[all …]
H A Dany.ts5 import { TestSimpleTableWithEnum, TestSimpleTableWithEnumT } from '../../my-game/example/test-simpl…
11 TestSimpleTableWithEnum = 2, enumerator
17 …bj:Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum) => Monster|MyGame_Example2_Monster|Tes…
18 ): Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum|null {
22 …e 'TestSimpleTableWithEnum': return accessor(new TestSimpleTableWithEnum())! as TestSimpleTableWit…
30 …bj:Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum) => Monster|MyGame_Example2_Monster|Tes…
32 ): Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum|null {
36 …SimpleTableWithEnum': return accessor(index, new TestSimpleTableWithEnum())! as TestSimpleTableWit…
H A Dany-unique-aliases.ts5 import { TestSimpleTableWithEnum, TestSimpleTableWithEnumT } from '../../my-game/example/test-simpl…
17 …bj:Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum) => Monster|MyGame_Example2_Monster|Tes…
18 ): Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum|null {
22 case 'TS': return accessor(new TestSimpleTableWithEnum())! as TestSimpleTableWithEnum;
30 …bj:Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum) => Monster|MyGame_Example2_Monster|Tes…
32 ): Monster|MyGame_Example2_Monster|TestSimpleTableWithEnum|null {
36 case 'TS': return accessor(index, new TestSimpleTableWithEnum())! as TestSimpleTableWithEnum;
H A Dtest-simple-table-with-enum.js4 export class TestSimpleTableWithEnum { class
15 …return (obj || new TestSimpleTableWithEnum()).__init(bb.readInt32(bb.position()) + bb.position(), …
19 …return (obj || new TestSimpleTableWithEnum()).__init(bb.readInt32(bb.position()) + bb.position(), …
47 TestSimpleTableWithEnum.startTestSimpleTableWithEnum(builder);
48 TestSimpleTableWithEnum.addColor(builder, color);
49 return TestSimpleTableWithEnum.endTestSimpleTableWithEnum(builder);
55 …return TestSimpleTableWithEnum.getRootAsTestSimpleTableWithEnum(new flatbuffers.ByteBuffer(buffer)…
69 return TestSimpleTableWithEnum.createTestSimpleTableWithEnum(builder, this.color);
H A Dany-unique-aliases.js4 import { TestSimpleTableWithEnum } from '../../my-game/example/test-simple-table-with-enum';
16 case 'TS': return accessor(new TestSimpleTableWithEnum());
25 case 'TS': return accessor(index, new TestSimpleTableWithEnum());
H A Dany.js4 import { TestSimpleTableWithEnum } from '../../my-game/example/test-simple-table-with-enum';
16 case 'TestSimpleTableWithEnum': return accessor(new TestSimpleTableWithEnum());
25 case 'TestSimpleTableWithEnum': return accessor(index, new TestSimpleTableWithEnum());
/aosp_15_r20/external/flatbuffers/tests/MyGame/Example/
H A DTestSimpleTableWithEnum.cs12 internal partial struct TestSimpleTableWithEnum : IFlatbufferObject struct
17 …ic TestSimpleTableWithEnum GetRootAsTestSimpleTableWithEnum(ByteBuffer _bb) { return GetRootAsTest… in GetRootAsTestSimpleTableWithEnum()
18 …public static TestSimpleTableWithEnum GetRootAsTestSimpleTableWithEnum(ByteBuffer _bb, TestSimpleT… in GetRootAsTestSimpleTableWithEnum()
20 public TestSimpleTableWithEnum __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
25 …public static Offset<MyGame.Example.TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(FlatBuf… in CreateTestSimpleTableWithEnum() argument
28 TestSimpleTableWithEnum.AddColor(builder, color); in CreateTestSimpleTableWithEnum()
29 return TestSimpleTableWithEnum.EndTestSimpleTableWithEnum(builder); in CreateTestSimpleTableWithEnum()
34 …public static Offset<MyGame.Example.TestSimpleTableWithEnum> EndTestSimpleTableWithEnum(FlatBuffer… in EndTestSimpleTableWithEnum() argument
36 return new Offset<MyGame.Example.TestSimpleTableWithEnum>(o); in EndTestSimpleTableWithEnum()
46 …public static Offset<MyGame.Example.TestSimpleTableWithEnum> Pack(FlatBufferBuilder builder, TestS… in Pack() argument
[all …]
H A DTestSimpleTableWithEnum.java11 final class TestSimpleTableWithEnum extends Table { class
13 …ic TestSimpleTableWithEnum getRootAsTestSimpleTableWithEnum(ByteBuffer _bb) { return getRootAsTest… in getRootAsTestSimpleTableWithEnum()
14 …public static TestSimpleTableWithEnum getRootAsTestSimpleTableWithEnum(ByteBuffer _bb, TestSimpleT… in getRootAsTestSimpleTableWithEnum()
16 public TestSimpleTableWithEnum __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
24 TestSimpleTableWithEnum.addColor(builder, color); in createTestSimpleTableWithEnum()
25 return TestSimpleTableWithEnum.endTestSimpleTableWithEnum(builder); in createTestSimpleTableWithEnum()
38 public TestSimpleTableWithEnum get(int j) { return get(new TestSimpleTableWithEnum(), j); } in get()
39 …public TestSimpleTableWithEnum get(TestSimpleTableWithEnum obj, int j) { return obj.__assign(__in… in get()
H A DTestSimpleTableWithEnum.go20 func (rcv *TestSimpleTableWithEnum) UnPackTo(t *TestSimpleTableWithEnumT) {
24 func (rcv *TestSimpleTableWithEnum) UnPack() *TestSimpleTableWithEnumT {
31 type TestSimpleTableWithEnum struct { struct
35 …etRootAsTestSimpleTableWithEnum(buf []byte, offset flatbuffers.UOffsetT) *TestSimpleTableWithEnum {
37 x := &TestSimpleTableWithEnum{}
42 …edRootAsTestSimpleTableWithEnum(buf []byte, offset flatbuffers.UOffsetT) *TestSimpleTableWithEnum {
44 x := &TestSimpleTableWithEnum{}
49 func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT) { argument
54 func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table { argument
58 func (rcv *TestSimpleTableWithEnum) Color() Color { argument
[all …]
H A DTestSimpleTableWithEnum.lua15 local TestSimpleTableWithEnum = {}
18 function TestSimpleTableWithEnum.New()
36 function TestSimpleTableWithEnum.Start(builder)
40 function TestSimpleTableWithEnum.AddColor(builder, color)
44 function TestSimpleTableWithEnum.End(builder)
48 return TestSimpleTableWithEnum
H A DTestSimpleTableWithEnum.kt10 class TestSimpleTableWithEnum : Table() { class
15 fun __assign(_i: Int, _bb: ByteBuffer) : TestSimpleTableWithEnum { in __assign()
35 …eTableWithEnum(_bb: ByteBuffer): TestSimpleTableWithEnum = getRootAsTestSimpleTableWithEnum(_bb, T… in validateVersion()
36 …RootAsTestSimpleTableWithEnum(_bb: ByteBuffer, obj: TestSimpleTableWithEnum): TestSimpleTableWithE… in validateVersion()
H A DTestSimpleTableWithEnum.php11 class TestSimpleTableWithEnum extends Table class
15 * @return TestSimpleTableWithEnum
19 $obj = new TestSimpleTableWithEnum();
41 * @return TestSimpleTableWithEnum
70 * @return TestSimpleTableWithEnum
H A DAny.py8 TestSimpleTableWithEnum = 2 variable in Any
18 if unionType == Any().TestSimpleTableWithEnum:
19 import MyGame.Example.TestSimpleTableWithEnum
20 …return MyGame.Example.TestSimpleTableWithEnum.TestSimpleTableWithEnumT.InitFromBuf(table.Bytes, ta…
H A DAny.cs13 TestSimpleTableWithEnum = 2, enumerator
30 …numT _testsimpletablewithenum) { return new AnyUnion{ Type = Any.TestSimpleTableWithEnum, Value = … in FromTestSimpleTableWithEnum()
38 …case Any.TestSimpleTableWithEnum: return MyGame.Example.TestSimpleTableWithEnum.Pack(builder, _o.A… in Pack()
80 …case Any.TestSimpleTableWithEnum: _o.Value = serializer.Deserialize<MyGame.Example.TestSimpleTable… in ReadJson()
H A DTestSimpleTableWithEnum.py9 class TestSimpleTableWithEnum(object): class
15 x = TestSimpleTableWithEnum()
56 testSimpleTableWithEnum = TestSimpleTableWithEnum()
H A DAny.php10 const TestSimpleTableWithEnum = 2; define in MyGame\\Example\\Any
16 Any::TestSimpleTableWithEnum=>"TestSimpleTableWithEnum",
H A DAnyUniqueAliases.py19 import MyGame.Example.TestSimpleTableWithEnum
20 …return MyGame.Example.TestSimpleTableWithEnum.TestSimpleTableWithEnumT.InitFromBuf(table.Bytes, ta…
/aosp_15_r20/external/flatbuffers/tests/monster_test_serialize/my_game/example/
H A Dtest_simple_table_with_enum_generated.rs17 pub struct TestSimpleTableWithEnum<'a> { struct
21 impl<'a> flatbuffers::Follow<'a> for TestSimpleTableWithEnum<'a> { implementation
22 type Inner = TestSimpleTableWithEnum<'a>;
29 impl<'a> TestSimpleTableWithEnum<'a> { impl
38 TestSimpleTableWithEnum { _tab: table } in init_from_table()
44 ) -> flatbuffers::WIPOffset<TestSimpleTableWithEnum<'bldr>> { in create()
59 self._tab.get::<Color>(TestSimpleTableWithEnum::VT_COLOR, Some(Color::Green)).unwrap() in color()
63 impl flatbuffers::Verifiable for TestSimpleTableWithEnum<'_> { implementation
87 impl Serialize for TestSimpleTableWithEnum<'_> { implementation
105 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
[all …]
H A Dany_generated.rs23 Any::TestSimpleTableWithEnum,
34 pub const TestSimpleTableWithEnum: Self = Self(2); constant
42 Self::TestSimpleTableWithEnum,
50 Self::TestSimpleTableWithEnum => Some("TestSimpleTableWithEnum"), in variant_name()
126 TestSimpleTableWithEnum(Box<TestSimpleTableWithEnumT>), enumerator
139 Self::TestSimpleTableWithEnum(_) => Any::TestSimpleTableWithEnum, in any_type()
147 Self::TestSimpleTableWithEnum(v) => Some(v.pack(fbb).as_union_value()), in pack()
174 if let Self::TestSimpleTableWithEnum(_) = self { in take_test_simple_table_with_enum()
176 if let Self::TestSimpleTableWithEnum(w) = v { in take_test_simple_table_with_enum()
187 if let Self::TestSimpleTableWithEnum(v) = self { Some(v.as_ref()) } else { None } in as_test_simple_table_with_enum()
[all …]
/aosp_15_r20/external/flatbuffers/tests/monster_test/my_game/example/
H A Dtest_simple_table_with_enum_generated.rs15 pub struct TestSimpleTableWithEnum<'a> { struct
19 impl<'a> flatbuffers::Follow<'a> for TestSimpleTableWithEnum<'a> { argument
20 type Inner = TestSimpleTableWithEnum<'a>;
27 impl<'a> TestSimpleTableWithEnum<'a> { implementation
36 TestSimpleTableWithEnum { _tab: table } in init_from_table()
42 ) -> flatbuffers::WIPOffset<TestSimpleTableWithEnum<'bldr>> { in create()
57 self._tab.get::<Color>(TestSimpleTableWithEnum::VT_COLOR, Some(Color::Green)).unwrap() in color()
61 impl flatbuffers::Verifiable for TestSimpleTableWithEnum<'_> { implementation
92 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
103 pub fn finish(self) -> flatbuffers::WIPOffset<TestSimpleTableWithEnum<'a>> { in finish()
[all …]
H A Dany_generated.rs21 Any::TestSimpleTableWithEnum,
32 pub const TestSimpleTableWithEnum: Self = Self(2); constant
40 Self::TestSimpleTableWithEnum,
48 Self::TestSimpleTableWithEnum => Some("TestSimpleTableWithEnum"), in variant_name()
115 TestSimpleTableWithEnum(Box<TestSimpleTableWithEnumT>), enumerator
128 Self::TestSimpleTableWithEnum(_) => Any::TestSimpleTableWithEnum, in any_type()
136 Self::TestSimpleTableWithEnum(v) => Some(v.pack(fbb).as_union_value()), in pack()
163 if let Self::TestSimpleTableWithEnum(_) = self { in take_test_simple_table_with_enum()
165 if let Self::TestSimpleTableWithEnum(w) = v { in take_test_simple_table_with_enum()
176 if let Self::TestSimpleTableWithEnum(v) = self { Some(v.as_ref()) } else { None } in as_test_simple_table_with_enum()
[all …]
/aosp_15_r20/external/flatbuffers/tests/cpp17/generated_cpp17/
H A Dmonster_test_generated.h36 struct TestSimpleTableWithEnum;
205 TestSimpleTableWithEnum = 2, enumerator
215 Any::TestSimpleTableWithEnum, in EnumValuesAny()
246 template<> struct AnyTraits<MyGame::Example::TestSimpleTableWithEnum> {
247 static const Any enum_value = Any::TestSimpleTableWithEnum;
263 static const Any enum_value = Any::TestSimpleTableWithEnum;
309 return type == Any::TestSimpleTableWithEnum ?
313 return type == Any::TestSimpleTableWithEnum ?
373 template<> struct AnyUniqueAliasesTraits<MyGame::Example::TestSimpleTableWithEnum> {
984 typedef TestSimpleTableWithEnum TableType;
[all …]
/aosp_15_r20/external/flatbuffers/dart/test/
H A Dmonster_test.fbs34 union Any { Monster, TestSimpleTableWithEnum, MyGame.Example2.Monster }
36 union AnyUniqueAliases { M: Monster, TS: TestSimpleTableWithEnum, M2: MyGame.Example2.Monster }
41 table TestSimpleTableWithEnum (csharp_partial, private) {
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/filesuffix_only/
H A Dmonster_test_suffix.h36 struct TestSimpleTableWithEnum;
277 template<> struct AnyTraits<MyGame::Example::TestSimpleTableWithEnum> {
433 template<> struct AnyUniqueAliasesTraits<MyGame::Example::TestSimpleTableWithEnum> {
1033 typedef TestSimpleTableWithEnum TableType;
1037 struct TestSimpleTableWithEnum FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1059 …static flatbuffers::Offset<TestSimpleTableWithEnum> Pack(flatbuffers::FlatBufferBuilder &_fbb, con…
1063 typedef TestSimpleTableWithEnum Table;
1067 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1073 flatbuffers::Offset<TestSimpleTableWithEnum> Finish() {
1075 auto o = flatbuffers::Offset<TestSimpleTableWithEnum>(end);
[all …]
/aosp_15_r20/external/flatbuffers/tests/monster_test_suffix/ext_only/
H A Dmonster_test_generated.hpp36 struct TestSimpleTableWithEnum;
277 template<> struct AnyTraits<MyGame::Example::TestSimpleTableWithEnum> {
433 template<> struct AnyUniqueAliasesTraits<MyGame::Example::TestSimpleTableWithEnum> {
1033 typedef TestSimpleTableWithEnum TableType;
1037 struct TestSimpleTableWithEnum FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1059 …static flatbuffers::Offset<TestSimpleTableWithEnum> Pack(flatbuffers::FlatBufferBuilder &_fbb, con…
1063 typedef TestSimpleTableWithEnum Table;
1067 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
1073 flatbuffers::Offset<TestSimpleTableWithEnum> Finish() {
1075 auto o = flatbuffers::Offset<TestSimpleTableWithEnum>(end);
[all …]

123