Home
last modified time | relevance | path

Searched refs:h1 (Results 1 – 7 of 7) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java1282 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/luni/src/test/java/libcore/java/util/
DObjectsTest.java161 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/
DOldObjectTest.java42 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/
DTestUmmAlQuraChronology.java345 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/
DHttpCookie.java775 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/
DTCKMinguoChronology.java227 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/
DDateTimeFormatterBuilder.java3559 int h1 = getDigit(text, pos++); in parse() local
3561 if (h1 < 0 || h2 < 0 || text.charAt(pos++) != ':') { in parse()
3564 h = h1 * 10 + h2; in parse()