Home
last modified time | relevance | path

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

/third_party/flatbuffers/tests/MyGame/Example/
DTest.cs20 public void MutateA(short a) { __p.bb.PutShort(__p.bb_pos + 0, a); } in MutateA()
28 builder.PutShort(A); in CreateTest()
DStructOfStructs.cs31 builder.PutShort(b_A); in CreateStructOfStructs()
DVec3.cs37 builder.PutShort(test3_A); in CreateVec3()
DTypeAliases.cs27 …public bool MutateI16(short i16) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutShort(o + __p.… in MutateI16()
DMonster.cs26 …public bool MutateMana(short mana) { int o = __p.__offset(6); if (o != 0) { __p.bb.PutShort(o + __… in MutateMana()
28 …public bool MutateHp(short hp) { int o = __p.__offset(8); if (o != 0) { __p.bb.PutShort(o + __p.bb… in MutateHp()
/third_party/flatbuffers/tests/FlatBuffers.Test/
DByteBufferTests.cs57 uut.PutShort(0, (short)1); in ByteBuffer_PutShortPopulatesBufferCorrectly()
69 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(2, 99)); in ByteBuffer_PutShortCannotPutAtOffsetPastLength()
78 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(0, 99)); in ByteBuffer_PutShortChecksLength()
85 Assert.Throws<ArgumentOutOfRangeException>(() => uut.PutShort(1, 99)); in ByteBuffer_PutShortChecksLengthAndOffset()
/third_party/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs166 public void PutShort(short x) in PutShort() method in FlatBuffers.FlatBufferBuilder
168 _bb.PutShort(_space -= sizeof(short), x); in PutShort()
255 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort()
DByteBuffer.cs496 public void PutShort(int offset, short value) in PutShort() method in FlatBuffers.ByteBuffer
600 public void PutShort(int offset, short value) in PutShort() method in FlatBuffers.ByteBuffer