Home
last modified time | relevance | path

Searched refs:bb_pos (Results 1 – 25 of 99) sorted by relevance

1234

/external/flatbuffers/tests/
Dmonster_test_generated.ts75 bb_pos:number = 0; property in MyGame.InParentNamespace
82 this.bb_pos = i;
135 bb_pos:number = 0; property in MyGame.Example2.Monster
142 this.bb_pos = i;
195 bb_pos:number = 0; property in MyGame.Example.Test
202 this.bb_pos = i;
211 return this.bb!.readInt16(this.bb_pos);
219 var offset = this.bb!.__offset(this.bb_pos, 0);
225 this.bb!.writeInt16(this.bb_pos + offset, value);
233 return this.bb!.readInt8(this.bb_pos + 2);
[all …]
Dmonster_test_generated.js159 this.bb_pos = 0;
168 this.bb_pos = i;
229 this.bb_pos = 0;
238 this.bb_pos = i;
299 this.bb_pos = 0;
308 this.bb_pos = i;
317 return this.bb.readInt16(this.bb_pos);
325 var offset = this.bb.__offset(this.bb_pos, 0);
331 this.bb.writeInt16(this.bb_pos + offset, value);
339 return this.bb.readInt8(this.bb_pos + 2);
[all …]
/external/flatbuffers/tests/union_vector/
Dunion_vector_generated.js41 this.bb_pos = 0;
50 this.bb_pos = i;
78 var offset = this.bb.__offset(this.bb_pos, 4);
79 return offset ? this.bb.readInt32(this.bb_pos + offset) : 0;
87 var offset = this.bb.__offset(this.bb_pos, 4);
93 this.bb.writeInt32(this.bb_pos + offset, value);
144 this.bb_pos = 0;
153 this.bb_pos = i;
162 return this.bb.readInt32(this.bb_pos);
170 var offset = this.bb.__offset(this.bb_pos, 0);
[all …]
Dunion_vector_generated.ts22 bb_pos:number = 0; property in Attacker
29 this.bb_pos = i;
57 var offset = this.bb!.__offset(this.bb_pos, 4);
58 return offset ? this.bb!.readInt32(this.bb_pos + offset) : 0;
66 var offset = this.bb!.__offset(this.bb_pos, 4);
72 this.bb!.writeInt32(this.bb_pos + offset, value);
112 bb_pos:number = 0; property in Rapunzel
119 this.bb_pos = i;
128 return this.bb!.readInt32(this.bb_pos);
136 var offset = this.bb!.__offset(this.bb_pos, 0);
[all …]
/external/flatbuffers/tests/namespace_test/
Dnamespace_test1_generated.ts20 bb_pos:number = 0; property in NamespaceA.NamespaceB.TableInNestedNS
27 this.bb_pos = i;
55 var offset = this.bb!.__offset(this.bb_pos, 4);
56 return offset ? this.bb!.readInt32(this.bb_pos + offset) : 0;
64 var offset = this.bb!.__offset(this.bb_pos, 4);
70 this.bb!.writeInt32(this.bb_pos + offset, value);
112 bb_pos:number = 0; property in NamespaceA.NamespaceB.StructInNestedNS
119 this.bb_pos = i;
128 return this.bb!.readInt32(this.bb_pos);
136 var offset = this.bb!.__offset(this.bb_pos, 0);
[all …]
Dnamespace_test1_generated.js45 this.bb_pos = 0;
54 this.bb_pos = i;
82 var offset = this.bb.__offset(this.bb_pos, 4);
83 return offset ? this.bb.readInt32(this.bb_pos + offset) : 0;
91 var offset = this.bb.__offset(this.bb_pos, 4);
97 this.bb.writeInt32(this.bb_pos + offset, value);
148 this.bb_pos = 0;
157 this.bb_pos = i;
166 return this.bb.readInt32(this.bb_pos);
174 var offset = this.bb.__offset(this.bb_pos, 0);
[all …]
Dnamespace_test2_generated.js33 this.bb_pos = 0;
42 this.bb_pos = i;
71 var offset = this.bb.__offset(this.bb_pos, 4);
72 …ew NamespaceA.NamespaceB.TableInNestedNS).__init(this.bb.__indirect(this.bb_pos + offset), this.bb…
79 var offset = this.bb.__offset(this.bb_pos, 6);
80 …return offset ? /** @type {NamespaceA.NamespaceB.EnumInNestedNS} */ (this.bb.readInt8(this.bb_pos
88 var offset = this.bb.__offset(this.bb_pos, 6);
94 this.bb.writeInt8(this.bb_pos + offset, value);
103 var offset = this.bb.__offset(this.bb_pos, 8);
104 …return offset ? (obj || new NamespaceA.NamespaceB.StructInNestedNS).__init(this.bb_pos + offset, t…
[all …]
Dnamespace_test2_generated.ts11 bb_pos:number = 0; property in NamespaceA.TableInFirstNS
18 this.bb_pos = i;
47 var offset = this.bb!.__offset(this.bb_pos, 4);
48 …NamespaceA.NamespaceB.TableInNestedNS()).__init(this.bb!.__indirect(this.bb_pos + offset), this.bb…
55 var offset = this.bb!.__offset(this.bb_pos, 6);
56 …return offset ? /** */ (this.bb!.readInt8(this.bb_pos + offset)) : NS8755221360535654258.Namespac…
64 var offset = this.bb!.__offset(this.bb_pos, 6);
70 this.bb!.writeInt8(this.bb_pos + offset, value);
79 var offset = this.bb!.__offset(this.bb_pos, 8);
80 …755221360535654258.NamespaceA.NamespaceB.StructInNestedNS()).__init(this.bb_pos + offset, this.bb!…
[all …]
/external/flatbuffers/tests/MyGame/Example/
DVec3.java15 public float x() { return bb.getFloat(bb_pos + 0); } in x()
16 public void mutateX(float x) { bb.putFloat(bb_pos + 0, x); } in mutateX()
17 public float y() { return bb.getFloat(bb_pos + 4); } in y()
18 public void mutateY(float y) { bb.putFloat(bb_pos + 4, y); } in mutateY()
19 public float z() { return bb.getFloat(bb_pos + 8); } in z()
20 public void mutateZ(float z) { bb.putFloat(bb_pos + 8, z); } in mutateZ()
21 public double test1() { return bb.getDouble(bb_pos + 16); } in test1()
22 public void mutateTest1(double test1) { bb.putDouble(bb_pos + 16, test1); } in mutateTest1()
23 public int test2() { return bb.get(bb_pos + 24) & 0xFF; } in test2()
24 public void mutateTest2(int test2) { bb.put(bb_pos + 24, (byte)test2); } in mutateTest2()
[all …]
DVec3.kt20 val x : Float get() = bb.getFloat(bb_pos + 0)
21 fun mutateX(x: Float) : ByteBuffer = bb.putFloat(bb_pos + 0, x) in mutateX()
22 val y : Float get() = bb.getFloat(bb_pos + 4) in mutateX()
23 fun mutateY(y: Float) : ByteBuffer = bb.putFloat(bb_pos + 4, y) in mutateX()
24 val z : Float get() = bb.getFloat(bb_pos + 8) in mutateX()
25 fun mutateZ(z: Float) : ByteBuffer = bb.putFloat(bb_pos + 8, z) in mutateX()
26 val test1 : Double get() = bb.getDouble(bb_pos + 16) in mutateX()
27 fun mutateTest1(test1: Double) : ByteBuffer = bb.putDouble(bb_pos + 16, test1) in mutateX()
28 val test2 : UByte get() = bb.get(bb_pos + 24).toUByte() in mutateX()
29 fun mutateTest2(test2: UByte) : ByteBuffer = bb.put(bb_pos + 24, test2.toByte()) in mutateX()
[all …]
DTypeAliases.kt23 return if(o != 0) bb.get(o + bb_pos) else 0
28 bb.put(o + bb_pos, i8) in mutateI8()
37 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u
42 bb.put(o + bb_pos, u8.toByte()) in mutateU8()
51 return if(o != 0) bb.getShort(o + bb_pos) else 0
56 bb.putShort(o + bb_pos, i16) in mutateI16()
65 return if(o != 0) bb.getShort(o + bb_pos).toUShort() else 0u
70 bb.putShort(o + bb_pos, u16.toShort()) in mutateU16()
79 return if(o != 0) bb.getInt(o + bb_pos) else 0
84 bb.putInt(o + bb_pos, i32) in mutateI32()
[all …]
DTypeAliases.java18 public byte i8() { int o = __offset(4); return o != 0 ? bb.get(o + bb_pos) : 0; } in i8()
19 …public boolean mutateI8(byte i8) { int o = __offset(4); if (o != 0) { bb.put(o + bb_pos, i8); retu… in mutateI8()
20 public int u8() { int o = __offset(6); return o != 0 ? bb.get(o + bb_pos) & 0xFF : 0; } in u8()
21 …public boolean mutateU8(int u8) { int o = __offset(6); if (o != 0) { bb.put(o + bb_pos, (byte)u8);… in mutateU8()
22 public short i16() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) : 0; } in i16()
23 …public boolean mutateI16(short i16) { int o = __offset(8); if (o != 0) { bb.putShort(o + bb_pos, i… in mutateI16()
24 public int u16() { int o = __offset(10); return o != 0 ? bb.getShort(o + bb_pos) & 0xFFFF : 0; } in u16()
25 …public boolean mutateU16(int u16) { int o = __offset(10); if (o != 0) { bb.putShort(o + bb_pos, (s… in mutateU16()
26 public int i32() { int o = __offset(12); return o != 0 ? bb.getInt(o + bb_pos) : 0; } in i32()
27 …public boolean mutateI32(int i32) { int o = __offset(12); if (o != 0) { bb.putInt(o + bb_pos, i32)… in mutateI32()
[all …]
DArrayStruct.java15 public float a() { return bb.getFloat(bb_pos + 0); } in a()
16 public void mutateA(float a) { bb.putFloat(bb_pos + 0, a); } in mutateA()
17 public int b(int j) { return bb.getInt(bb_pos + 4 + j * 4); } in b()
18 public void mutateB(int j, int b) { bb.putInt(bb_pos + 4 + j * 4, b); } in mutateB()
19 public byte c() { return bb.get(bb_pos + 64); } in c()
20 public void mutateC(byte c) { bb.put(bb_pos + 64, c); } in mutateC()
21 …edStruct d(MyGame.Example.NestedStruct obj, int j) { return obj.__assign(bb_pos + 72 + j * 32, bb)… in d()
22 public int e() { return bb.getInt(bb_pos + 136); } in e()
23 public void mutateE(int e) { bb.putInt(bb_pos + 136, e); } in mutateE()
24 public long f(int j) { return bb.getLong(bb_pos + 144 + j * 8); } in f()
[all …]
DVec3.cs19 public float X { get { return __p.bb.GetFloat(__p.bb_pos + 0); } }
20 public void MutateX(float x) { __p.bb.PutFloat(__p.bb_pos + 0, x); } in MutateX()
21 public float Y { get { return __p.bb.GetFloat(__p.bb_pos + 4); } }
22 public void MutateY(float y) { __p.bb.PutFloat(__p.bb_pos + 4, y); } in MutateY()
23 public float Z { get { return __p.bb.GetFloat(__p.bb_pos + 8); } }
24 public void MutateZ(float z) { __p.bb.PutFloat(__p.bb_pos + 8, z); } in MutateZ()
25 public double Test1 { get { return __p.bb.GetDouble(__p.bb_pos + 16); } }
26 public void MutateTest1(double test1) { __p.bb.PutDouble(__p.bb_pos + 16, test1); } in MutateTest1()
27 …public MyGame.Example.Color Test2 { get { return (MyGame.Example.Color)__p.bb.Get(__p.bb_pos + 24)…
28 public void MutateTest2(MyGame.Example.Color test2) { __p.bb.Put(__p.bb_pos + 24, (byte)test2); } in MutateTest2()
[all …]
DNestedStruct.java15 public int a(int j) { return bb.getInt(bb_pos + 0 + j * 4); } in a()
16 public void mutateA(int j, int a) { bb.putInt(bb_pos + 0 + j * 4, a); } in mutateA()
17 public byte b() { return bb.get(bb_pos + 8); } in b()
18 public void mutateB(byte b) { bb.put(bb_pos + 8, b); } in mutateB()
19 public byte c(int j) { return bb.get(bb_pos + 9 + j * 1); } in c()
20 public void mutateC(int j, byte c) { bb.put(bb_pos + 9 + j * 1, c); } in mutateC()
21 public long d(int j) { return bb.getLong(bb_pos + 16 + j * 8); } in d()
22 public void mutateD(int j, long d) { bb.putLong(bb_pos + 16 + j * 8, d); } in mutateD()
DVec3.php20 $this->bb_pos = $_i;
30 return $this->bb->getFloat($this->bb_pos + 0);
38 return $this->bb->getFloat($this->bb_pos + 4);
46 return $this->bb->getFloat($this->bb_pos + 8);
54 return $this->bb->getDouble($this->bb_pos + 16);
62 return $this->bb->getByte($this->bb_pos + 24);
71 $obj->init($this->bb_pos + 26, $this->bb);
DMonster.kt27 obj.__assign(o + bb_pos, bb) in pos()
35 return if(o != 0) bb.getShort(o + bb_pos) else 150
40 bb.putShort(o + bb_pos, mana) in mutateMana()
49 return if(o != 0) bb.getShort(o + bb_pos) else 100
54 bb.putShort(o + bb_pos, hp) in mutateHp()
63 return if (o != 0) __string(o + bb_pos) else null
93 return if(o != 0) bb.get(o + bb_pos).toUByte() else 8u
98 bb.put(o + bb_pos, color.toByte()) in mutateColor()
107 return if(o != 0) bb.get(o + bb_pos).toUByte() else 0u
112 bb.put(o + bb_pos, testType.toByte()) in mutateTestType()
[all …]
DTypeAliases.cs22 …public sbyte I8 { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetSbyte(o + __p.bb_pos) :…
23 …yte i8) { int o = __p.__offset(4); if (o != 0) { __p.bb.PutSbyte(o + __p.bb_pos, i8); return true;… in MutateI8()
24 …public byte U8 { get { int o = __p.__offset(6); return o != 0 ? __p.bb.Get(o + __p.bb_pos) : (byte…
25 …public bool MutateU8(byte u8) { int o = __p.__offset(6); if (o != 0) { __p.bb.Put(o + __p.bb_pos, … in MutateU8()
26 …public short I16 { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) …
27 …rt i16) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutShort(o + __p.bb_pos, i16); return true… in MutateI16()
28 …{ get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUshort(o + __p.bb_pos) : (ushort)0; } }
29 … u16) { int o = __p.__offset(10); if (o != 0) { __p.bb.PutUshort(o + __p.bb_pos, u16); return true… in MutateU16()
30 …public int I32 { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (…
31 …int i32) { int o = __p.__offset(12); if (o != 0) { __p.bb.PutInt(o + __p.bb_pos, i32); return true… in MutateI32()
[all …]
DArrayStruct.cs19 public float A { get { return __p.bb.GetFloat(__p.bb_pos + 0); } }
20 public void MutateA(float a) { __p.bb.PutFloat(__p.bb_pos + 0, a); } in MutateA()
21 public int B(int j) { return __p.bb.GetInt(__p.bb_pos + 4 + j * 4); } in B()
22 public void MutateB(int j, int b) { __p.bb.PutInt(__p.bb_pos + 4 + j * 4, b); } in MutateB()
23 public sbyte C { get { return __p.bb.GetSbyte(__p.bb_pos + 64); } }
24 public void MutateC(sbyte c) { __p.bb.PutSbyte(__p.bb_pos + 64, c); } in MutateC()
25 …truct D(int j) { return (new MyGame.Example.NestedStruct()).__assign(__p.bb_pos + 72 + j * 32, __p… in D()
26 public int E { get { return __p.bb.GetInt(__p.bb_pos + 136); } }
27 public void MutateE(int e) { __p.bb.PutInt(__p.bb_pos + 136, e); } in MutateE()
28 public long F(int j) { return __p.bb.GetLong(__p.bb_pos + 144 + j * 8); } in F()
[all …]
DMonster.java23 …ame.Example.Vec3 obj) { int o = __offset(4); return o != 0 ? obj.__assign(o + bb_pos, bb) : null; } in pos()
24 public short mana() { int o = __offset(6); return o != 0 ? bb.getShort(o + bb_pos) : 150; } in mana()
25 …public boolean mutateMana(short mana) { int o = __offset(6); if (o != 0) { bb.putShort(o + bb_pos,… in mutateMana()
26 public short hp() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) : 100; } in hp()
27 …public boolean mutateHp(short hp) { int o = __offset(8); if (o != 0) { bb.putShort(o + bb_pos, hp)… in mutateHp()
28 public String name() { int o = __offset(10); return o != 0 ? __string(o + bb_pos) : null; } in name()
38 public int color() { int o = __offset(16); return o != 0 ? bb.get(o + bb_pos) & 0xFF : 8; } in color()
39 …public boolean mutateColor(int color) { int o = __offset(16); if (o != 0) { bb.put(o + bb_pos, (by… in mutateColor()
40 public byte testType() { int o = __offset(18); return o != 0 ? bb.get(o + bb_pos) : 0; } in testType()
41 …public Table test(Table obj) { int o = __offset(20); return o != 0 ? __union(obj, o + bb_pos) : nu… in test()
[all …]
DNestedStruct.cs19 public int A(int j) { return __p.bb.GetInt(__p.bb_pos + 0 + j * 4); } in A()
20 public void MutateA(int j, int a) { __p.bb.PutInt(__p.bb_pos + 0 + j * 4, a); } in MutateA()
21 …ame.Example.TestEnum B { get { return (MyGame.Example.TestEnum)__p.bb.GetSbyte(__p.bb_pos + 8); } }
22 public void MutateB(MyGame.Example.TestEnum b) { __p.bb.PutSbyte(__p.bb_pos + 8, (sbyte)b); } in MutateB()
23 …mple.TestEnum C(int j) { return (MyGame.Example.TestEnum)__p.bb.GetSbyte(__p.bb_pos + 9 + j * 1); } in C()
24 …public void MutateC(int j, MyGame.Example.TestEnum c) { __p.bb.PutSbyte(__p.bb_pos + 9 + j * 1, (s… in MutateC()
25 public long D(int j) { return __p.bb.GetLong(__p.bb_pos + 16 + j * 8); } in D()
26 public void MutateD(int j, long d) { __p.bb.PutLong(__p.bb_pos + 16 + j * 8, d); } in MutateD()
/external/flatbuffers/tests/FlatBuffers.Test/
DTestTable.cs39 return t.bb.GetSbyte(t.bb_pos + off) != 0; in GetSlot()
50 return t.bb.GetSbyte(t.bb_pos + off); in GetSlot()
61 return t.bb.Get(t.bb_pos + off); in GetSlot()
72 return t.bb.GetShort(t.bb_pos + off); in GetSlot()
83 return t.bb.GetUshort(t.bb_pos + off); in GetSlot()
94 return t.bb.GetInt(t.bb_pos + off); in GetSlot()
105 return t.bb.GetUint(t.bb_pos + off); in GetSlot()
116 return t.bb.GetLong(t.bb_pos + off); in GetSlot()
127 return t.bb.GetUlong(t.bb_pos + off); in GetSlot()
138 return t.bb.GetFloat(t.bb_pos + off); in GetSlot()
[all …]
/external/flatbuffers/tests/MyGame/
DMonsterExtra.java19 public double d0() { int o = __offset(4); return o != 0 ? bb.getDouble(o + bb_pos) : Double.NaN; } in d0()
20 …public boolean mutateD0(double d0) { int o = __offset(4); if (o != 0) { bb.putDouble(o + bb_pos, d… in mutateD0()
21 public double d1() { int o = __offset(6); return o != 0 ? bb.getDouble(o + bb_pos) : Double.NaN; } in d1()
22 …public boolean mutateD1(double d1) { int o = __offset(6); if (o != 0) { bb.putDouble(o + bb_pos, d… in mutateD1()
23 …public double d2() { int o = __offset(8); return o != 0 ? bb.getDouble(o + bb_pos) : Double.POSITI… in d2()
24 …public boolean mutateD2(double d2) { int o = __offset(8); if (o != 0) { bb.putDouble(o + bb_pos, d… in mutateD2()
25 …public double d3() { int o = __offset(10); return o != 0 ? bb.getDouble(o + bb_pos) : Double.NEGAT… in d3()
26 …public boolean mutateD3(double d3) { int o = __offset(10); if (o != 0) { bb.putDouble(o + bb_pos, … in mutateD3()
27 public float f0() { int o = __offset(12); return o != 0 ? bb.getFloat(o + bb_pos) : Float.NaN; } in f0()
28 …public boolean mutateF0(float f0) { int o = __offset(12); if (o != 0) { bb.putFloat(o + bb_pos, f0… in mutateF0()
[all …]
DMonsterExtra.kt23 return if(o != 0) bb.getDouble(o + bb_pos) else Double.NaN
28 bb.putDouble(o + bb_pos, d0) in mutateD0()
37 return if(o != 0) bb.getDouble(o + bb_pos) else Double.NaN
42 bb.putDouble(o + bb_pos, d1) in mutateD1()
51 return if(o != 0) bb.getDouble(o + bb_pos) else Double.POSITIVE_INFINITY
56 bb.putDouble(o + bb_pos, d2) in mutateD2()
65 return if(o != 0) bb.getDouble(o + bb_pos) else Double.NEGATIVE_INFINITY
70 bb.putDouble(o + bb_pos, d3) in mutateD3()
79 return if(o != 0) bb.getFloat(o + bb_pos) else Float.NaN
84 bb.putFloat(o + bb_pos, f0) in mutateF0()
[all …]
/external/flatbuffers/php/
DTable.php25 protected $bb_pos; variable in Google\\FlatBuffers\\Table
37 $this->bb_pos = $pos;
53 $vtable = $this->bb_pos - $this->bb->getInt($this->bb_pos);
86 $offset += $this->bb_pos;
97 $offset += $this->bb_pos;
119 $offset += $this->bb_pos;

1234