Home
last modified time | relevance | path

Searched refs:__offset (Results 1 – 25 of 100) sorted by relevance

1234

/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.java19 public byte justI8() { int o = __offset(4); return o != 0 ? bb.get(o + bb_pos) : 0; } in justI8()
20 public boolean hasMaybeI8() { return 0 != __offset(6); } in hasMaybeI8()
21 public byte maybeI8() { int o = __offset(6); return o != 0 ? bb.get(o + bb_pos) : 0; } in maybeI8()
22 public byte defaultI8() { int o = __offset(8); return o != 0 ? bb.get(o + bb_pos) : 42; } in defaultI8()
23 public int justU8() { int o = __offset(10); return o != 0 ? bb.get(o + bb_pos) & 0xFF : 0; } in justU8()
24 public boolean hasMaybeU8() { return 0 != __offset(12); } in hasMaybeU8()
25 public int maybeU8() { int o = __offset(12); return o != 0 ? bb.get(o + bb_pos) & 0xFF : 0; } in maybeU8()
26 public int defaultU8() { int o = __offset(14); return o != 0 ? bb.get(o + bb_pos) & 0xFF : 42; } in defaultU8()
27 public short justI16() { int o = __offset(16); return o != 0 ? bb.getShort(o + bb_pos) : 0; } in justI16()
28 public boolean hasMaybeI16() { return 0 != __offset(18); } in hasMaybeI16()
[all …]
Dscalar-stuff.js25 const offset = this.bb.__offset(this.bb_pos, 4);
29 const offset = this.bb.__offset(this.bb_pos, 6);
33 const offset = this.bb.__offset(this.bb_pos, 8);
37 const offset = this.bb.__offset(this.bb_pos, 10);
41 const offset = this.bb.__offset(this.bb_pos, 12);
45 const offset = this.bb.__offset(this.bb_pos, 14);
49 const offset = this.bb.__offset(this.bb_pos, 16);
53 const offset = this.bb.__offset(this.bb_pos, 18);
57 const offset = this.bb.__offset(this.bb_pos, 20);
61 const offset = this.bb.__offset(this.bb_pos, 22);
[all …]
DScalarStuff.kt22 val o = __offset(4)
27 val o = __offset(6)
32 val o = __offset(8)
37 val o = __offset(10)
42 val o = __offset(12)
47 val o = __offset(14)
52 val o = __offset(16)
57 val o = __offset(18)
62 val o = __offset(20)
67 val o = __offset(22)
[all …]
Dscalar-stuff.ts31 const offset = this.bb!.__offset(this.bb_pos, 4);
36 const offset = this.bb!.__offset(this.bb_pos, 6);
41 const offset = this.bb!.__offset(this.bb_pos, 8);
46 const offset = this.bb!.__offset(this.bb_pos, 10);
51 const offset = this.bb!.__offset(this.bb_pos, 12);
56 const offset = this.bb!.__offset(this.bb_pos, 14);
61 const offset = this.bb!.__offset(this.bb_pos, 16);
66 const offset = this.bb!.__offset(this.bb_pos, 18);
71 const offset = this.bb!.__offset(this.bb_pos, 20);
76 const offset = this.bb!.__offset(this.bb_pos, 22);
[all …]
DScalarStuff.cs23 …public sbyte JustI8 { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetSbyte(o + __p.bb_po…
24 …public sbyte? MaybeI8 { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetSbyte(o + __p.bb_…
25 …public sbyte DefaultI8 { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetSbyte(o + __p.bb…
26 …public byte JustU8 { get { int o = __p.__offset(10); return o != 0 ? __p.bb.Get(o + __p.bb_pos) : …
27 …public byte? MaybeU8 { get { int o = __p.__offset(12); return o != 0 ? __p.bb.Get(o + __p.bb_pos) …
28 …public byte DefaultU8 { get { int o = __p.__offset(14); return o != 0 ? __p.bb.Get(o + __p.bb_pos)…
29 …public short JustI16 { get { int o = __p.__offset(16); return o != 0 ? __p.bb.GetShort(o + __p.bb_…
30 …public short? MaybeI16 { get { int o = __p.__offset(18); return o != 0 ? __p.bb.GetShort(o + __p.b…
31 …public short DefaultI16 { get { int o = __p.__offset(20); return o != 0 ? __p.bb.GetShort(o + __p.…
32 …public ushort JustU16 { get { int o = __p.__offset(22); return o != 0 ? __p.bb.GetUshort(o + __p.b…
[all …]
/third_party/flatbuffers/tests/MyGame/Example/
DMonster.java23 …public MyGame.Example.Vec3 pos(MyGame.Example.Vec3 obj) { int o = __offset(4); return o != 0 ? obj… 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()
31 …public int inventory(int j) { int o = __offset(14); return o != 0 ? bb.get(__vector(o) + j * 1) & … in inventory()
32 public int inventoryLength() { int o = __offset(14); return o != 0 ? __vector_len(o) : 0; } in inventoryLength()
34 …public ByteVector inventoryVector(ByteVector obj) { int o = __offset(14); return o != 0 ? obj.__as… in inventoryVector()
37 …public boolean mutateInventory(int j, int inventory) { int o = __offset(14); if (o != 0) { bb.put(… in mutateInventory()
[all …]
DMonster.kt25 val o = __offset(4) in pos()
34 val o = __offset(6)
38 val o = __offset(6) in mutateMana()
48 val o = __offset(8)
52 val o = __offset(8) in mutateHp()
62 val o = __offset(10)
68 val o = __offset(14) in nameInByteBuffer()
77 val o = __offset(14); return if (o != 0) __vector_len(o) else 0
82 val o = __offset(14) in inventoryInByteBuffer()
92 val o = __offset(16)
[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 …]
DTypeAliases.kt22 val o = __offset(4)
26 val o = __offset(4) in mutateI8()
36 val o = __offset(6)
40 val o = __offset(6) in mutateU8()
50 val o = __offset(8)
54 val o = __offset(8) in mutateI16()
64 val o = __offset(10)
68 val o = __offset(10) in mutateU16()
78 val o = __offset(12)
82 val o = __offset(12) in mutateI32()
[all …]
DMonster.php54 $o = $this->__offset(4);
63 $o = $this->__offset(6);
72 $o = $this->__offset(8);
78 $o = $this->__offset(10);
88 $o = $this->__offset(14);
97 $o = $this->__offset(14);
114 $o = $this->__offset(16);
123 $o = $this->__offset(18);
132 $o = $this->__offset(20);
141 $o = $this->__offset(22);
[all …]
DTypeAliases.cs22 …public sbyte I8 { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetSbyte(o + __p.bb_pos) :…
23 …public bool MutateI8(sbyte i8) { int o = __p.__offset(4); if (o != 0) { __p.bb.PutSbyte(o + __p.bb… 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 …public bool MutateI16(short i16) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutShort(o + __p.… in MutateI16()
28 …public ushort U16 { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetUshort(o + __p.bb_po…
29 …public bool MutateU16(ushort u16) { int o = __p.__offset(10); if (o != 0) { __p.bb.PutUshort(o + _… in MutateU16()
30 …public int I32 { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetInt(o + __p.bb_pos) : (…
31 …public bool MutateI32(int i32) { int o = __p.__offset(12); if (o != 0) { __p.bb.PutInt(o + __p.bb_… in MutateI32()
[all …]
DMonster.cs24 …public MyGame.Example.Vec3? Pos { get { int o = __p.__offset(4); return o != 0 ? (MyGame.Example.V…
25 …public short Mana { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos)…
26 …public bool MutateMana(short mana) { int o = __p.__offset(6); if (o != 0) { __p.bb.PutShort(o + __… in MutateMana()
27 …public short Hp { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) :…
28 …public bool MutateHp(short hp) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutShort(o + __p.bb… in MutateHp()
29 …public string Name { get { int o = __p.__offset(10); return o != 0 ? __p.__string(o + __p.bb_pos) …
36 …public byte Inventory(int j) { int o = __p.__offset(14); return o != 0 ? __p.bb.Get(__p.__vector(o… in Inventory()
37 …public int InventoryLength { get { int o = __p.__offset(14); return o != 0 ? __p.__vector_len(o) :…
44 …public bool MutateInventory(int j, byte inventory) { int o = __p.__offset(14); if (o != 0) { __p.b… in MutateInventory()
45 …public MyGame.Example.Color Color { get { int o = __p.__offset(16); return o != 0 ? (MyGame.Exampl…
[all …]
DTypeAliases.php55 $o = $this->__offset(4);
64 $o = $this->__offset(6);
73 $o = $this->__offset(8);
82 $o = $this->__offset(10);
91 $o = $this->__offset(12);
100 $o = $this->__offset(14);
109 $o = $this->__offset(16);
118 $o = $this->__offset(18);
127 $o = $this->__offset(20);
136 $o = $this->__offset(22);
[all …]
DStat.kt22 val o = __offset(4)
29 val o = __offset(6) in idInByteBuffer()
33 val o = __offset(6) in mutateVal_()
43 val o = __offset(8)
47 val o = __offset(8) in mutateCount()
56 val val_1 = _bb.getShort(__offset(8, o1, _bb)) in keysCompare()
57 val val_2 = _bb.getShort(__offset(8, o2, _bb)) in keysCompare()
88 val value = bb.getShort(__offset(8, bb.capacity() - tableOffset, bb)).toUShort() in __lookup_by_key()
DStat.java18 public String id() { int o = __offset(4); return o != 0 ? __string(o + bb_pos) : null; } in id()
21 public long val() { int o = __offset(6); return o != 0 ? bb.getLong(o + bb_pos) : 0L; } in val()
22 …public boolean mutateVal(long val) { int o = __offset(6); if (o != 0) { bb.putLong(o + bb_pos, val… in mutateVal()
23 public int count() { int o = __offset(8); return o != 0 ? bb.getShort(o + bb_pos) & 0xFFFF : 0; } in count()
24 …public boolean mutateCount(int count) { int o = __offset(8); if (o != 0) { bb.putShort(o + bb_pos,… in mutateCount()
48 int val_1 = _bb.getShort(__offset(8, o1, _bb)) & 0xFFFF; in keysCompare()
49 int val_2 = _bb.getShort(__offset(8, o2, _bb)) & 0xFFFF; in keysCompare()
59 int val = bb.getShort(__offset(8, bb.capacity() - tableOffset, bb)) & 0xFFFF; in __lookup_by_key()
/third_party/flatbuffers/tests/my-game/example/
Dmonster.js38 const offset = this.bb.__offset(this.bb_pos, 4);
42 const offset = this.bb.__offset(this.bb_pos, 6);
46 const offset = this.bb.__offset(this.bb_pos, 6);
54 const offset = this.bb.__offset(this.bb_pos, 8);
58 const offset = this.bb.__offset(this.bb_pos, 8);
66 const offset = this.bb.__offset(this.bb_pos, 10);
70 const offset = this.bb.__offset(this.bb_pos, 14);
74 const offset = this.bb.__offset(this.bb_pos, 14);
78 const offset = this.bb.__offset(this.bb_pos, 14);
82 const offset = this.bb.__offset(this.bb_pos, 16);
[all …]
Dtype-aliases.js21 const offset = this.bb.__offset(this.bb_pos, 4);
25 const offset = this.bb.__offset(this.bb_pos, 4);
33 const offset = this.bb.__offset(this.bb_pos, 6);
37 const offset = this.bb.__offset(this.bb_pos, 6);
45 const offset = this.bb.__offset(this.bb_pos, 8);
49 const offset = this.bb.__offset(this.bb_pos, 8);
57 const offset = this.bb.__offset(this.bb_pos, 10);
61 const offset = this.bb.__offset(this.bb_pos, 10);
69 const offset = this.bb.__offset(this.bb_pos, 12);
73 const offset = this.bb.__offset(this.bb_pos, 12);
[all …]
Dmonster.ts46 const offset = this.bb!.__offset(this.bb_pos, 4);
51 const offset = this.bb!.__offset(this.bb_pos, 6);
56 const offset = this.bb!.__offset(this.bb_pos, 6);
67 const offset = this.bb!.__offset(this.bb_pos, 8);
72 const offset = this.bb!.__offset(this.bb_pos, 8);
85 const offset = this.bb!.__offset(this.bb_pos, 10);
90 const offset = this.bb!.__offset(this.bb_pos, 14);
95 const offset = this.bb!.__offset(this.bb_pos, 14);
100 const offset = this.bb!.__offset(this.bb_pos, 14);
105 const offset = this.bb!.__offset(this.bb_pos, 16);
[all …]
Dtype-aliases.ts26 const offset = this.bb!.__offset(this.bb_pos, 4);
31 const offset = this.bb!.__offset(this.bb_pos, 4);
42 const offset = this.bb!.__offset(this.bb_pos, 6);
47 const offset = this.bb!.__offset(this.bb_pos, 6);
58 const offset = this.bb!.__offset(this.bb_pos, 8);
63 const offset = this.bb!.__offset(this.bb_pos, 8);
74 const offset = this.bb!.__offset(this.bb_pos, 10);
79 const offset = this.bb!.__offset(this.bb_pos, 10);
90 const offset = this.bb!.__offset(this.bb_pos, 12);
95 const offset = this.bb!.__offset(this.bb_pos, 12);
[all …]
/third_party/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.kt22 val o = __offset(4)
26 val o = __offset(4) in mutateD0()
36 val o = __offset(6)
40 val o = __offset(6) in mutateD1()
50 val o = __offset(8)
54 val o = __offset(8) in mutateD2()
64 val o = __offset(10)
68 val o = __offset(10) in mutateD3()
78 val o = __offset(12)
82 val o = __offset(12) in mutateF0()
[all …]
DMonsterExtra.cs23 …public double D0 { get { int o = __p.__offset(4); return o != 0 ? __p.bb.GetDouble(o + __p.bb_pos)…
24 …public bool MutateD0(double d0) { int o = __p.__offset(4); if (o != 0) { __p.bb.PutDouble(o + __p.… in MutateD0()
25 …public double D1 { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetDouble(o + __p.bb_pos)…
26 …public bool MutateD1(double d1) { int o = __p.__offset(6); if (o != 0) { __p.bb.PutDouble(o + __p.… in MutateD1()
27 …public double D2 { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetDouble(o + __p.bb_pos)…
28 …public bool MutateD2(double d2) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutDouble(o + __p.… in MutateD2()
29 …public double D3 { get { int o = __p.__offset(10); return o != 0 ? __p.bb.GetDouble(o + __p.bb_pos…
30 …public bool MutateD3(double d3) { int o = __p.__offset(10); if (o != 0) { __p.bb.PutDouble(o + __p… in MutateD3()
31 …public float F0 { get { int o = __p.__offset(12); return o != 0 ? __p.bb.GetFloat(o + __p.bb_pos) …
32 …public bool MutateF0(float f0) { int o = __p.__offset(12); if (o != 0) { __p.bb.PutFloat(o + __p.b… in MutateF0()
[all …]
/third_party/flatbuffers/tests/FlatBuffers.Test/
DTestTable.cs33 var off = t.__offset(slot); in GetSlot()
44 var off = t.__offset(slot); in GetSlot()
55 var off = t.__offset(slot); in GetSlot()
66 var off = t.__offset(slot); in GetSlot()
77 var off = t.__offset(slot); in GetSlot()
88 var off = t.__offset(slot); in GetSlot()
99 var off = t.__offset(slot); in GetSlot()
110 var off = t.__offset(slot); in GetSlot()
121 var off = t.__offset(slot); in GetSlot()
132 var off = t.__offset(slot); in GetSlot()
[all …]
/third_party/flatbuffers/tests/union_vector/
DMovie.kt20 val o = __offset(4)
24 val o = __offset(4) in mutateMainCharacterType()
33 val o = __offset(6); return if (o != 0) __union(obj, o + bb_pos) else null in mainCharacter()
36 val o = __offset(8) in charactersType()
45 val o = __offset(8); return if (o != 0) __vector_len(o) else 0
50 val o = __offset(8) in charactersTypeInByteBuffer()
59 val o = __offset(10) in characters()
68 val o = __offset(10); return if (o != 0) __vector_len(o) else 0
/third_party/flatbuffers/tests/namespace_test/NamespaceA/
DTableInFirstNS.kt22 val o = __offset(4) in fooTable()
31 val o = __offset(6)
35 val o = __offset(6) in mutateFooEnum()
45 val o = __offset(8)
49 val o = __offset(8) in mutateFooUnionType()
58 val o = __offset(10); return if (o != 0) __union(obj, o + bb_pos) else null in fooUnion()
62 val o = __offset(12) in fooStruct()

1234