Searched refs:AddShort (Results 1 – 5 of 5) sorted by relevance
/external/flatbuffers/tests/FlatBuffers.Test/ |
D | FlatBuffersFuzzTests.cs | 43 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 …]
|
D | FlatBufferBuilderTests.cs | 66 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/ |
D | FlatBufferBuilder.cs | 247 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort() method in FlatBuffers.FlatBufferBuilder 469 …public void AddShort(int o, short x, int d) { if (ForceDefaults || x != d) { AddShort(x); Slot(o);… in AddShort() method in FlatBuffers.FlatBufferBuilder 612 AddShort(off); in EndObject() 619 AddShort((short)(vtableloc - _objectStart)); in EndObject() 620 AddShort((short)((trimmedSize + standardFields) * in EndObject()
|
/external/flatbuffers/tests/MyGame/Example/ |
D | TypeAliases.cs | 91 public static void AddI16(FlatBufferBuilder builder, short i16) { builder.AddShort(2, i16, 0); } in AddI16()
|
D | Monster.cs | 193 …public static void AddMana(FlatBufferBuilder builder, short mana) { builder.AddShort(1, mana, 150)… in AddMana() 194 public static void AddHp(FlatBufferBuilder builder, short hp) { builder.AddShort(2, hp, 100); } in AddHp()
|