/external/guava/guava-tests/test/com/google/common/primitives/ |
FloatsTest.java | 37 * Unit test for {@link Floats}. 59 = Floats.concat(NUMBERS, new float[] {NaN}); 63 assertEquals(((Float) value).hashCode(), Floats.hashCode(value)); 69 assertEquals(!(Float.isInfinite(value) || Float.isNaN(value)), Floats.isFinite(value)); 79 Floats.compare(x, y)); 85 assertFalse(Floats.contains(EMPTY, (float) 1)); 86 assertFalse(Floats.contains(ARRAY1, (float) 2)); 87 assertFalse(Floats.contains(ARRAY234, (float) 1)); 88 assertTrue(Floats.contains(new float[] {(float) -1}, (float) -1)); 89 assertTrue(Floats.contains(ARRAY234, (float) 2)) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/Layout/ |
floats_100_100.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_100_100_nested.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_10_1000.html | 4 <title>Layout performance tester with 1000 rows containing 10 floats and a normal flow div.</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_20_100.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_20_100_nested.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_2_100.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_2_100_nested.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_50_100.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
floats_50_100_nested.html | 4 <title>Floats layout performance tester with 2 columns and 100 rows</title> 5 <link rel="stylesheet" href="resources/floats.css" TYPE="text/css"></link> 7 <script src="resources/floats.js"></script>
|
/external/chromium_org/v8/test/mjsunit/ |
nans.js | 75 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));
|
/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...] |
/external/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/ |
p2.cpp | 9 namespace Floats { 10 float zero = 0.0f; // expected-note {{candidate found by name lookup is 'Floats::zero'}} 17 using namespace Floats; 24 float f = Floats::zero; 25 Floats::f(f); 62 float f = Floats::zero;
|
/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_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
|
/external/robolectric/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);
|
/libcore/luni/src/main/java/java/nio/ |
FloatBuffer.java | 23 * A buffer of floats. 126 * The remaining floats will be moved to the head of the buffer, starting 137 * Compare the remaining floats of this buffer to another float buffer's 138 * remaining floats. 186 * <p>Two float buffers are equal if their remaining floats are equal. 189 * <p>This method considers two floats {@code a} and {@code b} to be equal 233 * Reads floats from the current position into the specified float array and 234 * increases the position by the number of floats read. 250 * Reads floats from the current position into the specified float array, 252 * number of floats read [all...] |
/external/chromium_org/cc/output/ |
gl_renderer_draw_cache.h | 15 // Collects 4 floats at a time for easy upload to GL. 20 // Collects 16 floats at a time for easy upload to GL.
|
/external/llvm/test/CodeGen/Mips/cconv/ |
arguments-float.ll | 21 @floats = global [11 x float] zeroinitializer 108 %0 = getelementptr [11 x float]* @floats, i32 0, i32 1 110 %1 = getelementptr [11 x float]* @floats, i32 0, i32 2 112 %2 = getelementptr [11 x float]* @floats, i32 0, i32 3 114 %3 = getelementptr [11 x float]* @floats, i32 0, i32 4 116 %4 = getelementptr [11 x float]* @floats, i32 0, i32 5 118 %5 = getelementptr [11 x float]* @floats, i32 0, i32 6 120 %6 = getelementptr [11 x float]* @floats, i32 0, i32 7 122 %7 = getelementptr [11 x float]* @floats, i32 0, i32 8 124 %8 = getelementptr [11 x float]* @floats, i32 0, i32 [all...] |
arguments-hard-float.ll | 21 @floats = global [11 x float] zeroinitializer 90 %0 = getelementptr [11 x float]* @floats, i32 0, i32 1 92 %1 = getelementptr [11 x float]* @floats, i32 0, i32 2 94 %2 = getelementptr [11 x float]* @floats, i32 0, i32 3 96 %3 = getelementptr [11 x float]* @floats, i32 0, i32 4 98 %4 = getelementptr [11 x float]* @floats, i32 0, i32 5 100 %5 = getelementptr [11 x float]* @floats, i32 0, i32 6 102 %6 = getelementptr [11 x float]* @floats, i32 0, i32 7 104 %7 = getelementptr [11 x float]* @floats, i32 0, i32 8 106 %8 = getelementptr [11 x float]* @floats, i32 0, i32 [all...] |
/external/chromium_org/ppapi/generators/test_cgen/ |
stdint.idl | 29 /** Small and large floats. */
|
/external/chromium_org/ppapi/generators/test_thunk/ |
basic_test_types.idl | 27 /** Small and large floats. */
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/unit/ |
u_half_test.c | 30 printf("Failure! %u/65536 half floats failed a conversion to float and back.\n", roundtrip_fails);
|
/external/mesa3d/src/gallium/tests/unit/ |
u_half_test.c | 30 printf("Failure! %u/65536 half floats failed a conversion to float and back.\n", roundtrip_fails);
|
/external/nanopb-c/examples/using_double_on_avr/ |
double_conversion.h | 6 * These functions use bitwise operations to mangle floats into doubles
|