Home
last modified time | relevance | path

Searched refs:GetShort (Results 1 – 8 of 8) sorted by relevance

/external/flatbuffers/net/FlatBuffers/
DTable.cs45 return vtableOffset < bb.GetShort(vtable) ? (int)bb.GetShort(vtable + vtableOffset) : 0; in __offset()
51 return (int)bb.GetShort(vtable + vtableOffset - bb.GetInt(vtable)) + vtable; in __offset()
DFlatBufferBuilder.cs658 short len = _bb.GetShort(vt1); in EndTable()
659 if (len == _bb.GetShort(vt2)) { in EndTable()
661 if (_bb.GetShort(vt1 + j) != _bb.GetShort(vt2 + j)) { in EndTable()
705 bool ok = _bb.GetShort(vtable_start + field) != 0; in Required()
DByteBuffer.cs647 public short GetShort(int offset) in GetShort() method in FlatBuffers.ByteBuffer
753 public short GetShort(int index) in GetShort() method in FlatBuffers.ByteBuffer
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs192 Assert.AreEqual(1, uut.GetShort(0)); in ByteBuffer_GetShortReturnsCorrectData()
200 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetShort(2)); in ByteBuffer_GetShortChecksOffset()
207 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetShort(1)); in ByteBuffer_GetShortChecksLength()
341 Assert.AreEqual(0x0A0B, uut.GetShort(2)); in ByteBuffer_Duplicate_MatchesBuffer()
DTestTable.cs72 return t.bb.GetShort(t.bb_pos + off); in GetSlot()
/external/flatbuffers/tests/MyGame/Example/
DTest.cs19 public short A { get { return __p.bb.GetShort(__p.bb_pos + 0); } }
DTypeAliases.cs26 …public short I16 { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) …
DMonster.cs25 …public short Mana { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos)…
27 …public short Hp { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) :…