Home
last modified time | relevance | path

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

12

/external/flatbuffers/tests/MyGame/Example/
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()
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 …]
DTestSimpleTableWithEnum.lua7 local TestSimpleTableWithEnum = {} -- the module
10 function TestSimpleTableWithEnum.New()
15 function TestSimpleTableWithEnum.GetRootAsTestSimpleTableWithEnum(buf, offset)
17 local o = TestSimpleTableWithEnum.New()
31 function TestSimpleTableWithEnum.Start(builder) builder:StartObject(1) end
32 function TestSimpleTableWithEnum.AddColor(builder, color) builder:PrependUint8Slot(0, color, 2) end
33 function TestSimpleTableWithEnum.End(builder) return builder:EndObject() end
35 return TestSimpleTableWithEnum -- return the module
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 func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT) { argument
47 func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table { argument
51 func (rcv *TestSimpleTableWithEnum) Color() Color { argument
59 func (rcv *TestSimpleTableWithEnum) MutateColor(n Color) bool { argument
DTestSimpleTableWithEnum.kt11 class TestSimpleTableWithEnum : Table() { class
16 fun __assign(_i: Int, _bb: ByteBuffer) : TestSimpleTableWithEnum { in __assign()
36 …eTableWithEnum(_bb: ByteBuffer): TestSimpleTableWithEnum = getRootAsTestSimpleTableWithEnum(_bb, T… in validateVersion()
37 …RootAsTestSimpleTableWithEnum(_bb: ByteBuffer, obj: TestSimpleTableWithEnum): TestSimpleTableWithE… in validateVersion()
DTestSimpleTableWithEnum.php11 class TestSimpleTableWithEnum extends Table class
15 * @return TestSimpleTableWithEnum
19 $obj = new TestSimpleTableWithEnum();
41 * @return TestSimpleTableWithEnum
70 * @return TestSimpleTableWithEnum
DAny.py8 TestSimpleTableWithEnum = 2 variable in Any
19 if unionType == Any().TestSimpleTableWithEnum:
20 import MyGame.Example.TestSimpleTableWithEnum
21 …return MyGame.Example.TestSimpleTableWithEnum.TestSimpleTableWithEnumT.InitFromBuf(table.Bytes, ta…
DAny.cs13 TestSimpleTableWithEnum = 2, enumerator
35 …case Any.TestSimpleTableWithEnum: return MyGame.Example.TestSimpleTableWithEnum.Pack(builder, _o.A… in Pack()
77 …case Any.TestSimpleTableWithEnum: _o.Value = serializer.Deserialize<MyGame.Example.TestSimpleTable… in ReadJson()
DTestSimpleTableWithEnum.py9 class TestSimpleTableWithEnum(object): class
15 x = TestSimpleTableWithEnum()
47 testSimpleTableWithEnum = TestSimpleTableWithEnum()
DAny.php10 const TestSimpleTableWithEnum = 2; define in MyGame\\Example\\Any
16 Any::TestSimpleTableWithEnum=>"TestSimpleTableWithEnum",
DAnyUniqueAliases.py20 import MyGame.Example.TestSimpleTableWithEnum
21 …return MyGame.Example.TestSimpleTableWithEnum.TestSimpleTableWithEnumT.InitFromBuf(table.Bytes, ta…
DAny.lua8 TestSimpleTableWithEnum = 2,
DAny.java9 public static final byte TestSimpleTableWithEnum = 2; field in Any
DAny.kt11 const val TestSimpleTableWithEnum: UByte = 2u constant
DAny.go69 x := TestSimpleTableWithEnum{_tab: table}
DAnyUniqueAliases.go69 x := TestSimpleTableWithEnum{_tab: table}
DAnyUniqueAliases.cs35 …case AnyUniqueAliases.TS: return MyGame.Example.TestSimpleTableWithEnum.Pack(builder, _o.AsTS()).V… in Pack()
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h28 struct TestSimpleTableWithEnum;
162 TestSimpleTableWithEnum = 2, enumerator
172 Any::TestSimpleTableWithEnum, in EnumValuesAny()
203 template<> struct AnyTraits<MyGame::Example::TestSimpleTableWithEnum> {
204 static const Any enum_value = Any::TestSimpleTableWithEnum;
252 return type == Any::TestSimpleTableWithEnum ?
256 return type == Any::TestSimpleTableWithEnum ?
316 template<> struct AnyUniqueAliasesTraits<MyGame::Example::TestSimpleTableWithEnum> {
724 typedef TestSimpleTableWithEnum TableType;
731 struct TestSimpleTableWithEnum FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
[all …]
/external/flatbuffers/tests/
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) {
Dmonster_test_generated.rs326 TestSimpleTableWithEnum = 2, enumerator
369 Any::TestSimpleTableWithEnum,
757 pub struct TestSimpleTableWithEnum<'a> { struct
761 impl<'a> flatbuffers::Follow<'a> for TestSimpleTableWithEnum<'a> { implementation
762 type Inner = TestSimpleTableWithEnum<'a>;
771 impl<'a> TestSimpleTableWithEnum<'a> { impl
778 TestSimpleTableWithEnum { in init_from_table()
785 …args: &'args TestSimpleTableWithEnumArgs) -> flatbuffers::WIPOffset<TestSimpleTableWithEnum<'bldr>… in create()
795 self._tab.get::<Color>(TestSimpleTableWithEnum::VT_COLOR, Some(Color::Green)).unwrap() in color()
817 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
[all …]
Dmonster_test_generated.js93 TestSimpleTableWithEnum: 2, property
374 MyGame.Example.TestSimpleTableWithEnum = function() { class in MyGame.Example
391 MyGame.Example.TestSimpleTableWithEnum.prototype.__init = function(i, bb) {
402 MyGame.Example.TestSimpleTableWithEnum.getRootAsTestSimpleTableWithEnum = function(bb, obj) {
403 …return (obj || new MyGame.Example.TestSimpleTableWithEnum).__init(bb.readInt32(bb.position()) + bb…
411 MyGame.Example.TestSimpleTableWithEnum.getSizePrefixedRootAsTestSimpleTableWithEnum = function(bb, …
413 …return (obj || new MyGame.Example.TestSimpleTableWithEnum).__init(bb.readInt32(bb.position()) + bb…
419 MyGame.Example.TestSimpleTableWithEnum.prototype.color = function() {
428 MyGame.Example.TestSimpleTableWithEnum.prototype.mutate_color = function(value) {
442 MyGame.Example.TestSimpleTableWithEnum.startTestSimpleTableWithEnum = function(builder) {
[all …]
Dmonster_test_generated.h28 struct TestSimpleTableWithEnum;
231 template<> struct AnyTraits<MyGame::Example::TestSimpleTableWithEnum> {
373 template<> struct AnyUniqueAliasesTraits<MyGame::Example::TestSimpleTableWithEnum> {
882 typedef TestSimpleTableWithEnum TableType;
899 struct TestSimpleTableWithEnum FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
921 …static flatbuffers::Offset<TestSimpleTableWithEnum> Pack(flatbuffers::FlatBufferBuilder &_fbb, con…
925 typedef TestSimpleTableWithEnum Table;
929 fbb_.AddElement<uint8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<uint8_t>(color), 2);
936 flatbuffers::Offset<TestSimpleTableWithEnum> Finish() {
938 auto o = flatbuffers::Offset<TestSimpleTableWithEnum>(end);
[all …]
Dmonster_test_generated.ts42 TestSimpleTableWithEnum= 2, enumerator
271 export class TestSimpleTableWithEnum { class
280 __init(i:number, bb:flatbuffers.ByteBuffer):TestSimpleTableWithEnum {
291 …SimpleTableWithEnum(bb:flatbuffers.ByteBuffer, obj?:TestSimpleTableWithEnum):TestSimpleTableWithEn…
292 …return (obj || new TestSimpleTableWithEnum()).__init(bb.readInt32(bb.position()) + bb.position(), …
300 …SimpleTableWithEnum(bb:flatbuffers.ByteBuffer, obj?:TestSimpleTableWithEnum):TestSimpleTableWithEn…
302 …return (obj || new TestSimpleTableWithEnum()).__init(bb.readInt32(bb.position()) + bb.position(), …
353 TestSimpleTableWithEnum.startTestSimpleTableWithEnum(builder);
354 TestSimpleTableWithEnum.addColor(builder, color);
355 return TestSimpleTableWithEnum.endTestSimpleTableWithEnum(builder);
Dmonster_test_my_game.example_generated.dart115 static const AnyTypeId TestSimpleTableWithEnum = const AnyTypeId._(2);
117 static get values => {0: NONE,1: Monster,2: TestSimpleTableWithEnum,3: MyGame_Example2_Monster,};
295 class TestSimpleTableWithEnum {
296 TestSimpleTableWithEnum._(this._bc, this._bcOffset);
297 factory TestSimpleTableWithEnum(List<int> bytes) {
302 static const fb.Reader<TestSimpleTableWithEnum> reader = const _TestSimpleTableWithEnumReader();
311 return 'TestSimpleTableWithEnum{color: $color}';
315 class _TestSimpleTableWithEnumReader extends fb.TableReader<TestSimpleTableWithEnum> {
319 TestSimpleTableWithEnum createObject(fb.BufferContext bc, int offset) =>
320 new TestSimpleTableWithEnum._(bc, offset);
[all …]
/external/flatbuffers/dart/test/
Dmonster_test_my_game.example_generated.dart117 static const AnyTypeId TestSimpleTableWithEnum = const AnyTypeId._(2);
119 static get values => {0: NONE,1: Monster,2: TestSimpleTableWithEnum,3: MyGame_Example2_Monster,};
297 class TestSimpleTableWithEnum {
298 TestSimpleTableWithEnum._(this._bc, this._bcOffset);
299 factory TestSimpleTableWithEnum(List<int> bytes) {
304 static const fb.Reader<TestSimpleTableWithEnum> reader = const _TestSimpleTableWithEnumReader();
313 return 'TestSimpleTableWithEnum{color: $color}';
317 class _TestSimpleTableWithEnumReader extends fb.TableReader<TestSimpleTableWithEnum> {
321 TestSimpleTableWithEnum createObject(fb.BufferContext bc, int offset) =>
322 new TestSimpleTableWithEnum._(bc, offset);
[all …]

12