/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/ |
D | SliceSpliteratorTest.java | 73 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 86 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 99 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 112 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 128 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 142 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 156 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 170 SliceTester r = (size, skip, limit) -> { in sliceSpliteratorDataProvider() local 191 public void testSliceSpliterator(String description, SliceTester r) { in testSliceSpliterator()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | ThreadLocalRandom8Test.java | 43 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBadStreamSize() local 60 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBadStreamBounds() local 77 ThreadLocalRandom r = ThreadLocalRandom.current(); in testIntsCount() local 92 ThreadLocalRandom r = ThreadLocalRandom.current(); in testLongsCount() local 107 ThreadLocalRandom r = ThreadLocalRandom.current(); in testDoublesCount() local 122 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBoundedInts() local 141 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBoundedLongs() local 160 ThreadLocalRandom r = ThreadLocalRandom.current(); in testBoundedDoubles() local 179 ThreadLocalRandom r = ThreadLocalRandom.current(); in testUnsizedIntsCount() local 190 ThreadLocalRandom r = ThreadLocalRandom.current(); in testUnsizedLongsCount() local [all …]
|
D | ConcurrentHashMap8Test.java | 765 Long r; in testReduceKeysSequentially() local 775 Long r; in testReduceValuesSequentially() local 785 Map.Entry<Long,Long> r; in testReduceEntriesSequentially() local 795 Long r; in testReduceKeysInParallel() local 805 Long r; in testReduceValuesInParallel() local 815 Map.Entry<Long,Long> r; in testReduceEntriesInParallel() local 825 Long r = m.reduceKeys(Long.MAX_VALUE, (Long x) -> Long.valueOf(4 * x.longValue()), in testMapReduceKeysSequentially() local 835 Long r = m.reduceValues(Long.MAX_VALUE, (Long x) -> Long.valueOf(4 * x.longValue()), in testMapReduceValuesSequentially() local 845 … Long r = m.reduce(Long.MAX_VALUE, (Long x, Long y) -> Long.valueOf(x.longValue() + y.longValue()), in testMappedReduceSequentially() local 856 Long r = m.reduceKeys(1L, (Long x) -> Long.valueOf(4 * x.longValue()), in testMapReduceKeysInParallel() local [all …]
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureRandomTest.java | 147 SecureRandom r = SecureRandom.getInstance("anotherRandom", "SRProvider"); in testGetInstanceStringString() local 160 SecureRandom r = SecureRandom.getInstance("someRandom", "UnknownProvider"); in testGetInstanceStringString() local 173 SecureRandom r = SecureRandom.getInstance("someRandom", (String)null); in testGetInstanceStringString() local 186 SecureRandom r = SecureRandom.getInstance(null, "SRProvider"); in testGetInstanceStringString() local 210 SecureRandom r = SecureRandom.getInstance("unknownRandom", p); in testGetInstanceStringProvider() local 222 SecureRandom r = SecureRandom.getInstance(null, p); in testGetInstanceStringProvider() local 233 SecureRandom r = SecureRandom.getInstance("anyRandom", (Provider)null); in testGetInstanceStringProvider() local
|
/libcore/luni/src/test/java/tests/java/sql/ |
D | InsertFunctionalityTest.java | 162 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert3() local 178 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert4() local 196 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsert5() local 216 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testInsertPrepared() local
|
D | UpdateFunctionalityTest2.java | 189 ResultSet r = statement.executeQuery("SELECT COUNT(*) " + "FROM " in testUpdate5() local 232 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testUpdate7() local 251 ResultSet r = statement.executeQuery("SELECT id FROM " in testUpdate8() local 275 ResultSet r = statement.executeQuery("SELECT testId, testValue FROM " in testUpdate9() local
|
D | DeleteFunctionalityTest.java | 158 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete5() local 175 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete6() local 194 ResultSet r = statement.executeQuery("SELECT COUNT(*) FROM " in testDelete7() local
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldBufferedReaderTest.java | 147 int r = br.read(); in test_read() local 328 BufferedReader r = new BufferedReader(new StringReader("1\r2\n3\r\n4")); in test_readLine_all_line_endings() local 337 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_read() local 346 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_array_read_1() local 354 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_array_read_2() local 363 BufferedReader r = new BufferedReader(new StringReader("1\r\n2")); in test_readLine_interaction_with_skip() local 371 BufferedReader r = new BufferedReader(new StringReader("1\r\n2\n3")); in test_readLine_interaction_with_mark_and_reset() local
|
D | OldAndroidByteArrayInputStreamTest.java | 45 int r; in read() local 65 int r; in skipRead() local 78 int r; in markRead() local
|
D | OldAndroidCharArrayReaderTest.java | 44 int r; in read() local 64 int r; in skipRead() local 77 int r; in markRead() local
|
D | OldAndroidStringReaderTest.java | 42 int r; in read() local 62 int r; in skipRead() local 75 int r; in markRead() local
|
D | OldAndroidPushbackInputStreamTest.java | 59 int r; in read() local 79 int r; in skipRead() local 92 int r; in markRead() local
|
D | OldAndroidBufferedReaderTest.java | 67 int r; in read() local 87 int r; in skipRead() local 100 int r; in markRead() local
|
D | OldAndroidLineNumberReaderTest.java | 81 int r; in read() local 101 int r; in skipRead() local 114 int r; in markRead() local
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | PKIXCertPathBuilderResultTest.java | 86 CertPathBuilderResult r = in testPKIXCertPathBuilderResult01() local 109 CertPathBuilderResult r = in testPKIXCertPathBuilderResult02() local 217 CertPathBuilderResult r = in testGetCertPath() local 242 CertPathBuilderResult r = in testToString() local
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | BigIntegerBenchmark.java | 24 Random r = new Random(); in timeRandomDivision() local 33 Random r = new Random(); in timeRandomGcd() local 42 Random r = new Random(); in timeRandomMultiplication() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileWriterTest.java | 50 int r = br.read(buf); in test_ConstructorLjava_io_File() local 104 int r = br.read(buf); in test_ConstructorLjava_io_FileDescriptor() local 123 int r = br.read(buf); in test_ConstructorLjava_lang_String() local 141 int r = br.read(buf); in test_ConstructorLjava_lang_StringZ() local
|
D | FileReaderTest.java | 48 int r = br.read(buf); in test_ConstructorLjava_io_File() local 64 int r = br.read(buf); in test_ConstructorLjava_io_FileDescriptor() local 80 int r = br.read(buf); in test_ConstructorLjava_lang_String() local
|
D | StringReaderTest.java | 85 int r = sr.read(); in test_read() local 98 int r = sr.read(buf, 0, testString.length()); in test_read$CII() local 112 int r = 0; in test_ready() local
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/ |
D | DeserializeMethodTest.java | 59 Runnable r = (Runnable & Serializable) () -> { }; in foo() local 69 Runnable r = () -> { }; in foo() local 80 Runnable r = (Runnable & Marker) () -> { }; in foo() local
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
D | FindFirstOpTest.java | 68 Optional<Integer> r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseStream() local 88 OptionalInt r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseIntStream() local 108 OptionalLong r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseLongStream() local 128 OptionalDouble r = exerciseTerminalOps(data, fs, s -> s.findFirst()); in exerciseDoubleStream() local
|
D | FindAnyOpTest.java | 77 Integer r = or.get(); in exerciseStream() local 101 int r = or.getAsInt(); in exerciseIntStream() local 125 long r = or.getAsLong(); in exerciseLongStream() local 149 double r = or.getAsDouble(); in exerciseDoubleStream() local
|
/libcore/luni/src/main/java/java/math/ |
D | BigInt.java | 231 BigInt r = newBigInt(); in shift() local 253 BigInt r = newBigInt(); in addition() local 263 BigInt r = newBigInt(); in subtraction() local 270 BigInt r = newBigInt(); in gcd() local 276 BigInt r = newBigInt(); in product() local 283 BigInt r = newBigInt(); in bigExp() local 317 BigInt r = newBigInt(); in modulus() local 324 BigInt r = newBigInt(); in modExp() local 331 BigInt r = newBigInt(); in modInverse() local 338 BigInt r = newBigInt(); in generatePrimeDefault() local
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | GZIPOutputStreamTest.java | 103 int r = 0; in test_finish() local 130 int r = 0; in test_close() local 161 int r = 0; in test_write$BII() local
|
/libcore/ojluni/src/main/java/java/lang/ref/ |
D | ReferenceQueue.java | 66 private boolean enqueueLocked(Reference<? extends T> r) { in enqueueLocked() 125 Reference<? extends T> r = head; in reallyPollLocked() local 186 Reference<? extends T> r = reallyPollLocked(); in remove() local
|