Home
last modified time | relevance | path

Searched refs:PutShort (Results 1 – 6 of 6) sorted by relevance

/external/flatbuffers/tests/MyGame/Example/
DTest.cs17 public void MutateA(short a) { __p.bb.PutShort(__p.bb_pos + 0, a); } in MutateA()
25 builder.PutShort(A); in CreateTest()
DVec3.cs34 builder.PutShort(test3_A); in CreateVec3()
DMonster.cs22 …public bool MutateMana(short mana) { int o = __p.__offset(6); if (o != 0) { __p.bb.PutShort(o + __… in MutateMana()
24 …public bool MutateHp(short hp) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutShort(o + __p.bb… in MutateHp()
/external/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs58 uut.PutShort(0, (short)1); in ByteBuffer_PutShortPopulatesBufferCorrectly()
71 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(2, 99)); in ByteBuffer_PutShortCannotPutAtOffsetPastLength()
81 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(0, 99)); in ByteBuffer_PutShortChecksLength()
89 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(1, 99)); in ByteBuffer_PutShortChecksLengthAndOffset()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs158 public void PutShort(short x) in PutShort() method in FlatBuffers.FlatBufferBuilder
160 _bb.PutShort(_space -= sizeof(short), x); in PutShort()
221 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort()
DByteBuffer.cs176 public void PutShort(int offset, short value) in PutShort() method in FlatBuffers.ByteBuffer
258 public void PutShort(int offset, short value) in PutShort() method in FlatBuffers.ByteBuffer