Home
last modified time | relevance | path

Searched refs:floats (Results 1 – 25 of 96) sorted by relevance

1234

/external/skia/tests/
DPMFloatTest.cpp45 SkPMFloat floats[4]; in DEF_TEST() local
46 SkPMFloat::From4PMColors(colors, floats+0, floats+1, floats+2, floats+3); in DEF_TEST()
49 SkPMFloat::RoundTo4PMColors(floats[0], floats[1], floats[2], floats[3], back); in DEF_TEST()
54 SkPMFloat::RoundClampTo4PMColors(floats[0], floats[1], floats[2], floats[3], back); in DEF_TEST()
/external/v8/test/mjsunit/
Dnans.js75 var floats = new Float32Array(bytes.buffer);
76 assertTrue(isNaN(floats[0]));
77 assertTrue(isNaN(floats[0]*2.0));
78 assertTrue(isNaN(floats[0] + 0.5));
90 var floats = new Float32Array(bytes.buffer);
91 assertTrue(isNaN(floats[0]));
92 assertTrue(isNaN(floats[0]*2.0));
93 assertTrue(isNaN(floats[0] + 0.5));
/external/llvm/test/CodeGen/Mips/cconv/
Darguments-float.ll21 @floats = global [11 x float] zeroinitializer
108 %0 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 1
110 %1 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 2
112 %2 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 3
114 %3 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 4
116 %4 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 5
118 %5 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 6
120 %6 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 7
122 %7 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 8
124 %8 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 9
[all …]
Darguments-hard-float.ll21 @floats = global [11 x float] zeroinitializer
90 %0 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 1
92 %1 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 2
94 %2 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 3
96 %3 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 4
98 %4 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 5
100 %5 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 6
102 %6 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 7
104 %7 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 8
106 %8 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 9
[all …]
Darguments-hard-float-varargs.ll22 @floats = global [11 x float] zeroinitializer
93 %0 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 1
100 %1 = getelementptr [11 x float], [11 x float]* @floats, i32 0, i32 2
109 ; SYM32-DAG: addiu [[R2:\$[0-9]+]], ${{[0-9]+}}, %lo(floats)
110 ; SYM64-DAG: ld [[R2:\$[0-9]]], %got_disp(floats)(
132 ; arguments-float.ll, GCC doesn't agree with MD00305 and treats floats as 4
/external/jmonkeyengine/engine/src/core/com/jme3/math/
DColorRGBA.java407 public float[] toArray(float[] floats) { in toArray() argument
408 if (floats == null) { in toArray()
409 floats = new float[4]; in toArray()
411 floats[0] = r; in toArray()
412 floats[1] = g; in toArray()
413 floats[2] = b; in toArray()
414 floats[3] = a; in toArray()
415 return floats; in toArray()
DVector2f.java664 public float[] toArray(float[] floats) { in toArray() argument
665 if (floats == null) { in toArray()
666 floats = new float[2]; in toArray()
668 floats[0] = x; in toArray()
669 floats[1] = y; in toArray()
670 return floats; in toArray()
DVector4f.java845 public float[] toArray(float[] floats) {
846 if (floats == null) {
847 floats = new float[4];
849 floats[0] = x;
850 floats[1] = y;
851 floats[2] = z;
852 floats[3] = w;
853 return floats;
DVector3f.java922 public float[] toArray(float[] floats) {
923 if (floats == null) {
924 floats = new float[3];
926 floats[0] = x;
927 floats[1] = y;
928 floats[2] = z;
929 return floats;
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowColorMatrix.java62 List<String> floats = new ArrayList<String>(); in toString() local
66 floats.add(format); in toString()
68 return Join.join(",", floats); in toString()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DParcelTest.java128 final float[] floats = {1.1f, 2.0f}; in testReadWriteFloatArray() local
129 parcel.writeFloatArray(floats); in testReadWriteFloatArray()
131 final float[] floats2 = new float[floats.length]; in testReadWriteFloatArray()
133 assertTrue(Arrays.equals(floats, floats2)); in testReadWriteFloatArray()
445 final float[] floats = {1.5f, 2.25f}; in testWriteCreateFloatArray() local
446 parcel.writeFloatArray(floats); in testWriteCreateFloatArray()
449 assertTrue(Arrays.equals(floats, floats2)); in testWriteCreateFloatArray()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUInstrInfo.td35 // out = max(a, b) a and b are floats
50 // out = min(a, b) a and b are floats
/external/llvm/test/CodeGen/Mips/
Dfpxx.ll43 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
178 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
181 ; floats/doubles are not passed in integer registers for n64, so dmtc1 is not used.
208 ; floats/doubles are not passed in integer registers for n64, so dmfc1 is not used.
215 ; floats/doubles are not passed in integer registers for n64, so dmfc1 is not used.
/external/llvm/lib/Target/R600/
DAMDGPUInstrInfo.td72 // out = max(a, b) a and b are floats, where a nan comparison fails.
92 // out = min(a, b) a and b are floats, where a nan comparison fails.
109 // out = max(a, b, c) a, b and c are floats
124 // out = min(a, b, c) a, b and c are floats
/external/llvm/test/CodeGen/SystemZ/
Dfp-move-09.ll5 ; Check that moves from i32s to floats can use high registers.
19 ; Check that moves from floats to i32s can use high registers.
/external/protobuf/src/google/protobuf/
Dunittest_repeated_packables_nano.proto62 repeated float floats = 11; field
87 repeated float floats = 11 [ packed = true ]; field
/external/javassist/src/test/test/javassist/convert/
DArrayAccessReplaceTest.java286 private float[] floats; field in ArrayAccessReplaceTest.Simple
314 return floats[pos]; in getFloat()
358 floats[pos] = value; in setFloat()
/external/skia/
DHASHTAGS16 floats,BUG=skia:3592
/external/nanopb-c/examples/using_double_on_avr/
DREADME.txt12 convert these values to/from floats, without relying on compiler
/external/guava/guava-gwt/test-super/com/google/common/primitives/super/com/google/common/primitives/
DBytesTest.java207 List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); in testToArray_withConversion() local
214 assertTrue(Arrays.equals(array, Bytes.toArray(floats))); in testToArray_withConversion()
/external/icu/icu4c/source/test/letest/
Dgendata.cpp121 void dumpFloats(FILE *file, const char *tag, float *floats, le_int32 count) { in dumpFloats() argument
133 bufp += sprintf(&lineBuffer[bufp], "%f, ", floats[i]); in dumpFloats()
/external/guava/guava-tests/test/com/google/common/primitives/
DBytesTest.java209 List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2); in testToArray_withConversion() local
216 assertTrue(Arrays.equals(array, Bytes.toArray(floats))); in testToArray_withConversion()
/external/valgrind/none/tests/ppc64/
Dtest_isa_2_07_part1.c1116 int integer, floats, altivec, faltivec; member
1916 (family == PPC_FLOAT && !seln_flags.floats) || in do_tests()
2063 flags.floats = 0; in main()
2076 flags.floats = 1; in main()
2084 flags.floats = 1; in main()
2117 printf(" floats = %d\n", flags.floats); in main()
/external/valgrind/none/tests/ppc32/
Dtest_isa_2_07_part1.c1116 int integer, floats, altivec, faltivec; member
1916 (family == PPC_FLOAT && !seln_flags.floats) || in do_tests()
2063 flags.floats = 0; in main()
2076 flags.floats = 1; in main()
2084 flags.floats = 1; in main()
2117 printf(" floats = %d\n", flags.floats); in main()
/external/eigen/doc/
DTutorialMatrixClass.dox22 That is, if you want a matrix of floats, choose \c float here.
31 a 4x4 matrix of floats. Here is how it is defined by Eigen:
44 For example, the convenience typedef \c Vector3f is a (column) vector of 3 floats. It is defined as…
243 …For example the following matrix type uses a plain array of 12 floats, without dynamic memory allo…

1234