Home
last modified time | relevance | path

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

/external/flatbuffers/net/FlatBuffers/
DTable.cs37 return vtableOffset < bb.GetShort(vtable) ? (int)bb.GetShort(vtable + vtableOffset) : 0; in __offset()
43 return (int)bb.GetShort(vtable + vtableOffset - bb.GetInt(vtable)) + vtable; in __offset()
DFlatBufferBuilder.cs628 short len = _bb.GetShort(vt1); in EndObject()
629 if (len == _bb.GetShort(vt2)) { in EndObject()
631 if (_bb.GetShort(vt1 + j) != _bb.GetShort(vt2 + j)) { in EndObject()
675 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.cs73 return t.bb.GetShort(t.bb_pos + off); in GetSlot()
/external/flatbuffers/tests/MyGame/Example/
DTest.cs18 public short A { get { return __p.bb.GetShort(__p.bb_pos + 0); } }
DTypeAliases.cs24 …public short I16 { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) …
DMonster.cs23 …public short Mana { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos)…
25 …public short Hp { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) :…