/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
FloatArr.java | 21 private float[] floats; field in class:FloatArr 26 public FloatArr(float[] floats) { 27 this.floats = floats; 31 return Arrays.toString(floats); 35 return floats; 38 public void setFloats(float[] floats) { 39 this.floats = floats;
|
PrimitiveArrayTest.java | 36 private final float[] floats = new float[] { 0.1f, 3.1415f }; field in class:PrimitiveArrayTest 46 + Arrays.toString(floats) + " ]\n" + "- " + pkg + ".DoubleArr [ " 58 Assert.assertArrayEquals(floats, ((FloatArr) wrappers.get(4)).getFloats(), 0.001f); 169 FloatArr floatArr = new FloatArr(floats);
|
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/cris/ |
labfloat.s | 1 ; Check if labels are mistaken for floats. 2 ; Since we don't handle floats at all, "0f" should not be mistaken for a
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ArrayTest.java | 27 private static float[] floats; field in class:ArrayTest 38 floats = new float[] { (float) 0xffffffff }; 49 try { Array.getBoolean(floats, 0); fail(); } catch (IllegalArgumentException expected) {} 61 try { Array.getByte(floats, 0); fail(); } catch (IllegalArgumentException expected) {} 73 try { Array.getChar(floats, 0); fail(); } catch (IllegalArgumentException expected) {} 85 assertEquals((double) floats[0], Array.getDouble(floats, 0)); 96 assertEquals(floats[0], Array.getFloat(floats, 0)); 109 try { Array.getInt(floats, 0); fail(); } catch (IllegalArgumentException expected) { [all...] |
/art/test/407-arrays/src/ |
Main.java | 33 int[] ints, Object[] objects, long[] longs, float[] floats, 56 assertEquals(0, floats[0]); 57 assertEquals(0, floats[index]); 64 int[] ints, Object[] objects, long[] longs, float[] floats, 112 floats[0] = f / (1 | 0); 113 assertEquals(f, floats[0]); 114 floats[index] = f / (1 | 0); 115 assertEquals(f, floats[index]);
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowColorMatrix.java | 62 List<String> floats = new ArrayList<String>(); local 66 floats.add(format); 68 return Join.join(",", floats);
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_vertex_frame.cpp | 54 jfloatArray floats) { 56 if (frame && floats) { 57 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 58 const int length = env->GetArrayLength(floats); 62 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT);
|
jni_vertex_frame.h | 38 jfloatArray floats);
|
jni_gl_frame.cpp | 31 void ConvertFloatsToRGBA(const float* floats, int length, uint8_t* result) { 33 result[i] = static_cast<uint8_t>(floats[i] * 255.0); 172 jfloatArray floats) { 174 if (frame && floats) { 175 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 176 const int length = env->GetArrayLength(floats); 178 // Convert floats to RGBA buffer 181 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT); 205 // Convert them to floats
|
jni_native_frame.cpp | 134 jfloatArray floats) { 136 if (frame && floats) { 137 jfloat* float_ptr = env->GetFloatArrayElements(floats, NULL); 138 const int length = env->GetArrayLength(floats); 143 env->ReleaseFloatArrayElements(floats, float_ptr, JNI_ABORT);
|
/libcore/ojluni/src/main/native/ |
ObjectOutputStream.c | 59 jfloat *floats; local 73 floats = (*env)->GetPrimitiveArrayCritical(env, src, NULL); 74 if (floats == NULL) /* exception thrown */ 79 (*env)->ReleasePrimitiveArrayCritical(env, src, floats, JNI_ABORT); 85 (*env)->ReleasePrimitiveArrayCritical(env, src, floats, JNI_ABORT); 92 fval = (float) floats[srcpos]; 105 (*env)->ReleasePrimitiveArrayCritical(env, src, floats, JNI_ABORT);
|
ObjectInputStream.c | 60 jfloat *floats; local 83 floats = (*env)->GetPrimitiveArrayCritical(env, dst, NULL); 84 if (floats == NULL) { /* exception thrown */ 97 floats[dstpos] = (jfloat) u.f; 102 (*env)->ReleasePrimitiveArrayCritical(env, dst, floats, 0);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
VertexFrame.java | 75 public void setFloats(float[] floats) { 77 if (!setNativeFloats(floats)) { 140 private native boolean setNativeFloats(float[] floats);
|
NativeFrame.java | 126 public void setFloats(float[] floats) { 128 if (floats.length * nativeFloatSize() > getFormat().getSize()) { 130 "NativeFrame cannot hold " + floats.length + " floats. (Can only hold " + 131 (getFormat().getSize() / nativeFloatSize()) + " floats)."); 132 } else if (!setNativeFloats(floats)) { 250 private native boolean setNativeFloats(float[] floats);
|
SimpleFrame.java | 99 public void setFloats(float[] floats) { 101 setGenericObjectValue(floats);
|
/external/v8/test/mjsunit/ |
nans.js | 88 var floats = new Float32Array(bytes.buffer); 89 assertTrue(isNaN(floats[0])); 90 assertTrue(isNaN(floats[0]*2.0)); 91 assertTrue(isNaN(floats[0] + 0.5)); 103 var floats = new Float32Array(bytes.buffer); 104 assertTrue(isNaN(floats[0])); 105 assertTrue(isNaN(floats[0]*2.0)); 106 assertTrue(isNaN(floats[0] + 0.5));
|
/external/clang/test/CodeGen/ |
x86_32-arguments-iamcu.c | 6 // CHECK-LABEL: define void @floats(float inreg %a, float inreg %b, float inreg %c, float %d) 7 void floats(float a, float b, float c, float d) {} function
|
/prebuilts/go/darwin-x86/test/ |
const.go | 65 // verify that all are assignable as floats 83 func floats() { func 103 // verify that all are assignable as floats 123 floats()
|
/prebuilts/go/linux-x86/test/ |
const.go | 65 // verify that all are assignable as floats 83 func floats() { func 103 // verify that all are assignable as floats 123 floats()
|
/art/test/003-omnibus-opcodes/src/ |
Array.java | 60 static void checkFloats(float[] floats) { 61 Main.assertTrue(floats[0] == -1.5); 62 Main.assertTrue(floats[1] == -0.5); 63 Main.assertTrue(floats[2] == 0.0); 64 Main.assertTrue(floats[3] == 0.5); 65 Main.assertTrue(floats[4] == 1.5);
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue7740.go | 7 // This test computes the precision of the compiler's internal multiprecision floats.
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue7740.go | 7 // This test computes the precision of the compiler's internal multiprecision floats.
|
/external/chromium-trace/catapult/third_party/graphy/graphy/backends/google_chart_api/ |
util_test.py | 52 floats = [1.1, 2.1, 3.1, 4.1] 53 self.assertEqual(self.simple.Encode(ints), self.simple.Encode(floats))
|
/external/libgdx/extensions/gdx-bullet/jni/swig/ |
TODO.txt | 17 floats are directly accessed in JNI.
|
/external/v8/test/mjsunit/es6/ |
typedarray-sort.js | 35 // For arrays of floats, certain handling of +-0/NaN
|