Home
last modified time | relevance | path

Searched refs:r2 (Results 1 – 11 of 11) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DRandomTest.java42 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/
DRandomTest.java40 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/
DLambdaImplementationTest.java303 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/
DZipFileTest.java323 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/
DCompletableFutureTest.java1658 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 …]
DThreadPoolExecutorTest.java1193 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()
DThreadPoolExecutorSubclassTest.java1222 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/
DCollectors.java214 (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/
DX500Name.java410 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/
DOpTestCase.java118 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/
DOpTestCase.java117 Collection<U> r2 = withData(data).stream(m).exercise(); in exerciseOpsMulti() local
118 assertEquals(result, r2); in exerciseOpsMulti()