Home
last modified time | relevance | path

Searched refs:nextFloat (Results 1 – 12 of 12) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DRandomTest.java122 float lastNum = r.nextFloat(); in test_nextFloat()
127 nextNum = r.nextFloat(); in test_nextFloat()
287 mr.nextFloat(); in test_next()
DScannerTest.java1543 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/
DEmulatedStackFrameTest.java53 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/
DTransformers.java534 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()
1856 return (byte) reader.nextFloat(); in readPrimitiveAsByte()
1880 return (char) reader.nextFloat(); in readPrimitiveAsChar()
1904 return (short) reader.nextFloat(); in readPrimitiveAsShort()
[all …]
/libcore/jsr166-tests/src/test/java/jsr166/
DThreadLocalRandomTest.java96 float f = ThreadLocalRandom.current().nextFloat();
98 while (i < NCALLS && ThreadLocalRandom.current().nextFloat() == f)
/libcore/ojluni/src/test/java/util/concurrent/tck/
DThreadLocalRandomTest.java163 float f = ThreadLocalRandom.current().nextFloat();
165 while (i < NCALLS && ThreadLocalRandom.current().nextFloat() == f)
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java407 writer.putNextFloat(reader.nextFloat()); in copyNext()
515 public float nextFloat() { in nextFloat() method in EmulatedStackFrame.StackFrameReader
/libcore/ojluni/annotations/hiddenapi/java/util/
DRandom.java90 public float nextFloat() { in nextFloat() method in Random
/libcore/ojluni/src/main/java/java/util/
DRandom.java488 public float nextFloat() { in nextFloat() method in Random
DScanner.java2362 public float nextFloat() { in nextFloat() method in Scanner
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadLocalRandom.java440 public float nextFloat() { in nextFloat() method in ThreadLocalRandom
/libcore/api/
Dcurrent.txt13553 method public float nextFloat();
13655 method public float nextFloat();