Searched refs:nextFloat (Results 1 – 9 of 9) sorted by relevance
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | RandomTest.java | 122 float lastNum = r.nextFloat(); in test_nextFloat() 127 nextNum = r.nextFloat(); in test_nextFloat() 287 mr.nextFloat(); in test_next()
|
D | ScannerTest.java | 1543 assertEquals((float)123.0, s.nextFloat()); in test_nextFloat() 1544 assertEquals((float)456.0, s.nextFloat()); in test_nextFloat() 1545 assertEquals((float)123.4, s.nextFloat()); in test_nextFloat() 1546 assertEquals((float)0.123, s.nextFloat()); in test_nextFloat() 1548 s.nextFloat(); in test_nextFloat() 1555 assertEquals((float)123.4, s.nextFloat()); in test_nextFloat() 1556 assertEquals((float)-456.7, s.nextFloat()); in test_nextFloat() 1557 assertEquals((float)123456.789, s.nextFloat()); in test_nextFloat() 1559 s.nextFloat(); in test_nextFloat() 1567 assertEquals((float)1.234E12, s.nextFloat()); in test_nextFloat() [all …]
|
/libcore/luni/src/test/java/libcore/dalvik/system/ |
D | EmulatedStackFrameTest.java | 53 assertEquals(42.0f, reader.nextFloat()); in testReaderWriter_allParamTypes() 101 assertEquals(52.0f, reader.nextFloat()); in testReaderWriter_allReturnTypes()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | Transformers.java | 534 filterWriter.putNextFloat(returnValueReader.nextFloat()); in transform() 589 arguments[i] = reader.nextFloat(); in transform() 744 case 'F': { o = reader.nextFloat(); break; } in referenceArray() 850 case 'F': { arityArray[i] = reader.nextFloat(); break; } in floatArray() 871 case 'F': { arityArray[i] = reader.nextFloat(); break; } in doubleArray() 944 case 'F': { writer.putNextFloat(reader.nextFloat()); break; } in copyParameter() 1428 array[i] = reader.nextFloat(); in transform() 1874 return (byte) reader.nextFloat(); in readPrimitiveAsByte() 1896 return (char) reader.nextFloat(); in readPrimitiveAsChar() 1918 return (short) reader.nextFloat(); in readPrimitiveAsShort() [all …]
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalRandomTest.java | 96 float f = ThreadLocalRandom.current().nextFloat(); 98 while (i < NCALLS && ThreadLocalRandom.current().nextFloat() == f)
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 398 writer.putNextFloat(reader.nextFloat()); in copyNext() 506 public float nextFloat() { in nextFloat() method in EmulatedStackFrame.StackFrameReader
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Random.java | 90 public float nextFloat() { in nextFloat() method in Random
|
/libcore/ojluni/src/main/java/java/util/ |
D | Random.java | 488 public float nextFloat() { in nextFloat() method in Random
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ThreadLocalRandom.java | 440 public float nextFloat() { in nextFloat() method in ThreadLocalRandom
|