/libcore/luni/src/test/java/libcore/java/lang/ |
D | LambdaImplementationTest.java | 42 Callable<String> r1 = () -> "Hello World"; in testNonCapturingLambda() local 43 assertGeneralLambdaClassCharacteristics(r1); in testNonCapturingLambda() 44 assertLambdaImplementsInterfaces(r1, Callable.class); in testNonCapturingLambda() 45 assertLambdaMethodCharacteristics(r1, Callable.class); in testNonCapturingLambda() 46 assertNonSerializableLambdaCharacteristics(r1); in testNonCapturingLambda() 47 assertCallableBehavior(r1, "Hello World"); in testNonCapturingLambda() 53 assertMultipleDefinitionCharacteristics(r1, callables.get(0)); in testNonCapturingLambda() 85 Callable<String> r1 = LambdaImplementationTest::staticMethod; in testStaticMethodReferenceLambda() local 86 assertGeneralLambdaClassCharacteristics(r1); in testStaticMethodReferenceLambda() 87 assertLambdaImplementsInterfaces(r1, Callable.class); in testStaticMethodReferenceLambda() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
D | ZipFileTest.java | 323 int r1, r2; in test_reset() local 324 r1 = is.read(rbuf1); in test_reset() 325 assertEquals(rbuf1.length, r1); in test_reset() 340 r1 = is.read(rbuf3); in test_reset() 341 assertEquals(4183, r1); in test_reset() 350 r1 = is.read(rbuf3, 0, 3000); in test_reset() 351 assertEquals(3000, r1); in test_reset()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | RandomTest.java | 36 MyRandom r1 = new MyRandom(); in test_subclassing() local 37 r1.nextInt(); in test_subclassing() 38 assertNotNull(r1.state); in test_subclassing()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 1657 final SubtractFunction r1 = new SubtractFunction(m); in testThenCombine_exceptionalCompletion() local 1670 final CompletableFuture<Integer> h1 = m.thenCombine(f, g, r1); in testThenCombine_exceptionalCompletion() 1681 r1.assertNotInvoked(); in testThenCombine_exceptionalCompletion() 1700 final SubtractFunction r1 = new SubtractFunction(m); in testThenCombine_sourceCancelled() local 1713 final CompletableFuture<Integer> h1 = m.thenCombine(f, g, r1); in testThenCombine_sourceCancelled() 1724 r1.assertNotInvoked(); in testThenCombine_sourceCancelled() 1742 final FailingBiFunction r1 = new FailingBiFunction(m); in testThenCombine_actionFailed() local 1751 final CompletableFuture<Integer> h1 = m.thenCombine(f, g, r1); in testThenCombine_actionFailed() 1760 r1.assertInvoked(); in testThenCombine_actionFailed() 1779 final SubtractAction r1 = new SubtractAction(m); in testThenAcceptBoth_normalCompletion() local [all …]
|
D | ThreadPoolExecutorTest.java | 1192 LatchAwaiter r1 = awaiter(done); in testSaturatedExecute4() local 1201 assertEquals(LatchAwaiter.NEW, r1.state); in testSaturatedExecute4() 1204 p.execute(r1); in testSaturatedExecute4() 1211 assertEquals(LatchAwaiter.DONE, r1.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/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
D | BigIntegerOrTest.java | 414 BigInteger r1 = x.and((BigInteger.ZERO.not()).shiftLeft(32)); in testRegression() local 416 BigInteger result = r1.or(r3); in testRegression()
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | Collection8Test.java | 578 Object r1, r2; 581 r1 = iterated; 583 r1 = ConcurrentModificationException.class; 593 assertEquals(r1, r2);
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X500Name.java | 409 RDN r1 = this.names[i]; in equals() local 411 if (r1.assertion.length != r2.assertion.length) { in equals()
|
/libcore/ojluni/src/main/java/java/math/ |
D | MutableBigInteger.java | 1326 MutableBigInteger r1 = aUpper.divide3n2n(b, q1); in divide2n1n() local 1329 addDisjoint(r1, n/2); // this = [r1,this] in divide2n1n()
|