Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 8 of 8) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java1283 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_normalCompletion() local
1286 checkIncomplete(h2); in testThenRun_normalCompletion()
1294 checkCompletedNormally(h2, null); in testThenRun_normalCompletion()
1316 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_exceptionalCompletion() local
1319 checkIncomplete(h2); in testThenRun_exceptionalCompletion()
1327 checkCompletedWithWrappedException(h2, ex); in testThenRun_exceptionalCompletion()
1348 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_sourceCancelled() local
1351 checkIncomplete(h2); in testThenRun_sourceCancelled()
1359 checkCompletedWithWrappedCancellationException(h2); in testThenRun_sourceCancelled()
1380 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_actionFailed() local
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java43 int h2 = System.identityHashCode(o2); in test_hashCode() local
45 assertEquals(h2, o2.hashCode()); in test_hashCode()
46 assertTrue(h1 != h2); in test_hashCode()
/libcore/luni/src/test/java/libcore/java/util/
DObjectsTest.java57 Hello h2 = new Hello(); in test_equals() local
61 assertFalse(Objects.equals(h1, h2)); in test_equals()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldFileHandlerTest.java143 FileHandler h2 = new FileHandler("%t/log/string"); in testFileHandler_1params() local
147 h2.publish(r); in testFileHandler_1params()
151 h2.close(); in testFileHandler_1params()
/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
353 MinguoDate m = MinguoChronology.INSTANCE.date(h2); in test_periodUntilDiffChrono()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java776 int h2 = (domain!=null) ? domain.toLowerCase().hashCode() : 0; in hashCode() local
779 return h1 + h2 + h3; in hashCode()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java3560 int h2 = getDigit(text, pos++); in parse() local
3561 if (h1 < 0 || h2 < 0 || text.charAt(pos++) != ':') { in parse()
3564 h = h1 * 10 + h2; in parse()
3585 int h2 = getDigit(text, pos); in parse() local
3586 if (h2 >=0) { in parse()
3587 h = h * 10 + h2; in parse()
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKMinguoChronology.java228 MinguoDate h2 = h1; in test_MinguoChrono() local
229 ChronoLocalDateTime<MinguoDate> h3 = h2.atTime(LocalTime.NOON); in test_MinguoChrono()