Home
last modified time | relevance | path

Searched refs:GetShort (Results 1 – 7 of 7) 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.cs524 short len = _bb.GetShort(vt1); in EndObject()
525 if (len == _bb.GetShort(vt2)) { in EndObject()
527 if (_bb.GetShort(vt1 + j) != _bb.GetShort(vt2 + j)) { in EndObject()
571 bool ok = _bb.GetShort(vtable_start + field) != 0; in Required()
DByteBuffer.cs326 public short GetShort(int offset) in GetShort() method in FlatBuffers.ByteBuffer
409 public short GetShort(int index) in GetShort() method in FlatBuffers.ByteBuffer
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs203 Assert.AreEqual(1, uut.GetShort(0)); in ByteBuffer_GetShortReturnsCorrectData()
212 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetShort(2)); in ByteBuffer_GetShortChecksOffset()
220 Assert.Throws<ArgumentOutOfRangeException>(() => uut.GetShort(1)); in ByteBuffer_GetShortChecksLength()
DTestTable.cs73 return t.bb.GetShort(t.bb_pos + off); in GetSlot()
/external/flatbuffers/tests/MyGame/Example/
DTest.cs16 public short A { get { return __p.bb.GetShort(__p.bb_pos + 0); } }
DMonster.cs21 …public short Mana { get { int o = __p.__offset(6); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos)…
23 …public short Hp { get { int o = __p.__offset(8); return o != 0 ? __p.bb.GetShort(o + __p.bb_pos) :…