Home
last modified time | relevance | path

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

/external/flatbuffers/tests/MyGame/Example/
DTestSimpleTableWithEnum.cs11 internal partial struct TestSimpleTableWithEnum : IFlatbufferObject struct
15 …ic TestSimpleTableWithEnum GetRootAsTestSimpleTableWithEnum(ByteBuffer _bb) { return GetRootAsTest… in GetRootAsTestSimpleTableWithEnum() argument
16 …public static TestSimpleTableWithEnum GetRootAsTestSimpleTableWithEnum(ByteBuffer _bb, TestSimpleT… in GetRootAsTestSimpleTableWithEnum() argument
18 public TestSimpleTableWithEnum __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign() argument
23 …public static Offset<TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(FlatBufferBuilder buil… in CreateTestSimpleTableWithEnum() argument
26 TestSimpleTableWithEnum.AddColor(builder, color); in CreateTestSimpleTableWithEnum()
27 return TestSimpleTableWithEnum.EndTestSimpleTableWithEnum(builder); in CreateTestSimpleTableWithEnum()
32 …public static Offset<TestSimpleTableWithEnum> EndTestSimpleTableWithEnum(FlatBufferBuilder builder… in EndTestSimpleTableWithEnum() argument
34 return new Offset<TestSimpleTableWithEnum>(o); in EndTestSimpleTableWithEnum()
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:PrependInt8Slot(0, color, 2) end
33 function TestSimpleTableWithEnum.End(builder) return builder:EndObject() end
35 return TestSimpleTableWithEnum -- return the module
DTestSimpleTableWithEnum.java11 final class TestSimpleTableWithEnum extends Table { class
12 …ic TestSimpleTableWithEnum getRootAsTestSimpleTableWithEnum(ByteBuffer _bb) { return getRootAsTest… in getRootAsTestSimpleTableWithEnum()
13 …public static TestSimpleTableWithEnum getRootAsTestSimpleTableWithEnum(ByteBuffer _bb, TestSimpleT… in getRootAsTestSimpleTableWithEnum()
15 public TestSimpleTableWithEnum __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
23 TestSimpleTableWithEnum.addColor(builder, color); in createTestSimpleTableWithEnum()
24 return TestSimpleTableWithEnum.endTestSimpleTableWithEnum(builder); in createTestSimpleTableWithEnum()
DTestSimpleTableWithEnum.go9 type TestSimpleTableWithEnum struct { struct
13 …etRootAsTestSimpleTableWithEnum(buf []byte, offset flatbuffers.UOffsetT) *TestSimpleTableWithEnum {
15 x := &TestSimpleTableWithEnum{}
20 func (rcv *TestSimpleTableWithEnum) Init(buf []byte, i flatbuffers.UOffsetT) { argument
25 func (rcv *TestSimpleTableWithEnum) Table() flatbuffers.Table { argument
29 func (rcv *TestSimpleTableWithEnum) Color() Color { argument
37 func (rcv *TestSimpleTableWithEnum) MutateColor(n Color) bool { argument
DTestSimpleTableWithEnum.php11 class TestSimpleTableWithEnum extends Table class
15 * @return TestSimpleTableWithEnum
19 $obj = new TestSimpleTableWithEnum();
41 * @return TestSimpleTableWithEnum
70 * @return TestSimpleTableWithEnum
DAny.php10 const TestSimpleTableWithEnum = 2; define in MyGame\\Example\\Any
16 Any::TestSimpleTableWithEnum=>"TestSimpleTableWithEnum",
DTestSimpleTableWithEnum.py7 class TestSimpleTableWithEnum(object): class
13 x = TestSimpleTableWithEnum()
DAny.lua8 TestSimpleTableWithEnum = 2,
DAny.py8 TestSimpleTableWithEnum = 2 variable in Any
DAny.cs12 TestSimpleTableWithEnum = 2, enumerator
DAny.java9 public static final byte TestSimpleTableWithEnum = 2; field in Any
/external/flatbuffers/tests/
Dmonster_test.fbs19 union Any { Monster, TestSimpleTableWithEnum, MyGame.Example2.Monster }
21 union AnyUniqueAliases { M: Monster, T: TestSimpleTableWithEnum, M2: MyGame.Example2.Monster }
26 table TestSimpleTableWithEnum (csharp_partial, private) {
Dmonster_test_generated.h26 struct TestSimpleTableWithEnum;
174 template<> struct AnyTraits<TestSimpleTableWithEnum> {
310 template<> struct AnyUniqueAliasesTraits<TestSimpleTableWithEnum> {
770 typedef TestSimpleTableWithEnum TableType;
782 struct TestSimpleTableWithEnum FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
803 …static flatbuffers::Offset<TestSimpleTableWithEnum> Pack(flatbuffers::FlatBufferBuilder &_fbb, con…
810 fbb_.AddElement<int8_t>(TestSimpleTableWithEnum::VT_COLOR, static_cast<int8_t>(color), 2);
817 flatbuffers::Offset<TestSimpleTableWithEnum> Finish() {
819 auto o = flatbuffers::Offset<TestSimpleTableWithEnum>(end);
824 inline flatbuffers::Offset<TestSimpleTableWithEnum> CreateTestSimpleTableWithEnum(
[all …]
Dmonster_test_generated.rs245 TestSimpleTableWithEnum = 2, enumerator
288 Any::TestSimpleTableWithEnum,
664 pub struct TestSimpleTableWithEnum<'a> { struct
668 impl<'a> flatbuffers::Follow<'a> for TestSimpleTableWithEnum<'a> { implementation
669 type Inner = TestSimpleTableWithEnum<'a>;
678 impl<'a> TestSimpleTableWithEnum<'a> { impl
681 TestSimpleTableWithEnum { in init_from_table()
688 …args: &'args TestSimpleTableWithEnumArgs) -> flatbuffers::WIPOffset<TestSimpleTableWithEnum<'bldr>… in create()
698 self._tab.get::<Color>(TestSimpleTableWithEnum::VT_COLOR, Some(Color::Green)).unwrap() in color()
720 self.fbb_.push_slot::<Color>(TestSimpleTableWithEnum::VT_COLOR, color, Color::Green); in add_color()
[all …]
Dmonster_test_generated.js42 TestSimpleTableWithEnum: 2, 2: 'TestSimpleTableWithEnum', property
273 MyGame.Example.TestSimpleTableWithEnum = function() { class in MyGame.Example
290 MyGame.Example.TestSimpleTableWithEnum.prototype.__init = function(i, bb) {
301 MyGame.Example.TestSimpleTableWithEnum.getRootAsTestSimpleTableWithEnum = function(bb, obj) {
302 …return (obj || new MyGame.Example.TestSimpleTableWithEnum).__init(bb.readInt32(bb.position()) + bb…
308 MyGame.Example.TestSimpleTableWithEnum.prototype.color = function() {
317 MyGame.Example.TestSimpleTableWithEnum.prototype.mutate_color = function(value) {
331 MyGame.Example.TestSimpleTableWithEnum.startTestSimpleTableWithEnum = function(builder) {
339 MyGame.Example.TestSimpleTableWithEnum.addColor = function(builder, color) {
347 MyGame.Example.TestSimpleTableWithEnum.endTestSimpleTableWithEnum = function(builder) {
[all …]
Dmonster_test_my_game.example_generated.dart68 static const AnyTypeId TestSimpleTableWithEnum = const AnyTypeId._(2);
70 static get values => {0: NONE,1: Monster,2: TestSimpleTableWithEnum,3: MyGame_Example2_Monster,};
248 class TestSimpleTableWithEnum {
249 TestSimpleTableWithEnum._(this._bc, this._bcOffset);
250 factory TestSimpleTableWithEnum(List<int> bytes) {
255 static const fb.Reader<TestSimpleTableWithEnum> reader = const _TestSimpleTableWithEnumReader();
264 return 'TestSimpleTableWithEnum{color: $color}';
268 class _TestSimpleTableWithEnumReader extends fb.TableReader<TestSimpleTableWithEnum> {
272 TestSimpleTableWithEnum createObject(fb.BufferContext bc, int offset) =>
273 new TestSimpleTableWithEnum._(bc, offset);
[all …]
Dmonster_test_generated.ts20 TestSimpleTableWithEnum= 2, enumerator
229 export class TestSimpleTableWithEnum { class
238 __init(i:number, bb:flatbuffers.ByteBuffer):TestSimpleTableWithEnum {
249 …SimpleTableWithEnum(bb:flatbuffers.ByteBuffer, obj?:TestSimpleTableWithEnum):TestSimpleTableWithEn…
250 …return (obj || new TestSimpleTableWithEnum).__init(bb.readInt32(bb.position()) + bb.position(), bb…
301 TestSimpleTableWithEnum.startTestSimpleTableWithEnum(builder);
302 TestSimpleTableWithEnum.addColor(builder, color);
303 return TestSimpleTableWithEnum.endTestSimpleTableWithEnum(builder);
Dmonster_test_generated.lobster42 struct TestSimpleTableWithEnum
93 struct TestSimpleTableWithEnum : flatbuffers_handle
97 def GetRootAsTestSimpleTableWithEnum(buf:string): TestSimpleTableWithEnum { buf, buf.flatbuffers_in…
/external/flatbuffers/dart/test/
Dmonster_test_my_game.example_generated.dart70 static const AnyTypeId TestSimpleTableWithEnum = const AnyTypeId._(2);
72 static get values => {0: NONE,1: Monster,2: TestSimpleTableWithEnum,3: MyGame_Example2_Monster,};
250 class TestSimpleTableWithEnum {
251 TestSimpleTableWithEnum._(this._bc, this._bcOffset);
252 factory TestSimpleTableWithEnum(List<int> bytes) {
257 static const fb.Reader<TestSimpleTableWithEnum> reader = const _TestSimpleTableWithEnumReader();
266 return 'TestSimpleTableWithEnum{color: $color}';
270 class _TestSimpleTableWithEnumReader extends fb.TableReader<TestSimpleTableWithEnum> {
274 TestSimpleTableWithEnum createObject(fb.BufferContext bc, int offset) =>
275 new TestSimpleTableWithEnum._(bc, offset);
[all …]