Home
last modified time | relevance | path

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

12

/third_party/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.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 GetSizePrefixedRootAsReferrable(buf []byte, offset flatbuffers.UOffsetT) *Referrable {
44 x := &Referrable{}
49 func (rcv *Referrable) Init(buf []byte, i flatbuffers.UOffsetT) { argument
54 func (rcv *Referrable) Table() flatbuffers.Table { argument
58 func (rcv *Referrable) Id() uint64 { argument
[all …]
DReferrable.lua7 local Referrable = {} -- the module
10 function Referrable.New()
15 function Referrable.GetRootAsReferrable(buf, offset)
20 local o = Referrable.New()
34 function Referrable.Start(builder) builder:StartObject(1) end
35 function Referrable.AddId(builder, id) builder:PrependUint64Slot(0, id, 0) end
36 function Referrable.End(builder) return builder:EndObject() end
38 return Referrable -- return the module
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()
59 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.cs140 …ample.Referrable? VectorOfReferrables(int j) { int o = __p.__offset(74); return o != 0 ? (MyGame.E… in VectorOfReferrables()
142 …ic MyGame.Example.Referrable? VectorOfReferrablesByKey(ulong key) { int o = __p.__offset(74); retu… in VectorOfReferrablesByKey()
154 …le.Referrable? VectorOfStrongReferrables(int j) { int o = __p.__offset(80); return o != 0 ? (MyGam… in VectorOfStrongReferrables()
156 …MyGame.Example.Referrable? VectorOfStrongReferrablesByKey(ulong key) { int o = __p.__offset(80); r… in VectorOfStrongReferrablesByKey()
385 …orOfReferrablesVector(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfReferrablesVector()
386 …eferrablesVectorBlock(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfReferrablesVectorBlock()
394 …rongReferrablesVector(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfStrongReferrablesVector()
395 …eferrablesVectorBlock(FlatBufferBuilder builder, Offset<MyGame.Example.Referrable>[] data) { build… in CreateVectorOfStrongReferrablesVectorBlock()
646 … var __vector_of_referrables = new Offset<MyGame.Example.Referrable>[_o.VectorOfReferrables.Count]; in Pack()
647 …ferrables.Length; ++_j) { __vector_of_referrables[_j] = MyGame.Example.Referrable.Pack(builder, _o… in Pack()
[all …]
DMonster.py521 from MyGame.Example.Referrable import Referrable
522 obj = Referrable()
580 from MyGame.Example.Referrable import Referrable
581 obj = Referrable()
1106 import MyGame.Example.Referrable
1303 … referrable_ = MyGame.Example.Referrable.ReferrableT.InitFromObj(monster.VectorOfReferrables(i))
1319 …referrable_ = MyGame.Example.Referrable.ReferrableT.InitFromObj(monster.VectorOfStrongReferrables(…
DMonster.go403 x := Referrable{}
416 x := Referrable{}
1046 func (rcv *Monster) VectorOfReferrables(obj *Referrable, j int) bool {
1104 func (rcv *Monster) VectorOfStrongReferrables(obj *Referrable, j int) bool {
DMonster.php498 $obj = new Referrable();
545 $obj = new Referrable();
/third_party/flatbuffers/tests/my-game/example/
Dreferrable.ts7 export class Referrable { class
10 __init(i:number, bb:flatbuffers.ByteBuffer):Referrable {
16 static getRootAsReferrable(bb:flatbuffers.ByteBuffer, obj?:Referrable):Referrable {
17 return (obj || new Referrable()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
20 static getSizePrefixedRootAsReferrable(bb:flatbuffers.ByteBuffer, obj?:Referrable):Referrable {
22 return (obj || new Referrable()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
59 Referrable.startReferrable(builder);
60 Referrable.addId(builder, id);
61 return Referrable.endReferrable(builder);
68 static deserialize(buffer: Uint8Array):Referrable {
[all …]
Dreferrable.js3 export class Referrable { class
14 return (obj || new Referrable()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
18 return (obj || new Referrable()).__init(bb.readInt32(bb.position()) + bb.position(), bb);
46 Referrable.startReferrable(builder);
47 Referrable.addId(builder, id);
48 return Referrable.endReferrable(builder);
54 return Referrable.getRootAsReferrable(new flatbuffers.ByteBuffer(buffer));
68 return Referrable.createReferrable(builder, this.id);
Dmonster.ts12 import { Referrable, ReferrableT } from '../../my-game/example/referrable';
475 vectorOfReferrables(index: number, obj?:Referrable):Referrable|null {
477 …return offset ? (obj || new Referrable()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos…
511 vectorOfStrongReferrables(index: number, obj?:Referrable):Referrable|null {
513 …return offset ? (obj || new Referrable()).__init(this.bb!.__indirect(this.bb!.__vector(this.bb_pos…
Dmonster.js9 import { Referrable } from '../../my-game/example/referrable';
367 …return offset ? (obj || new Referrable()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos +…
395 …return offset ? (obj || new Referrable()).__init(this.bb.__indirect(this.bb.__vector(this.bb_pos +…
/third_party/flatbuffers/tests/
Dmonster_test.fbs71 table Referrable {
113 vector_of_referrables:[Referrable](id:35);
116 …vector_of_strong_referrables:[Referrable](id:38, cpp_ptr_type:"default_ptr_type"); …
Dmonster_test_generated.h42 struct Referrable;
1136 typedef Referrable TableType;
1150 struct Referrable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1165 bool KeyCompareLessThan(const Referrable *o) const {
1178 …static flatbuffers::Offset<Referrable> Pack(flatbuffers::FlatBufferBuilder &_fbb, const Referrable…
1182 typedef Referrable Table;
1186 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
1192 flatbuffers::Offset<Referrable> Finish() {
1194 auto o = flatbuffers::Offset<Referrable>(end);
1199 inline flatbuffers::Offset<Referrable> CreateReferrable(
[all …]
Dmonster_test_my_game.example_generated.dart723 class Referrable {
724 Referrable._(this._bc, this._bcOffset);
725 factory Referrable(List<int> bytes) {
730 static const fb.Reader<Referrable> reader = const _ReferrableReader();
739 return 'Referrable{id: $id}';
743 class _ReferrableReader extends fb.TableReader<Referrable> {
747 Referrable createObject(fb.BufferContext bc, int offset) =>
748 new Referrable._(bc, offset);
855 …List<Referrable> get vectorOfReferrables => const fb.ListReader<Referrable>(Referrable.reader).vTa…
858 …List<Referrable> get vectorOfStrongReferrables => const fb.ListReader<Referrable>(Referrable.reade…
Dmonster_test_generated.rs1979 pub struct Referrable<'a> { struct
1983 impl<'a> flatbuffers::Follow<'a> for Referrable<'a> { implementation
1984 type Inner = Referrable<'a>;
1991 impl<'a> Referrable<'a> { implementation
1998 Referrable { _tab: table } in init_from_table()
2003 args: &'args ReferrableArgs) -> flatbuffers::WIPOffset<Referrable<'bldr>> { in create()
2019 self._tab.get::<u64>(Referrable::VT_ID, Some(0)).unwrap() in id()
2022 pub fn key_compare_less_than(&self, o: &Referrable) -> bool { in key_compare_less_than()
2033 impl flatbuffers::Verifiable for Referrable<'_> { implementation
2063 self.fbb_.push_slot::<u64>(Referrable::VT_ID, id, 0); in add_id()
[all …]
Dmonster_test_generated.lobster61 class Referrable
218 class Referrable : flatbuffers_handle
222 def GetRootAsReferrable(buf:string): return Referrable { buf, buf.flatbuffers_indirect(0) }
/third_party/flatbuffers/tests/cpp17/generated_cpp17/
Dmonster_test_generated.h42 struct Referrable;
1082 typedef Referrable TableType;
1086 struct Referrable FLATBUFFERS_FINAL_CLASS : private flatbuffers::Table {
1102 bool KeyCompareLessThan(const Referrable *o) const {
1120 …static flatbuffers::Offset<Referrable> Pack(flatbuffers::FlatBufferBuilder &_fbb, const Referrable…
1124 typedef Referrable Table;
1128 fbb_.AddElement<uint64_t>(Referrable::VT_ID, id, 0);
1134 flatbuffers::Offset<Referrable> Finish() {
1136 auto o = flatbuffers::Offset<Referrable>(end);
1141 inline flatbuffers::Offset<Referrable> CreateReferrable(
[all …]
/third_party/flatbuffers/dart/test/
Dmonster_test_my_game.example_generated.dart723 class Referrable {
724 Referrable._(this._bc, this._bcOffset);
725 factory Referrable(List<int> bytes) {
730 static const fb.Reader<Referrable> reader = const _ReferrableReader();
739 return 'Referrable{id: $id}';
743 class _ReferrableReader extends fb.TableReader<Referrable> {
747 Referrable createObject(fb.BufferContext bc, int offset) =>
748 new Referrable._(bc, offset);
855 …List<Referrable> get vectorOfReferrables => const fb.ListReader<Referrable>(Referrable.reader).vTa…
858 …List<Referrable> get vectorOfStrongReferrables => const fb.ListReader<Referrable>(Referrable.reade…
/third_party/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffers.Core.Test.csproj68 <Compile Include="..\MyGame\Example\Referrable.cs">
69 <Link>MyGame\Example\Referrable.cs</Link>

12