Home
last modified time | relevance | path

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

/third_party/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()
286 fbb.AddShort(0, null); in FlatBufferBuilder_WhenAddNullableShort_OffsetIsUnchanged()
396 fbb.AddShort(0, 1); in FlatBufferBuilder_WhenAddNullableShort_OffsetIsChangedBySize()
/third_party/flatbuffers/net/FlatBuffers/
DFlatBufferBuilder.cs255 public void AddShort(short x) { Prep(sizeof(short), 0); PutShort(x); } in AddShort() method in FlatBuffers.FlatBufferBuilder
502 …public void AddShort(int o, short x, int d) { if (ForceDefaults || x != d) { AddShort(x); Slot(o);… in AddShort() method in FlatBuffers.FlatBufferBuilder
510 public void AddShort(int o, short? x) { if (x.HasValue) { AddShort(x.Value); Slot(o); } } in AddShort() method in FlatBuffers.FlatBufferBuilder
744 AddShort(off); in EndTable()
751 AddShort((short)(vtableloc - _objectStart)); in EndTable()
752 AddShort((short)((trimmedSize + standardFields) * in EndTable()
/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.cs144 …public static void AddJustI16(FlatBufferBuilder builder, short justI16) { builder.AddShort(6, just… in AddJustI16()
145 …public static void AddMaybeI16(FlatBufferBuilder builder, short? maybeI16) { builder.AddShort(7, m… in AddMaybeI16()
146 …public static void AddDefaultI16(FlatBufferBuilder builder, short defaultI16) { builder.AddShort(8… in AddDefaultI16()
/third_party/flatbuffers/tests/MyGame/Example/
DTypeAliases.cs93 public static void AddI16(FlatBufferBuilder builder, short i16) { builder.AddShort(2, i16, 0); } in AddI16()
DMonster.cs321 …public static void AddMana(FlatBufferBuilder builder, short mana) { builder.AddShort(1, mana, 150)… in AddMana()
322 public static void AddHp(FlatBufferBuilder builder, short hp) { builder.AddShort(2, hp, 100); } in AddHp()