Home
last modified time | relevance | path

Searched refs:h2 (Results 1 – 7 of 7) 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.java142 FileHandler h2 = new FileHandler("%t/log/string"); in testFileHandler_1params() local
146 h2.publish(r); in testFileHandler_1params()
150 h2.close(); in testFileHandler_1params()
/libcore/ojluni/src/main/java/java/net/
DHttpCookie.java904 int h2 = (domain!=null) ? domain.toLowerCase().hashCode() : 0; in hashCode() local
907 return h1 + h2 + h3; in hashCode()
/libcore/ojluni/src/main/java/sun/security/ssl/
DCipherSuite.java249 String h2 = Integer.toString(id2, 16); in valueOf() local
250 c = new CipherSuite("Unknown 0x" + h1 + ":0x" + h2, id); in valueOf()
/libcore/ojluni/src/main/java/sun/net/www/protocol/http/
DHttpURLConnection.java818 final String h2 = u2.getHost();
821 return h2 == null;
822 } else if (h2 == null) {
824 } else if (h1.equalsIgnoreCase(h2)) {
836 InetAddress a2 = InetAddress.getByName(h2);