/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 1282 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_normalCompletion() local 1285 checkIncomplete(h1); in testThenRun_normalCompletion() 1293 checkCompletedNormally(h1, null); in testThenRun_normalCompletion() 1315 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_exceptionalCompletion() local 1318 checkIncomplete(h1); in testThenRun_exceptionalCompletion() 1326 checkCompletedWithWrappedException(h1, ex); in testThenRun_exceptionalCompletion() 1347 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_sourceCancelled() local 1350 checkIncomplete(h1); in testThenRun_sourceCancelled() 1358 checkCompletedWithWrappedCancellationException(h1); in testThenRun_sourceCancelled() 1379 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_actionFailed() local [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CompletableFutureTest.java | 1345 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_normalCompletion() local 1348 checkIncomplete(h1); in testThenRun_normalCompletion() 1356 checkCompletedNormally(h1, null); in testThenRun_normalCompletion() 1378 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_exceptionalCompletion() local 1381 checkIncomplete(h1); in testThenRun_exceptionalCompletion() 1389 checkCompletedWithWrappedException(h1, ex); in testThenRun_exceptionalCompletion() 1410 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_sourceCancelled() local 1413 checkIncomplete(h1); in testThenRun_sourceCancelled() 1421 checkCompletedWithWrappedCancellationException(h1); in testThenRun_sourceCancelled() 1442 final CompletableFuture<Void> h1 = m.runAfterBoth(f, f, rs[1]); in testThenRun_actionFailed() local [all …]
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | ObjectsTest.java | 161 Hello h1 = new Hello(); in test_equals() local 164 assertFalse(Objects.equals(h1, null)); in test_equals() 165 assertFalse(Objects.equals(null, h1)); in test_equals() 166 assertFalse(Objects.equals(h1, h2)); in test_equals() 167 assertTrue(Objects.equals(h1, h1)); in test_equals()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldObjectTest.java | 42 int h1 = System.identityHashCode(o1); in test_hashCode() local 44 assertEquals(h1, o1.hashCode()); in test_hashCode() 46 assertTrue(h1 != h2); in test_hashCode()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 345 public void test_until(HijrahDate h1, HijrahDate h2, ChronoPeriod p) { in test_until() argument 346 ChronoPeriod period = h1.until(h2); in test_until() 352 public void test_periodUntilDiffChrono(HijrahDate h1, HijrahDate h2, ChronoPeriod p) { in test_periodUntilDiffChrono() argument 354 ChronoPeriod period = h1.until(m); in test_periodUntilDiffChrono()
|
/libcore/ojluni/src/main/java/java/net/ |
D | HttpCookie.java | 775 int h1 = name.toLowerCase().hashCode(); in hashCode() local 779 return h1 + h2 + h3; in hashCode()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKMinguoChronology.java | 227 MinguoDate h1 = MinguoChronology.INSTANCE.date(MinguoEra.ROC, 1, 2, 3); in test_MinguoChrono() local 228 MinguoDate h2 = h1; in test_MinguoChrono()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatterBuilder.java | 3568 int h1 = getDigit(text, pos++); in parse() local 3570 if (h1 < 0 || h2 < 0 || text.charAt(pos++) != ':') { in parse() 3573 h = h1 * 10 + h2; in parse()
|