Home
last modified time | relevance | path

Searched refs:addFloat (Results 1 – 18 of 18) sorted by relevance

/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DFloatArrayListTest.java67 list.addFloat(3); in testMakeImmutable()
68 list.addFloat(4); in testMakeImmutable()
69 list.addFloat(5); in testMakeImmutable()
70 list.addFloat(7); in testMakeImmutable()
209 list.addFloat(3); in testSize()
210 list.addFloat(4); in testSize()
211 list.addFloat(6); in testSize()
212 list.addFloat(8); in testSize()
223 list.addFloat(2); in testSet()
224 list.addFloat(4); in testSet()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DFloatArrayList.java183 addFloat(element); in add()
189 addFloat(index, element); in add()
194 public void addFloat(float element) { in addFloat() method in FloatArrayList
209 private void addFloat(int index, float element) { in addFloat() method in FloatArrayList
DArrayDecoders.java341 output.addFloat(decodeFloat(data, position)); in decodeFloatList()
348 output.addFloat(decodeFloat(data, nextPosition)); in decodeFloatList()
493 output.addFloat(decodeFloat(data, position)); in decodePackedFloatList()
DCodedInputStreamReader.java353 plist.addFloat(input.readFloat()); in readFloatList()
358 plist.addFloat(input.readFloat()); in readFloatList()
DInternal.java677 void addFloat(float element);
DBinaryReader.java436 plist.addFloat(Float.intBitsToFloat(readLittleEndian32_NoCheck())); in readFloatList()
441 plist.addFloat(readFloat()); in readFloatList()
/third_party/flatbuffers/tests/MyGame/
DMonsterExtra.java80 …public static void addF0(FlatBufferBuilder builder, float f0) { builder.addFloat(4, f0, Float.NaN)… in addF0()
81 …public static void addF1(FlatBufferBuilder builder, float f1) { builder.addFloat(5, f1, Float.NaN)… in addF1()
82 …public static void addF2(FlatBufferBuilder builder, float f2) { builder.addFloat(6, f2, Float.POSI… in addF2()
83 …public static void addF3(FlatBufferBuilder builder, float f3) { builder.addFloat(7, f3, Float.NEGA… in addF3()
88 …(4, data.length, 4); for (int i = data.length - 1; i >= 0; i--) builder.addFloat(data[i]); return … in createFvecVector()
DMonsterExtra.kt205 fun addF0(builder: FlatBufferBuilder, f0: Float) = builder.addFloat(4, f0, Double.NaN) in startMonsterExtra()
206 fun addF1(builder: FlatBufferBuilder, f1: Float) = builder.addFloat(5, f1, Double.NaN) in startMonsterExtra()
207 …fun addF2(builder: FlatBufferBuilder, f2: Float) = builder.addFloat(6, f2, Double.POSITIVE_INFINIT… in startMonsterExtra()
208 …fun addF3(builder: FlatBufferBuilder, f3: Float) = builder.addFloat(7, f3, Double.NEGATIVE_INFINIT… in startMonsterExtra()
222 builder.addFloat(data[i]) in startDvecVector()
/third_party/flatbuffers/tests/optional_scalars/
DScalarStuff.java170 …public static void addJustF32(FlatBufferBuilder builder, float justF32) { builder.addFloat(24, jus… in addJustF32()
171 …public static void addMaybeF32(FlatBufferBuilder builder, float maybeF32) { builder.addFloat(25, m… in addMaybeF32()
172 …public static void addDefaultF32(FlatBufferBuilder builder, float defaultF32) { builder.addFloat(2… in addDefaultF32()
DScalarStuff.kt273 … fun addJustF32(builder: FlatBufferBuilder, justF32: Float) = builder.addFloat(24, justF32, 0.0) in startScalarStuff()
274 … fun addMaybeF32(builder: FlatBufferBuilder, maybeF32: Float) = builder.addFloat(25, maybeF32, 0.0) in startScalarStuff()
275 …fun addDefaultF32(builder: FlatBufferBuilder, defaultF32: Float) = builder.addFloat(26, defaultF32… in startScalarStuff()
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java428 public void addFloat (float x) { prep(Constants.SIZEOF_FLOAT, 0); putFloat (x); } in addFloat() method in FlatBufferBuilder
816 …public void addFloat (int o, float x, double d) { if(force_defaults || x != d) { addFloat (x)… in addFloat() method in FlatBufferBuilder
/third_party/flatbuffers/tests/
DJavaScriptFlexBuffersTest.js161 builder.addFloat(value, indirect, cache);
211 builder.addFloat(v, true, true);
/third_party/flatbuffers/php/
DFlatbufferBuilder.php386 public function addFloat($x) function in Google\\FlatBuffers\\FlatbufferBuilder
529 $this->addFloat($x);
/third_party/flatbuffers/tests/MyGame/Example/
DTypeAliases.java91 …public static void addF32(FlatBufferBuilder builder, float f32) { builder.addFloat(8, f32, 0.0f); } in addF32()
DTypeAliases.kt238 fun addF32(builder: FlatBufferBuilder, f32: Float) = builder.addFloat(8, f32, 0.0) in startTypeAliases()
DMonster.kt914 … fun addTestf(builder: FlatBufferBuilder, testf: Float) = builder.addFloat(25, testf, 3.14159) in startTestarrayofboolsVector()
915 fun addTestf2(builder: FlatBufferBuilder, testf2: Float) = builder.addFloat(26, testf2, 3.0) in startTestarrayofboolsVector()
916 fun addTestf3(builder: FlatBufferBuilder, testf3: Float) = builder.addFloat(27, testf3, 0.0) in startTestarrayofboolsVector()
DMonster.java252 …public static void addTestf(FlatBufferBuilder builder, float testf) { builder.addFloat(25, testf, … in addTestf()
253 …public static void addTestf2(FlatBufferBuilder builder, float testf2) { builder.addFloat(26, testf… in addTestf2()
254 …public static void addTestf3(FlatBufferBuilder builder, float testf3) { builder.addFloat(27, testf… in addTestf3()
/third_party/flatbuffers/ts/flexbuffers/
Dbuilder.ts527 addFloat(value: number, indirect = false, deduplicate = false): void {