Home
last modified time | relevance | path

Searched refs:AddShort (Results 1 – 5 of 5) sorted by relevance

/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersFuzzTests.cs43 builder.AddShort(-32222); in TestNumbers()
234 builder.AddShort(0, 0x789A, 0); in TestVTableWithOneInt16()
255 builder.AddShort(0, 0x3456, 0); in TestVTableWithTwoInt16()
256 builder.AddShort(1, 0x789A, 0); in TestVTableWithTwoInt16()
277 builder.AddShort(0, 0x3456, 0); in TestVTableWithInt16AndBool()
328 builder.AddShort(0, 55, 0); in TestVTableWithEmptyVectorAndScalars()
353 builder.AddShort(0x1234); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
354 builder.AddShort(0x5678); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
359 builder.AddShort(0, 55, 0); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
386 builder.AddShort(0x1234); in TestVTableWithAStruct_of_int8_int16_int32()
[all …]
DFlatBufferBuilderTests.cs66 fbb.AddShort(0, 0, 0); in FlatBufferBuilder_WithForceDefaults_WhenAddShort_AndDefaultValue_OffsetIncreasesBySize()
176 fbb.AddShort(0, 0, 0); in FlatBufferBuilder_WhenAddShort_AndDefaultValue_OffsetIsUnchanged()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs251 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort() method in FlatBuffers.FlatBufferBuilder
473 …public void AddShort(int o, short x, int d) { if (ForceDefaults || x != d) { AddShort(x); Slot(o);… in AddShort() method in FlatBuffers.FlatBufferBuilder
642 AddShort(off); in EndTable()
649 AddShort((short)(vtableloc - _objectStart)); in EndTable()
650 AddShort((short)((trimmedSize + standardFields) * in EndTable()
/external/flatbuffers/tests/MyGame/Example/
DTypeAliases.cs93 public static void AddI16(FlatBufferBuilder builder, short i16) { builder.AddShort(2, i16, 0); } in AddI16()
DMonster.cs194 …public static void AddMana(FlatBufferBuilder builder, short mana) { builder.AddShort(1, mana, 150)… in AddMana()
195 public static void AddHp(FlatBufferBuilder builder, short hp) { builder.AddShort(2, hp, 100); } in AddHp()