/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()
|
D | AnnotationFactory.java | 181 if (!klazz.isInstance(obj)) { in equals()
|
D | AnnotationMember.java | 347 || elementType.isInstance(value)) { // nested annotation value in validateValue()
|
/libcore/ojluni/src/main/java/java/net/ |
D | ContentHandler.java | 104 if (classes[i].isInstance(obj)) { in getContent()
|
D | Inet6AddressImpl.java | 188 if (inetaddr.getClass().isInstance(addr)) { in isReachable()
|
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
D | GenericReflectionTestsBase.java | 67 .isInstance(actual)); in assertInstanceOf()
|
/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/main/java/java/util/concurrent/atomic/ |
D | AtomicReferenceFieldUpdater.java | 389 if (!cclass.isInstance(obj)) in accessCheck() 412 if (v != null && !(vclass.isInstance(v))) in valueCheck()
|
D | AtomicLongFieldUpdater.java | 431 if (!cclass.isInstance(obj)) in accessCheck() 572 if (!cclass.isInstance(obj)) in accessCheck()
|
D | AtomicIntegerFieldUpdater.java | 456 if (!cclass.isInstance(obj)) in accessCheck()
|
/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 | 188 if (reference != null && !ptypes[idx].isInstance(reference)) { in setReference() 247 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/benchmarks/src/benchmarks/regression/ |
D | ReflectionBenchmark.java | 169 klass.isInstance(d); in timeClass_isInstance()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestJapaneseChronology.java | 243 assertTrue(expectedEx.isInstance(ex)); in test_eraName()
|
/libcore/luni/src/main/java/libcore/io/ |
D | IoUtils.java | 80 if (pfdClass.isInstance(object)) { in isParcelFileDescriptor()
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | Attributes.java | 213 if (!Attributes.class.isInstance(attr)) in putAll()
|
/libcore/ojluni/annotations/mmodule/java/lang/ |
D | Class.annotated.java | 58 public boolean isInstance(java.lang.Object obj) { throw new RuntimeException("Stub!"); } in isInstance() method in Class
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 1382 if (! exceptionClass.isInstance(t)) 1402 if (! exceptionClass.isInstance(t)) 1839 if (!expectedExceptionClass.isInstance(t)) {
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
D | Array.java | 476 if (value != null && !array.getClass().getComponentType().isInstance(value)) { in set()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Class.java | 538 public boolean isInstance(Object obj) { in isInstance() method in Class 2445 if (obj != null && !isInstance(obj)) in cast()
|