Home
last modified time | relevance | path

Searched refs:isInstance (Results 1 – 25 of 108) sorted by relevance

12345

/external/nist-sip/java/gov/nist/javax/sip/parser/ims/
DSecurityAgreeParser.java86 if (header.getClass().isInstance(new SecurityClient())) { in parse()
88 } else if (header.getClass().isInstance(new SecurityServer())) { in parse()
90 } else if (header.getClass().isInstance(new SecurityVerify())) { in parse()
127 if (header.getClass().isInstance(new SecurityClient())) { in parse()
129 } else if (header.getClass().isInstance(new SecurityServer())) { in parse()
131 } else if (header.getClass().isInstance(new SecurityVerify())) { in parse()
/external/testng/src/main/java/org/testng/internal/invokers/
DInvokedMethodListenerSubtype.java26 private boolean isInstance(IInvokedMethodListener listenerInstance) { in isInstance() method in InvokedMethodListenerSubtype
27 return m_matchingInterface.isInstance(listenerInstance); in isInstance()
31 if (EXTENDED_LISTENER.isInstance(listenerInstance)) { in fromListener()
34 else if (SIMPLE_LISTENER.isInstance(listenerInstance)) { in fromListener()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliCompositeElement.java73 if (aClass.isInstance(cur)) result.add((T)cur); in findChildrenByClass()
82 if (aClass.isInstance(cur)) return (T)cur; in findChildByClass()
92 if (aClass.isInstance(parent)) { in findAncestorByClass()
107 } else if (cls.isInstance(prev)) { in findNextSiblingByClass()
121 } else if (cls.isInstance(prev)) { in findPrevSiblingByClass()
DSmaliStubBasedPsiElement.java61 if (aClass.isInstance(parentPsi)) { in findStubOrPsiAncestorOfType()
71 if (aClass.isInstance(parent)) { in findStubOrPsiAncestorOfType()
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/
DJpaLocalTxnInterceptor.java138 if (rollBackOn.isInstance(e)) { in rollbackIfNecessary()
145 if (exceptOn.isInstance(e)) { in rollbackIfNecessary()
/external/junit/src/org/junit/experimental/theories/
DParameterSignature.java73 if (annotationType.isInstance(each)) in findDeepAnnotation()
86 if (annotationType.isInstance(each)) in getAnnotation()
/external/mockito/src/org/mockito/internal/matchers/apachecommons/
DEqualsBuilder.java236 if (lhsClass.isInstance(rhs)) { in reflectionEquals()
238 if (!rhsClass.isInstance(lhs)) { in reflectionEquals()
242 } else if (rhsClass.isInstance(lhs)) { in reflectionEquals()
244 if (!lhsClass.isInstance(rhs)) { in reflectionEquals()
/external/testng/src/test/java/test/listeners/
DListenerAssert.java14 if (clazz.isInstance(listener)) { in assertListenerType()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DPlatform.java38 return clazz.isInstance(obj); in checkIsInstance()
/external/hamcrest/src/org/hamcrest/core/
DIsInstanceOf.java28 return theClass.isInstance(item); in matches()
/external/llvm/lib/CodeGen/
DPasses.cpp206 if (InsertedPassID.isInstance()) in getInsertedPass()
265 assert(((!InsertedPassID.isInstance() && in insertPass()
267 (InsertedPassID.isInstance() && in insertPass()
364 if (FinalPtr.isInstance()) in addPass()
/external/javassist/sample/duplicate/
DDuplicatedObject.java14 if (clazz.isInstance(args[0])) in DuplicatedObject()
/external/clang/lib/AST/
DDeclObjC.cpp68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() argument
90 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
626 bool isInstance, in lookupMethod() argument
643 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
648 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
654 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
665 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
725 DeclContext *contextDecl, bool isInstance, bool isVariadic, in Create() argument
729 beginLoc, endLoc, SelInfo, T, ReturnTInfo, contextDecl, isInstance, in Create()
1787 bool isInstance) const { in lookupMethod()
[all …]
/external/hamcrest/library/src/org/hamcrest/
DTypeSafeMatcher.java55 && expectedType.isInstance(item) in matches()
/external/junit/src/org/junit/internal/matchers/
DTypeSafeMatcher.java57 && expectedType.isInstance(item) in matches()
/external/javassist/src/main/javassist/tools/reflect/
DClassMetaobject.java122 public final boolean isInstance(Object obj) { in isInstance() method in ClassMetaobject
123 return javaClass.isInstance(obj); in isInstance()
/external/hamcrest/library/src/org/hamcrest/object/
DIsEventFrom.java26 return eventClass.isInstance(item) in matchesSafely()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/actions/
DEventAction.java19 if (!active || !ClassReflection.isInstance(eventClass, event)) return false;
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DECFieldF2mTest.java147 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mint()
272 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mintintArray()
/external/guava/guava/src/com/google/common/reflect/
DAbstractInvocationHandler.java131 return proxyClass.isInstance(arg) in isProxyOfSameInterfaces()
/external/jetty/src/java/org/eclipse/jetty/util/component/
DAggregateLifeCycle.java269 if (clazz.isInstance(b._bean)) in getBeans()
287 if (clazz.isInstance(b._bean)) in getBean()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java23 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUCharacterSurrogateTest.java247 if (!exc.isInstance(e)) { in TestCodePointCount()
335 if (!exc.isInstance(e)) { in TestOffsetByCodePoints()
349 if (!exc.isInstance(e)) { in TestOffsetByCodePoints()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterSurrogateTest.java251 if (!exc.isInstance(e)) { in TestCodePointCount()
339 if (!exc.isInstance(e)) { in TestOffsetByCodePoints()
353 if (!exc.isInstance(e)) { in TestOffsetByCodePoints()
/external/libgdx/gdx/src/com/badlogic/gdx/maps/
DMapObjects.java95 if (ClassReflection.isInstance(type, object)) { in getByType()

12345