Home
last modified time | relevance | path

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

/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersFuzzTests.cs43 builder.AddShort(-32222); in TestNumbers()
223 builder.AddShort(0, 0x789A, 0); in TestVTableWithOneInt16()
244 builder.AddShort(0, 0x3456, 0); in TestVTableWithTwoInt16()
245 builder.AddShort(1, 0x789A, 0); in TestVTableWithTwoInt16()
266 builder.AddShort(0, 0x3456, 0); in TestVTableWithInt16AndBool()
317 builder.AddShort(0, 55, 0); in TestVTableWithEmptyVectorAndScalars()
342 builder.AddShort(0x1234); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
343 builder.AddShort(0x5678); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
348 builder.AddShort(0, 55, 0); in TestVTableWith_1xInt16_and_Vector_or_2xInt16()
375 builder.AddShort(0x1234); in TestVTableWithAStruct_of_int8_int16_int32()
[all …]
DFlatBufferBuilderTests.cs64 fbb.AddShort(0, 0, 0); in FlatBufferBuilder_WithForceDefaults_WhenAddShort_AndDefaultValue_OffsetIncreasesBySize()
174 fbb.AddShort(0, 0, 0); in FlatBufferBuilder_WhenAddShort_AndDefaultValue_OffsetIsUnchanged()
/external/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs221 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort() method in FlatBuffers.FlatBufferBuilder
390 …public void AddShort(int o, short x, int d) { if (ForceDefaults || x != d) { AddShort(x); Slot(o);… in AddShort() method in FlatBuffers.FlatBufferBuilder
508 AddShort(off); in EndObject()
515 AddShort((short)(vtableloc - _objectStart)); in EndObject()
516 AddShort((short)((_vtableSize + standardFields) * in EndObject()
/external/flatbuffers/tests/MyGame/Example/
DMonster.cs84 …public static void AddMana(FlatBufferBuilder builder, short mana) { builder.AddShort(1, mana, 150)… in AddMana()
85 public static void AddHp(FlatBufferBuilder builder, short hp) { builder.AddShort(2, hp, 100); } in AddHp()