/libcore/ojluni/src/test/java/lang/StackWalker/ |
D | LocalsAndOperands.java | 187 } else if (primitiveSlotClass.isInstance(observed)) { // single slot primitive in checkFrameLocals() 192 assertTrue(((Class)expected).isInstance(observed), in checkFrameLocals() 241 assertFalse(liveStackFrameClass.isInstance(f), in noLocalsSanityCheck() 440 if (primitiveSlot64Class.isInstance(locals[i])) { in printLocals() 443 } else if (primitiveSlot32Class.isInstance(locals[i])) { in printLocals() 469 } else if (primitiveSlotClass.isInstance(o)) { in type() 486 assertTrue(primitiveSlot64Class.isInstance(primVal)); in primitiveValueEquals() 492 assertTrue(primitiveSlot32Class.isInstance(primVal), in primitiveValueEquals() 497 assertTrue(primitiveSlot64Class.isInstance(primVal), in primitiveValueEquals()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | AnnotatedElements.java | 57 if (annotationClass.isInstance(annotations[i])) { in getDirectOrIndirectAnnotationsByType() 61 repeatableAnnotationClass.isInstance(annotations[i])) { in getDirectOrIndirectAnnotationsByType()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ContentHandler.java | 104 if (classes[i].isInstance(obj)) { in getContent()
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
D | ThrowableHelper.java | 39 assertTrue(ce.isInstance(caught)); in checkException()
|
/libcore/ojluni/src/test/java/lang/Character/ |
D | Supplementary.java | 749 if (expectedException.isInstance(e)) { in callToChars1() 765 if (expectedException.isInstance(e)) { in callToChars3() 780 if (expectedException.isInstance(e)) { in callCodePoint() 795 if (expectedException.isInstance(e)) { in callCodePoint() 810 if (expectedException.isInstance(e)) { in callCodePoint() 827 if (expectedException.isInstance(e)) { in callCodePointCount() 841 if (expectedException.isInstance(e)) { in callOffsetByCodePoints() 857 if (expectedException.isInstance(e)) { in callOffsetByCodePoints() 870 if (expectedException.isInstance(e)) { in callToString()
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | ECFieldF2mTest.java | 142 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mint() 267 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mintintArray() 306 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mintBigInteger()
|
/libcore/ojluni/src/test/java/lang/StringBuffer/ |
D | Supplementary.java | 343 if (expectedException.isInstance(e)) { in testAppendCodePoint() 357 if (expectedException.isInstance(e)) { in testCodePointCount() 370 if (expectedException.isInstance(e)) { in testOffsetByCodePoints()
|
/libcore/ojluni/src/test/java/lang/StringBuilder/ |
D | Supplementary.java | 358 if (expectedException.isInstance(e)) { in testAppendCodePoint() 372 if (expectedException.isInstance(e)) { in testCodePointCount() 385 if (expectedException.isInstance(e)) { in testOffsetByCodePoints()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericReflectionTestsBase.java | 67 .isInstance(actual)); in assertInstanceOf()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandleNatives.java | 540 if (Eclass.isInstance(th)) in initCauseFrom()
|
/libcore/ojluni/src/test/java/util/Objects/ |
D | CheckIndex.java | 109 assertTrue(ec.isInstance(e)); 171 assertTrue(ec.isInstance(e)); 240 assertTrue(ec.isInstance(e));
|
D | CheckLongIndex.java | 108 assertTrue(ec.isInstance(e)); 170 assertTrue(ec.isInstance(e)); 234 assertTrue(ec.isInstance(e));
|
/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicReferenceFieldUpdater.java | 421 if (!cclass.isInstance(obj)) in accessCheck() 444 if (v != null && !(vclass.isInstance(v))) in valueCheck()
|
D | AtomicLongFieldUpdater.java | 450 if (!cclass.isInstance(obj)) in accessCheck() 602 if (!cclass.isInstance(obj)) in accessCheck()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestCharLiteralParser.java | 135 assertTrue(expected.isInstance(ex)); in test_parse_error()
|
D | TestStringLiteralParser.java | 138 assertTrue(expected.isInstance(ex)); in test_parse_error()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKResolverStyle.java | 135 assertTrue(expectedEx.isInstance(ex)); in test_resolverStyle()
|
D | TCKSignStyle.java | 132 assertTrue(expectedEx.isInstance(ex)); in test_signStyle()
|
D | TCKDateTimeFormatters.java | 237 assertTrue(expectedEx.isInstance(ex)); in test_print_isoLocalDate() 331 assertTrue(expectedEx.isInstance(ex)); in test_print_isoOffsetDate() 389 assertTrue(expectedEx.isInstance(ex)); in test_print_isoDate() 461 assertTrue(expectedEx.isInstance(ex)); in test_print_isoLocalTime() 531 assertTrue(expectedEx.isInstance(ex)); in test_print_isoOffsetTime() 601 assertTrue(expectedEx.isInstance(ex)); in test_print_isoTime() 682 assertTrue(expectedEx.isInstance(ex)); in test_print_isoLocalDateTime() 761 assertTrue(expectedEx.isInstance(ex)); in test_print_isoOffsetDateTime() 850 assertTrue(expectedEx.isInstance(ex)); in test_print_isoZonedDateTime() 934 assertTrue(expectedEx.isInstance(ex)); in test_print_isoDateTime() [all …]
|
/libcore/dalvik/src/main/java/dalvik/system/ |
D | EmulatedStackFrame.java | 210 if (reference != null && !ptypes[idx].isInstance(reference)) { in setReference() 269 if (reference != null && !returnType.isInstance(reference)) { in setReturnValueTo()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | GenericExceptionsTest.java | 95 expectedType.isInstance(array[0])); in getOnlyValue()
|
/libcore/ojluni/src/main/java/java/lang/runtime/ |
D | ObjectMethods.java | 214 …MethodHandle isInstance = MethodHandles.dropArguments(CLASS_IS_INSTANCE.bindTo(receiverClass), 0, … in makeEquals() local 225 … MethodHandles.guardWithTest(isInstance, accumulator.asType(ro), instanceFalse)); in makeEquals()
|
/libcore/ojluni/src/test/java/io/InputStream/ |
D | TransferTo.java | 312 if (!throwable.isInstance(thrown)) {
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ReflectionBenchmark.java | 169 klass.isInstance(d); in timeClass_isInstance()
|
/libcore/ojluni/src/test/java/io/Reader/ |
D | TransferTo.java | 336 if (!throwable.isInstance(thrown)) {
|