Home
last modified time | relevance | path

Searched refs:addShort (Results 1 – 11 of 11) sorted by relevance

/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.java152 …public static void addJustI16(FlatBufferBuilder builder, short justI16) { builder.addShort(6, just… in addJustI16()
153 …public static void addMaybeI16(FlatBufferBuilder builder, short maybeI16) { builder.addShort(7, ma… in addMaybeI16()
154 …public static void addDefaultI16(FlatBufferBuilder builder, short defaultI16) { builder.addShort(8… in addDefaultI16()
155 …public static void addJustU16(FlatBufferBuilder builder, int justU16) { builder.addShort(9, (short… in addJustU16()
156 …public static void addMaybeU16(FlatBufferBuilder builder, int maybeU16) { builder.addShort(10, (sh… in addMaybeU16()
157 …public static void addDefaultU16(FlatBufferBuilder builder, int defaultU16) { builder.addShort(11,… in addDefaultU16()
DScalarStuff.kt255 fun addJustI16(builder: FlatBufferBuilder, justI16: Short) = builder.addShort(6, justI16, 0) in startScalarStuff()
256 … fun addMaybeI16(builder: FlatBufferBuilder, maybeI16: Short) = builder.addShort(7, maybeI16, 0) in startScalarStuff()
257 …fun addDefaultI16(builder: FlatBufferBuilder, defaultI16: Short) = builder.addShort(8, defaultI16,… in startScalarStuff()
258 …fun addJustU16(builder: FlatBufferBuilder, justU16: UShort) = builder.addShort(9, justU16.toShort(… in startScalarStuff()
259 …fun addMaybeU16(builder: FlatBufferBuilder, maybeU16: UShort) = builder.addShort(10, maybeU16.toSh… in startScalarStuff()
260 …fun addDefaultU16(builder: FlatBufferBuilder, defaultU16: UShort) = builder.addShort(11, defaultU1… in startScalarStuff()
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java407 public void addShort (short x) { prep(Constants.SIZEOF_SHORT, 0); putShort (x); } in addShort() method in FlatBufferBuilder
783 …public void addShort (int o, short x, int d) { if(force_defaults || x != d) { addShort (x)… in addShort() method in FlatBufferBuilder
883 addShort(off); in endTable()
887 addShort((short)(vtableloc - object_start)); in endTable()
888 addShort((short)((trimmed_size + standard_fields) * SIZEOF_SHORT)); in endTable()
/third_party/flatbuffers/php/
DFlatbufferBuilder.php326 public function addShort($x) function in Google\\FlatBuffers\\FlatbufferBuilder
450 $this->addShort($x);
828 $this->addShort($off);
832 $this->addShort($vtableloc - $this->object_start);
833 $this->addShort(($trimmed_size + $standard_fields) * Constants::SIZEOF_SHORT);
/third_party/flatbuffers/tests/MyGame/Example/
DTypeAliases.java85 public static void addI16(FlatBufferBuilder builder, short i16) { builder.addShort(2, i16, 0); } in addI16()
86 …public static void addU16(FlatBufferBuilder builder, int u16) { builder.addShort(3, (short)u16, (s… in addU16()
DTypeAliases.kt232 fun addI16(builder: FlatBufferBuilder, i16: Short) = builder.addShort(2, i16, 0) in startTypeAliases()
233 fun addU16(builder: FlatBufferBuilder, u16: UShort) = builder.addShort(3, u16.toShort(), 0) in startTypeAliases()
DStat.kt77 … fun addCount(builder: FlatBufferBuilder, count: UShort) = builder.addShort(2, count.toShort(), 0) in startStat()
DStat.java40 …public static void addCount(FlatBufferBuilder builder, int count) { builder.addShort(2, (short)cou… in addCount()
DMonster.kt850 fun addMana(builder: FlatBufferBuilder, mana: Short) = builder.addShort(1, mana, 150) in MonsterBufferHasIdentifier()
851 fun addHp(builder: FlatBufferBuilder, hp: Short) = builder.addShort(2, hp, 100) in MonsterBufferHasIdentifier()
DMonster.java216 …public static void addMana(FlatBufferBuilder builder, short mana) { builder.addShort(1, mana, 150)… in addMana()
217 public static void addHp(FlatBufferBuilder builder, short hp) { builder.addShort(2, hp, 100); } in addHp()
/third_party/flatbuffers/android/app/src/main/java/generated/com/fbs/app/
DAnimal.kt56 …fun addWeight(builder: FlatBufferBuilder, weight: UShort) = builder.addShort(2, weight.toShort(), … in startAnimal()