Searched refs:bb_pos (Results 1 - 25 of 49) sorted by relevance

12

/external/flatbuffers/net/FlatBuffers/
H A DStruct.cs24 public int bb_pos; field in struct:FlatBuffers.Struct
/external/flatbuffers/java/com/google/flatbuffers/
H A DStruct.java28 protected int bb_pos; field in class:Struct
/external/flatbuffers/tests/
H A Dmonster_test_generated.js58 this.bb_pos = 0;
67 this.bb_pos = i;
109 this.bb_pos = 0;
118 this.bb_pos = i;
127 return this.bb.readInt16(this.bb_pos);
135 var offset = this.bb.__offset(this.bb_pos, 0);
141 this.bb.writeInt16(this.bb_pos + offset, value);
149 return this.bb.readInt8(this.bb_pos + 2);
157 var offset = this.bb.__offset(this.bb_pos, 2);
163 this.bb.writeInt8(this.bb_pos
[all...]
/external/flatbuffers/tests/MyGame/Example/
H A DVec3.cs13 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public float X { get { return __p.bb.GetFloat(__p.bb_pos + 0); } }
17 public void MutateX(float x) { __p.bb.PutFloat(__p.bb_pos + 0, x); }
18 public float Y { get { return __p.bb.GetFloat(__p.bb_pos + 4); } }
19 public void MutateY(float y) { __p.bb.PutFloat(__p.bb_pos + 4, y); }
20 public float Z { get { return __p.bb.GetFloat(__p.bb_pos + 8); } }
21 public void MutateZ(float z) { __p.bb.PutFloat(__p.bb_pos + 8, z); }
22 public double Test1 { get { return __p.bb.GetDouble(__p.bb_pos + 16); } }
23 public void MutateTest1(double test1) { __p.bb.PutDouble(__p.bb_pos + 16, test1); }
24 public Color Test2 { get { return (Color)__p.bb.GetSbyte(__p.bb_pos
[all...]
H A DVec3.java12 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
15 public float x() { return bb.getFloat(bb_pos + 0); }
16 public void mutateX(float x) { bb.putFloat(bb_pos + 0, x); }
17 public float y() { return bb.getFloat(bb_pos + 4); }
18 public void mutateY(float y) { bb.putFloat(bb_pos + 4, y); }
19 public float z() { return bb.getFloat(bb_pos + 8); }
20 public void mutateZ(float z) { bb.putFloat(bb_pos + 8, z); }
21 public double test1() { return bb.getDouble(bb_pos + 16); }
22 public void mutateTest1(double test1) { bb.putDouble(bb_pos + 16, test1); }
23 public byte test2() { return bb.get(bb_pos
[all...]
H A DTest.cs13 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public short A { get { return __p.bb.GetShort(__p.bb_pos + 0); } }
17 public void MutateA(short a) { __p.bb.PutShort(__p.bb_pos + 0, a); }
18 public sbyte B { get { return __p.bb.GetSbyte(__p.bb_pos + 2); } }
19 public void MutateB(sbyte b) { __p.bb.PutSbyte(__p.bb_pos + 2, b); }
H A DTest.java12 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
15 public short a() { return bb.getShort(bb_pos + 0); }
16 public void mutateA(short a) { bb.putShort(bb_pos + 0, a); }
17 public byte b() { return bb.get(bb_pos + 2); }
18 public void mutateB(byte b) { bb.put(bb_pos + 2, b); }
H A DVec3.php20 $this->bb_pos = $_i; variable
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->getSbyte($this->bb_pos + 24);
71 $obj->init($this->bb_pos + 26, $this->bb);
H A DTest.php20 $this->bb_pos = $_i; variable
30 return $this->bb->getShort($this->bb_pos + 0);
38 return $this->bb->getSbyte($this->bb_pos + 2);
H A DStat.java14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
17 public String id() { int o = __offset(4); return o != 0 ? __string(o + bb_pos) : null; }
19 public long val() { int o = __offset(6); return o != 0 ? bb.getLong(o + bb_pos) : 0L; }
20 public boolean mutateVal(long val) { int o = __offset(6); if (o != 0) { bb.putLong(o + bb_pos, val); return true; } else { return false; } }
21 public int count() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) & 0xFFFF : 0; }
22 public boolean mutateCount(int count) { int o = __offset(8); if (o != 0) { bb.putShort(o + bb_pos, (short)count); return true; } else { return false; } }
H A DMonster.cs17 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
20 public Vec3? Pos { get { int o = __p.__offset(4); return o != 0 ? (Vec3?)(new Vec3()).__assign(o + __p.bb_pos, __p.bb) : null; } }
21 public short Mana { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) : (short)150; } }
22 public bool MutateMana(short mana) { int o = __p.__offset(6); if (o != 0) { __p.bb.PutShort(o + __p.bb_pos, mana); return true; } else { return false; } }
23 public short Hp { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) : (short)100; } }
24 public bool MutateHp(short hp) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutShort(o + __p.bb_pos, hp); return true; } else { return false; } }
25 public string Name { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
31 public Color Color { get { int o = __p.__offset(16); return o != 0 ? (Color)__p.bb.GetSbyte(o + __p.bb_pos) : Color.Blue; } }
32 public bool MutateColor(Color color) { int o = __p.__offset(16); if (o != 0) { __p.bb.PutSbyte(o + __p.bb_pos, (sbyte)color); return true; } else { return false; } }
33 public Any TestType { get { int o = __p.__offset(18); return o != 0 ? (Any)__p.bb.Get(o + __p.bb_pos)
[all...]
H A DMonster.java18 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
22 public Vec3 pos(Vec3 obj) { int o = __offset(4); return o != 0 ? obj.__assign(o + bb_pos, bb) : null; }
23 public short mana() { int o = __offset(6); return o != 0 ? bb.getShort(o + bb_pos) : 150; }
24 public boolean mutateMana(short mana) { int o = __offset(6); if (o != 0) { bb.putShort(o + bb_pos, mana); return true; } else { return false; } }
25 public short hp() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) : 100; }
26 public boolean mutateHp(short hp) { int o = __offset(8); if (o != 0) { bb.putShort(o + bb_pos, hp); return true; } else { return false; } }
27 public String name() { int o = __offset(10); return o != 0 ? __string(o + bb_pos) : null; }
33 public byte color() { int o = __offset(16); return o != 0 ? bb.get(o + bb_pos) : 8; }
34 public boolean mutateColor(byte color) { int o = __offset(16); if (o != 0) { bb.put(o + bb_pos, color); return true; } else { return false; } }
35 public byte testType() { int o = __offset(18); return o != 0 ? bb.get(o + bb_pos)
[all...]
H A DStat.cs15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public string Id { get { int o = __p.__offset(4); return o != 0 ? __p.__string(o + __p.bb_pos) : null; } }
20 public long Val { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetLong(o + __p.bb_pos) : (long)0; } }
21 public bool MutateVal(long val) { int o = __p.__offset(6); if (o != 0) { __p.bb.PutLong(o + __p.bb_pos, val); return true; } else { return false; } }
22 public ushort Count { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetUshort(o + __p.bb_pos) : (ushort)0; } }
23 public bool MutateCount(ushort count) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutUshort(o + __p.bb_pos, count); return true; } else { return false; } }
H A DTestSimpleTableWithEnum.cs15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public Color Color { get { int o = __p.__offset(4); return o != 0 ? (Color)__p.bb.GetSbyte(o + __p.bb_pos) : Color.Green; } }
19 public bool MutateColor(Color color) { int o = __p.__offset(4); if (o != 0) { __p.bb.PutSbyte(o + __p.bb_pos, (sbyte)color); return true; } else { return false; } }
H A DTestSimpleTableWithEnum.java14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
17 public byte color() { int o = __offset(4); return o != 0 ? bb.get(o + bb_pos) : 2; }
18 public boolean mutateColor(byte color) { int o = __offset(4); if (o != 0) { bb.put(o + bb_pos, color); return true; } else { return false; } }
/external/flatbuffers/tests/namespace_test/
H A Dnamespace_test1_generated.js36 this.bb_pos = 0;
45 this.bb_pos = i;
63 var offset = this.bb.__offset(this.bb_pos, 4);
64 return offset ? this.bb.readInt32(this.bb_pos + offset) : 0;
72 var offset = this.bb.__offset(this.bb_pos, 4);
78 this.bb.writeInt32(this.bb_pos + offset, value);
118 this.bb_pos = 0;
127 this.bb_pos = i;
136 return this.bb.readInt32(this.bb_pos);
144 var offset = this.bb.__offset(this.bb_pos,
[all...]
H A Dnamespace_test2_generated.js33 this.bb_pos = 0;
42 this.bb_pos = i;
61 var offset = this.bb.__offset(this.bb_pos, 4);
62 return offset ? (obj || new NamespaceA.NamespaceB.TableInNestedNS).__init(this.bb.__indirect(this.bb_pos + offset), this.bb) : null;
69 var offset = this.bb.__offset(this.bb_pos, 6);
70 return offset ? /** @type {NamespaceA.NamespaceB.EnumInNestedNS} */ (this.bb.readInt8(this.bb_pos + offset)) : NamespaceA.NamespaceB.EnumInNestedNS.A;
78 var offset = this.bb.__offset(this.bb_pos, 6);
84 this.bb.writeInt8(this.bb_pos + offset, value);
93 var offset = this.bb.__offset(this.bb_pos, 8);
94 return offset ? (obj || new NamespaceA.NamespaceB.StructInNestedNS).__init(this.bb_pos
[all...]
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/
H A DStructInNestedNS.cs13 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
16 public int A { get { return __p.bb.GetInt(__p.bb_pos + 0); } }
17 public void MutateA(int a) { __p.bb.PutInt(__p.bb_pos + 0, a); }
18 public int B { get { return __p.bb.GetInt(__p.bb_pos + 4); } }
19 public void MutateB(int b) { __p.bb.PutInt(__p.bb_pos + 4, b); }
H A DStructInNestedNS.java12 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
15 public int a() { return bb.getInt(bb_pos + 0); }
16 public void mutateA(int a) { bb.putInt(bb_pos + 0, a); }
17 public int b() { return bb.getInt(bb_pos + 4); }
18 public void mutateB(int b) { bb.putInt(bb_pos + 4, b); }
H A DStructInNestedNS.php20 $this->bb_pos = $_i; variable
30 return $this->bb->getInt($this->bb_pos + 0);
38 return $this->bb->getInt($this->bb_pos + 4);
H A DTableInNestedNS.cs15 public void __init(int _i, ByteBuffer _bb) { __p.bb_pos = _i; __p.bb = _bb; }
18 public int Foo { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (int)0; } }
19 public bool MutateFoo(int foo) { int o = __p.__offset(4); if (o != 0) { __p.bb.PutInt(o + __p.bb_pos, foo); return true; } else { return false; } }
H A DTableInNestedNS.java14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
17 public int foo() { int o = __offset(4); return o != 0 ? bb.getInt(o + bb_pos) : 0; }
18 public boolean mutateFoo(int foo) { int o = __offset(4); if (o != 0) { bb.putInt(o + bb_pos, foo); return true; } else { return false; } }
/external/flatbuffers/tests/FlatBuffers.Test/
H A DTestTable.cs29 t.bb_pos = pos;
40 return t.bb.GetSbyte(t.bb_pos + off) != 0;
51 return t.bb.GetSbyte(t.bb_pos + off);
62 return t.bb.Get(t.bb_pos + off);
73 return t.bb.GetShort(t.bb_pos + off);
84 return t.bb.GetUshort(t.bb_pos + off);
95 return t.bb.GetInt(t.bb_pos + off);
106 return t.bb.GetUint(t.bb_pos + off);
117 return t.bb.GetLong(t.bb_pos + off);
128 return t.bb.GetUlong(t.bb_pos
[all...]
/external/flatbuffers/tests/namespace_test/NamespaceA/
H A DTableInFirstNS.java14 public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = _bb; }
18 public NamespaceA.NamespaceB.TableInNestedNS fooTable(NamespaceA.NamespaceB.TableInNestedNS obj) { int o = __offset(4); return o != 0 ? obj.__assign(__indirect(o + bb_pos), bb) : null; }
19 public byte fooEnum() { int o = __offset(6); return o != 0 ? bb.get(o + bb_pos) : 0; }
20 public boolean mutateFooEnum(byte foo_enum) { int o = __offset(6); if (o != 0) { bb.put(o + bb_pos, foo_enum); return true; } else { return false; } }
22 public NamespaceA.NamespaceB.StructInNestedNS fooStruct(NamespaceA.NamespaceB.StructInNestedNS obj) { int o = __offset(8); return o != 0 ? obj.__assign(o + bb_pos, bb) : null; }
/external/flatbuffers/php/
H A DTable.php23 * @var int $bb_pos
25 protected $bb_pos; variable
43 $vtable = $this->bb_pos - $this->bb->getInt($this->bb_pos);
76 $offset += $this->bb_pos;
87 $offset += $this->bb_pos;
109 $offset += $this->bb_pos;
110 $table->bb_pos = $offset + $this->bb->getInt($offset);

Completed in 276 milliseconds

12