/libcore/ojluni/src/test/sun/invoke/util/ |
D | WrapperTest.java | 49 MethodHandle h2 = h1.asType(MethodType.methodType(void.class)); // drop 42 in testShortZeroConversion() local 50 MethodHandle h3 = h2.asType(MethodType.methodType(short.class)); // add 0 in testShortZeroConversion() 62 MethodHandle h2 = h1.asType(MethodType.methodType(void.class)); // drop 42 in testIntZeroConversion() local 63 MethodHandle h3 = h2.asType(MethodType.methodType(int.class)); // add 0 in testIntZeroConversion() 75 MethodHandle h2 = h1.asType(MethodType.methodType(void.class)); // drop 42 in testLongZeroConversion() local 76 MethodHandle h3 = h2.asType(MethodType.methodType(long.class)); // add 0 in testLongZeroConversion() 88 MethodHandle h2 = h1.asType(MethodType.methodType(void.class)); // drop 42 in testByteZeroConversion() local 89 MethodHandle h3 = h2.asType(MethodType.methodType(byte.class)); // add 0 in testByteZeroConversion() 101 MethodHandle h2 = h1.asType(MethodType.methodType(void.class)); // drop 42 in testCharacterZeroConversion() local 102 MethodHandle h3 = h2.asType(MethodType.methodType(char.class)); // add 0 in testCharacterZeroConversion()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 1291 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_normalCompletion() local 1294 checkIncomplete(h2); in testThenRun_normalCompletion() 1302 checkCompletedNormally(h2, null); in testThenRun_normalCompletion() 1324 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_exceptionalCompletion() local 1327 checkIncomplete(h2); in testThenRun_exceptionalCompletion() 1335 checkCompletedWithWrappedException(h2, ex); in testThenRun_exceptionalCompletion() 1356 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_sourceCancelled() local 1359 checkIncomplete(h2); in testThenRun_sourceCancelled() 1367 checkCompletedWithWrappedCancellationException(h2); in testThenRun_sourceCancelled() 1388 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_actionFailed() local [all …]
|
/libcore/ojluni/src/test/java/util/concurrent/tck/ |
D | CompletableFutureTest.java | 1414 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_normalCompletion() local 1417 checkIncomplete(h2); in testThenRun_normalCompletion() 1425 checkCompletedNormally(h2, null); in testThenRun_normalCompletion() 1447 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_exceptionalCompletion() local 1450 checkIncomplete(h2); in testThenRun_exceptionalCompletion() 1458 checkCompletedWithWrappedException(h2, ex); in testThenRun_exceptionalCompletion() 1479 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_sourceCancelled() local 1482 checkIncomplete(h2); in testThenRun_sourceCancelled() 1490 checkCompletedWithWrappedCancellationException(h2); in testThenRun_sourceCancelled() 1511 final CompletableFuture<Void> h2 = m.runAfterEither(f, f, rs[2]); in testThenRun_actionFailed() local [all …]
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldObjectTest.java | 43 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/ |
D | ObjectsTest.java | 162 Hello h2 = new Hello(); in test_equals() local 166 assertFalse(Objects.equals(h1, h2)); in test_equals()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldFileHandlerTest.java | 143 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/lang/invoke/ |
D | JavaDocExamplesTest.java | 290 MethodHandle h2 = dropArguments(h1, 0, bigType.parameterList()); in testDropArgumentsToMatch() local 291 if (h1.type().parameterCount() < h2.type().parameterCount()) { in testDropArgumentsToMatch() 292 h1 = dropArgumentsToMatch(h1, 0, h2.type().parameterList(), 0); // lengthen h1 in testDropArgumentsToMatch() 295 h2 = dropArgumentsToMatch(h2, 0, h1.type().parameterList(), 0); // lengthen h2 in testDropArgumentsToMatch() 297 MethodHandle h3 = guardWithTest(h0, h1, h2); in testDropArgumentsToMatch()
|
/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 353 MinguoDate m = MinguoChronology.INSTANCE.date(h2); in test_periodUntilDiffChrono()
|
/libcore/ojluni/src/main/java/java/net/ |
D | HttpCookie.java | 776 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/ |
D | DateTimeFormatterBuilder.java | 4048 int h2 = getDigit(text, pos++); in parse() local 4049 if (h1 < 0 || h2 < 0 || text.charAt(pos++) != ':') { in parse() 4052 h = h1 * 10 + h2; in parse() 4073 int h2 = getDigit(text, pos); in parse() local 4074 if (h2 >=0) { in parse() 4075 h = h * 10 + h2; in parse()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKMinguoChronology.java | 228 MinguoDate h2 = h1; in test_MinguoChrono() local 229 ChronoLocalDateTime<MinguoDate> h3 = h2.atTime(LocalTime.NOON); in test_MinguoChrono()
|
/libcore/ojluni/src/main/java/java/nio/ |
D | X-Buffer.java.template | 107 * <h2> Direct <i>vs.</i> non-direct buffers </h2> 142 * <h2> Access to binary data </h2> 227 * <h2> Invocation chaining </h2>
|