/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | RandomTest.java | 42 Random r2 = new Random(8409238L); in test_ConstructorJ() local 45 .nextInt() == r2.nextInt()); in test_ConstructorJ() 51 Random r2 = new Random(); in test_setSeed() local 52 r2.setSeed(1337); in test_setSeed() 55 .nextInt() == r2.nextInt()); in test_setSeed()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | RandomTest.java | 40 MyRandom r2 = new MyRandom(123L); in test_subclassing() local 41 r2.nextInt(); in test_subclassing() 42 assertNotNull(r2.state); in test_subclassing()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 303 Callable<String> r1, Callable<String> r2) throws Exception { in assertMultipleDefinitionCharacteristics() argument 306 assertEquals(r1.call(), r2.call()); in assertMultipleDefinitionCharacteristics() 325 Callable<String> r1, Callable<String> r2) throws Exception { in assertMultipleInstanceCharacteristics() argument 328 assertEquals(r1.call(), r2.call()); in assertMultipleInstanceCharacteristics()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipFileTest.java | 323 int r1, r2; in test_reset() local 326 r2 = is.read(rbuf2); in test_reset() 327 assertEquals(rbuf2.length, r2); in test_reset()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 1658 final SubtractFunction r2 = new SubtractFunction(m); in testThenCombine_exceptionalCompletion() local 1672 final CompletableFuture<Integer> h2 = m.thenCombine(f, g, r2); in testThenCombine_exceptionalCompletion() 1682 r2.assertNotInvoked(); in testThenCombine_exceptionalCompletion() 1701 final SubtractFunction r2 = new SubtractFunction(m); in testThenCombine_sourceCancelled() local 1715 final CompletableFuture<Integer> h2 = m.thenCombine(f, g, r2); in testThenCombine_sourceCancelled() 1725 r2.assertNotInvoked(); in testThenCombine_sourceCancelled() 1743 final FailingBiFunction r2 = new FailingBiFunction(m); in testThenCombine_actionFailed() local 1753 final CompletableFuture<Integer> h2 = m.thenCombine(f, g, r2); in testThenCombine_actionFailed() 1761 r2.assertInvoked(); in testThenCombine_actionFailed() 1780 final SubtractAction r2 = new SubtractAction(m); in testThenAcceptBoth_normalCompletion() local [all …]
|
D | ThreadPoolExecutorTest.java | 1193 LatchAwaiter r2 = awaiter(done); in testSaturatedExecute4() local 1202 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4() 1205 p.execute(r2); in testSaturatedExecute4() 1206 assertTrue(p.getQueue().contains(r2)); in testSaturatedExecute4() 1208 assertFalse(p.getQueue().contains(r2)); in testSaturatedExecute4() 1212 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4()
|
D | ThreadPoolExecutorSubclassTest.java | 1222 LatchAwaiter r2 = awaiter(done); in testSaturatedExecute4() local 1231 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4() 1234 p.execute(r2); in testSaturatedExecute4() 1235 assertTrue(p.getQueue().contains(r2)); in testSaturatedExecute4() 1237 assertFalse(p.getQueue().contains(r2)); in testSaturatedExecute4() 1241 assertEquals(LatchAwaiter.NEW, r2.state); in testSaturatedExecute4()
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Collectors.java | 214 (r1, r2) -> { r1.addAll(r2); return r1; }, in toCollection() 266 (r1, r2) -> { r1.append(r2); return r1; },
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X500Name.java | 410 RDN r2 = other.names[i]; in equals() local 411 if (r1.assertion.length != r2.assertion.length) { in equals()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | OpTestCase.java | 118 Collection<U> r2 = withData(data).stream(m).exercise(); in exerciseOpsMulti() local 119 assertEquals(result, r2); in exerciseOpsMulti()
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
D | OpTestCase.java | 117 Collection<U> r2 = withData(data).stream(m).exercise(); in exerciseOpsMulti() local 118 assertEquals(result, r2); in exerciseOpsMulti()
|