Home
last modified time | relevance | path

Searched refs:Referrable (Results 1 – 23 of 23) sorted by relevance

/external/flatbuffers/tests/MyGame/Example/
DReferrable.java11 public final class Referrable extends Table { class
13 …public static Referrable getRootAsReferrable(ByteBuffer _bb) { return getRootAsReferrable(_bb, new… in getRootAsReferrable()
14 …public static Referrable getRootAsReferrable(ByteBuffer _bb, Referrable obj) { _bb.order(ByteOrder… in getRootAsReferrable()
16 public Referrable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
24 Referrable.addId(builder, id); in createReferrable()
25 return Referrable.endReferrable(builder); in createReferrable()
42 …public static Referrable __lookup_by_key(Referrable obj, int vectorLocation, long key, ByteBuffer … in __lookup_by_key()
57 return (obj == null ? new Referrable() : obj).__assign(tableOffset, bb); in __lookup_by_key()
66 public Referrable get(int j) { return get(new Referrable(), j); } in get()
67 …public Referrable get(Referrable obj, int j) { return obj.__assign(__indirect(__element(j), bb), … in get()
[all …]
DReferrable.cs12 public struct Referrable : IFlatbufferObject struct
17 …public static Referrable GetRootAsReferrable(ByteBuffer _bb) { return GetRootAsReferrable(_bb, new… in GetRootAsReferrable()
18 …public static Referrable GetRootAsReferrable(ByteBuffer _bb, Referrable obj) { return (obj.__assig… in GetRootAsReferrable()
20 public Referrable __assign(int _i, ByteBuffer _bb) { __init(_i, _bb); return this; } in __assign()
25 public static Offset<MyGame.Example.Referrable> CreateReferrable(FlatBufferBuilder builder, in CreateReferrable() argument
28 Referrable.AddId(builder, id); in CreateReferrable()
29 return Referrable.EndReferrable(builder); in CreateReferrable()
34 public static Offset<MyGame.Example.Referrable> EndReferrable(FlatBufferBuilder builder) { in EndReferrable() argument
36 return new Offset<MyGame.Example.Referrable>(o); in EndReferrable()
39 …torOffset CreateSortedVectorOfReferrable(FlatBufferBuilder builder, Offset<Referrable>[] offsets) { in CreateSortedVectorOfReferrable() argument
[all …]
DReferrable.lua7 local Referrable = {} -- the module
10 function Referrable.New()
15 function Referrable.GetRootAsReferrable(buf, offset)
17 local o = Referrable.New()
31 function Referrable.Start(builder) builder:StartObject(1) end
32 function Referrable.AddId(builder, id) builder:PrependUint64Slot(0, id, 0) end
33 function Referrable.End(builder) return builder:EndObject() end
35 return Referrable -- return the module
DReferrable.go20 func (rcv *Referrable) UnPackTo(t *ReferrableT) {
24 func (rcv *Referrable) UnPack() *ReferrableT {
31 type Referrable struct { struct
35 func GetRootAsReferrable(buf []byte, offset flatbuffers.UOffsetT) *Referrable {
37 x := &Referrable{}
42 func (rcv *Referrable) Init(buf []byte, i flatbuffers.UOffsetT) { argument
47 func (rcv *Referrable) Table() flatbuffers.Table { argument
51 func (rcv *Referrable) Id() uint64 { argument
59 func (rcv *Referrable) MutateId(n uint64) bool { argument
DReferrable.kt11 class Referrable : Table() { class
16 fun __assign(_i: Int, _bb: ByteBuffer) : Referrable { in __assign()
41 … fun getRootAsReferrable(_bb: ByteBuffer): Referrable = getRootAsReferrable(_bb, Referrable()) in validateVersion()
42 fun getRootAsReferrable(_bb: ByteBuffer, obj: Referrable): Referrable { in validateVersion()
57 …fun __lookup_by_key(obj: Referrable?, vectorLocation: Int, key: ULong, bb: ByteBuffer) : Referrabl… in __lookup_by_key()
73 return (obj ?: Referrable()).__assign(tableOffset, bb) in __lookup_by_key()
DReferrable.php11 class Referrable extends Table class
15 * @return Referrable
19 $obj = new Referrable();
41 * @return Referrable
70 * @return Referrable
DMonster.java143 …public MyGame.Example.Referrable vectorOfReferrables(int j) { return vectorOfReferrables(new MyGam… in vectorOfReferrables()
144 …public MyGame.Example.Referrable vectorOfReferrables(MyGame.Example.Referrable obj, int j) { int o… in vectorOfReferrables()
146 …ublic MyGame.Example.Referrable vectorOfReferrablesByKey(long key) { int o = __offset(74); return … in vectorOfReferrablesByKey()
147 …mple.Referrable vectorOfReferrablesByKey(MyGame.Example.Referrable obj, long key) { int o = __offs… in vectorOfReferrablesByKey()
148 …ublic MyGame.Example.Referrable.Vector vectorOfReferrablesVector() { return vectorOfReferrablesVec… in vectorOfReferrablesVector()
149 …public MyGame.Example.Referrable.Vector vectorOfReferrablesVector(MyGame.Example.Referrable.Vector… in vectorOfReferrablesVector()
159 …public MyGame.Example.Referrable vectorOfStrongReferrables(int j) { return vectorOfStrongReferrabl… in vectorOfStrongReferrables()
160 …public MyGame.Example.Referrable vectorOfStrongReferrables(MyGame.Example.Referrable obj, int j) {… in vectorOfStrongReferrables()
162 …ic MyGame.Example.Referrable vectorOfStrongReferrablesByKey(long key) { int o = __offset(80); retu… in vectorOfStrongReferrablesByKey()
163 …e.Referrable vectorOfStrongReferrablesByKey(MyGame.Example.Referrable obj, long key) { int o = __o… in vectorOfStrongReferrablesByKey()
[all …]
DReferrable.py9 class Referrable(object): class
15 x = Referrable()
47 referrable = Referrable()
DMonster.kt536 …n vectorOfReferrables(j: Int) : MyGame.Example.Referrable? = vectorOfReferrables(MyGame.Example.Re… in vectorOfReferrables()
537 fun vectorOfReferrables(obj: MyGame.Example.Referrable, j: Int) : MyGame.Example.Referrable? { in vectorOfReferrables()
549 fun vectorOfReferrablesByKey(key: ULong) : MyGame.Example.Referrable? { in vectorOfReferrablesByKey()
552 MyGame.Example.Referrable.__lookup_by_key(null, __vector(o), key, bb) in vectorOfReferrablesByKey()
557 …fun vectorOfReferrablesByKey(obj: MyGame.Example.Referrable, key: ULong) : MyGame.Example.Referrab… in vectorOfReferrablesByKey()
560 MyGame.Example.Referrable.__lookup_by_key(obj, __vector(o), key, bb) in vectorOfReferrablesByKey()
602 …fStrongReferrables(j: Int) : MyGame.Example.Referrable? = vectorOfStrongReferrables(MyGame.Example… in vectorOfStrongReferrables()
603 …fun vectorOfStrongReferrables(obj: MyGame.Example.Referrable, j: Int) : MyGame.Example.Referrable?… in vectorOfStrongReferrables()
615 fun vectorOfStrongReferrablesByKey(key: ULong) : MyGame.Example.Referrable? { in vectorOfStrongReferrablesByKey()
618 MyGame.Example.Referrable.__lookup_by_key(null, __vector(o), key, bb) in vectorOfStrongReferrablesByKey()
[all …]
DMonster.cs137 …ample.Referrable? VectorOfReferrables(int j) { int o = __p.__offset(74); return o != 0 ? (MyGame.E… in VectorOfReferrables()
139 …ic MyGame.Example.Referrable? VectorOfReferrablesByKey(ulong key) { int o = __p.__offset(74); retu… in VectorOfReferrablesByKey()
151 …le.Referrable? VectorOfStrongReferrables(int j) { int o = __p.__offset(80); return o != 0 ? (MyGam… in VectorOfStrongReferrables()
153 …MyGame.Example.Referrable? VectorOfStrongReferrablesByKey(ulong key) { int o = __p.__offset(80); r… in VectorOfStrongReferrablesByKey()
258 …orOfReferrablesVector(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfReferrablesVector()
259 …eferrablesVectorBlock(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfReferrablesVectorBlock()
267 …rongReferrablesVector(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfStrongReferrablesVector()
268 …eferrablesVectorBlock(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfStrongReferrablesVectorBlock()
507 … var __vector_of_referrables = new Offset<MyGame.Example.Referrable>[_o.VectorOfReferrables.Count]; in Pack()
508 …ferrables.Length; ++_j) { __vector_of_referrables[_j] = MyGame.Example.Referrable.Pack(builder, _o… in Pack()
[all …]
DMonster.py509 from MyGame.Example.Referrable import Referrable
510 obj = Referrable()
568 from MyGame.Example.Referrable import Referrable
569 obj = Referrable()
795 import MyGame.Example.Referrable
990 … referrable_ = MyGame.Example.Referrable.ReferrableT.InitFromObj(monster.VectorOfReferrables(i))
1006 …referrable_ = MyGame.Example.Referrable.ReferrableT.InitFromObj(monster.VectorOfStrongReferrables(…
DMonster.go382 x := Referrable{}
395 x := Referrable{}
1010 func (rcv *Monster) VectorOfReferrables(obj *Referrable, j int) bool {
1068 func (rcv *Monster) VectorOfStrongReferrables(obj *Referrable, j int) bool {
DMonster.php498 $obj = new Referrable();
545 $obj = new Referrable();
/external/flatbuffers/tests/
Dmonster_test.fbs65 table Referrable {
107 vector_of_referrables:[Referrable](id:35);
110 …vector_of_strong_referrables:[Referrable](id:38, cpp_ptr_type:"default_ptr_type"); …
Dmonster_test_generated.ts752 export class Referrable { class
761 __init(i:number, bb:flatbuffers.ByteBuffer):Referrable {
772 static getRootAsReferrable(bb:flatbuffers.ByteBuffer, obj?:Referrable):Referrable {
773 return (obj || new Referrable()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
781 static getSizePrefixedRootAsReferrable(bb:flatbuffers.ByteBuffer, obj?:Referrable):Referrable {
783 return (obj || new Referrable()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
834 Referrable.startReferrable(builder);
835 Referrable.addId(builder, id);
836 return Referrable.endReferrable(builder);
1559 vectorOfReferrables(index: number, obj?:MyGame.Example.Referrable):MyGame.Example.Referrable|null {
[all …]
Dmonster_test_generated.rs941 pub struct Referrable<'a> { struct
945 impl<'a> flatbuffers::Follow<'a> for Referrable<'a> { implementation
946 type Inner = Referrable<'a>;
955 impl<'a> Referrable<'a> { impl
962 Referrable { in init_from_table()
969 args: &'args ReferrableArgs) -> flatbuffers::WIPOffset<Referrable<'bldr>> { in create()
979 self._tab.get::<u64>(Referrable::VT_ID, Some(0)).unwrap() in id()
982 pub fn key_compare_less_than(&self, o: &Referrable) -> bool { in key_compare_less_than()
1011 self.fbb_.push_slot::<u64>(Referrable::VT_ID, id, 0); in add_id()
1022 pub fn finish(self) -> flatbuffers::WIPOffset<Referrable<'a>> { in finish()
[all …]
Dmonster_test_generated.h40 struct Referrable;
1071 typedef Referrable TableType;
1088 struct Referrable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1103 bool KeyCompareLessThan(const Referrable *o) const {
1116 …static flatbuffers::Offset<Referrable> Pack(flatbuffers::FlatBufferBuilder &_fbb, const Referrable…
1120 typedef Referrable Table;
1124 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
1131 flatbuffers::Offset<Referrable> Finish() {
1133 auto o = flatbuffers::Offset<Referrable>(end);
1138 inline flatbuffers::Offset<Referrable> CreateReferrable(
[all …]
Dmonster_test_generated.js887 MyGame.Example.Referrable = function() { class in MyGame.Example
904 MyGame.Example.Referrable.prototype.__init = function(i, bb) {
915 MyGame.Example.Referrable.getRootAsReferrable = function(bb, obj) {
916 …return (obj || new MyGame.Example.Referrable).__init(bb.readInt32(bb.position()) + bb.position(), …
924 MyGame.Example.Referrable.getSizePrefixedRootAsReferrable = function(bb, obj) {
926 …return (obj || new MyGame.Example.Referrable).__init(bb.readInt32(bb.position()) + bb.position(), …
932 MyGame.Example.Referrable.prototype.id = function() {
941 MyGame.Example.Referrable.prototype.mutate_id = function(value) {
955 MyGame.Example.Referrable.startReferrable = function(builder) {
963 MyGame.Example.Referrable.addId = function(builder, id) {
[all …]
Dmonster_test_my_game.example_generated.dart644 class Referrable {
645 Referrable._(this._bc, this._bcOffset);
646 factory Referrable(List<int> bytes) {
651 static const fb.Reader<Referrable> reader = const _ReferrableReader();
660 return 'Referrable{id: $id}';
664 class _ReferrableReader extends fb.TableReader<Referrable> {
668 Referrable createObject(fb.BufferContext bc, int offset) =>
669 new Referrable._(bc, offset);
776 …List<Referrable> get vectorOfReferrables => const fb.ListReader<Referrable>(Referrable.reader).vTa…
779 …List<Referrable> get vectorOfStrongReferrables => const fb.ListReader<Referrable>(Referrable.reade…
Dmonster_test_generated.lobster59 class Referrable
194 class Referrable : flatbuffers_handle
198 def GetRootAsReferrable(buf:string): return Referrable { buf, buf.flatbuffers_indirect(0) }
/external/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h40 struct Referrable;
903 typedef Referrable TableType;
910 struct Referrable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
926 bool KeyCompareLessThan(const Referrable *o) const {
939 …static flatbuffers::Offset<Referrable> Pack(flatbuffers::FlatBufferBuilder &_fbb, const Referrable…
943 typedef Referrable Table;
947 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
954 flatbuffers::Offset<Referrable> Finish() {
956 auto o = flatbuffers::Offset<Referrable>(end);
961 inline flatbuffers::Offset<Referrable> CreateReferrable(
[all …]
/external/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
Dmonster_test_generated.swift279 public struct Referrable: FlatBufferObject { struct
286 …public static func getRootAsReferrable(bb: ByteBuffer) -> Referrable { return Referrable(Table(bb:… in getRootAsReferrable()
298 let __start = Referrable.startReferrable(fbb)
299 Referrable.add(id: id, fbb)
300 return Referrable.endReferrable(fbb, start: __start)
307 fileprivate static func lookupByKey(vector: Int32, key: UInt64, fbb: ByteBuffer) -> Referrable? { in lookupByKey()
321 return Referrable(fbb, o: tableOffset) in lookupByKey()
419 …ndex: Int32) -> MyGame.Example.Referrable? { let o = _accessor.offset(74); return o == 0 ? nil : M… in vectorOfReferrables()
420 …key: UInt64) -> MyGame.Example.Referrable? { let o = _accessor.offset(74); return o == 0 ? nil : M… in vectorOfReferrablesBy()
428 …ndex: Int32) -> MyGame.Example.Referrable? { let o = _accessor.offset(80); return o == 0 ? nil : M… in vectorOfStrongReferrables()
[all …]
/external/flatbuffers/dart/test/
Dmonster_test_my_game.example_generated.dart646 class Referrable {
647 Referrable._(this._bc, this._bcOffset);
648 factory Referrable(List<int> bytes) {
653 static const fb.Reader<Referrable> reader = const _ReferrableReader();
662 return 'Referrable{id: $id}';
666 class _ReferrableReader extends fb.TableReader<Referrable> {
670 Referrable createObject(fb.BufferContext bc, int offset) =>
671 new Referrable._(bc, offset);
778 …List<Referrable> get vectorOfReferrables => const fb.ListReader<Referrable>(Referrable.reader).vTa…
781 …List<Referrable> get vectorOfStrongReferrables => const fb.ListReader<Referrable>(Referrable.reade…