Home
last modified time | relevance | path

Searched refs:isInstance (Results 1 – 25 of 116) 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/mockito/src/test/java/org/mockitoutil/
DJUnitResultAssert.java37 if (!expectedException.isInstance(f.getException())) { in fails()
64 if (!expectedExceptions[i].isInstance(f.getException())) { in failsExactly()
91 …odName.equals(f.getDescription().getMethodName()) && expectedException.isInstance(f.getException()… in fails()
DThrowableAssert.java23 if(!exceptionType.isInstance(reportedException)) { in throwsException()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DTypeSafeDiagnosingMatcher.java56 && expectedType.isInstance(item) in matches()
63 if (item == null || !expectedType.isInstance(item)) { in describeMismatch()
DTypeSafeMatcher.java66 && expectedType.isInstance(item) in matches()
75 } else if (! expectedType.isInstance(item)) { in describeMismatch()
/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/mockito/src/main/java/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/llvm/lib/CodeGen/
DTargetPassConfig.cpp220 if (InsertedPassID.isInstance()) in getInsertedPass()
286 assert(((!InsertedPassID.isInstance() && in insertPass()
288 (InsertedPassID.isInstance() && in insertPass()
330 return !FinalPtr.isValid() || FinalPtr.isInstance() || in isPassSubstitutedOrOverridden()
392 if (FinalPtr.isInstance()) in addPass()
/external/junit/src/main/java/org/junit/experimental/theories/
DParameterSignature.java113 if (annotationType.isInstance(each)) { in findDeepAnnotation()
128 if (annotationType.isInstance(each)) { in getAnnotation()
/external/testng/src/test/java/test/listeners/
DListenerAssert.java14 if (clazz.isInstance(listener)) { in assertListenerType()
/external/clang/lib/AST/
DDeclObjC.cpp68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance, in getMethod() argument
90 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
654 bool isInstance, in lookupMethod() argument
671 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
676 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
682 if ((MethodDecl = I->lookupMethod(Sel, isInstance))) in lookupMethod()
693 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
753 DeclContext *contextDecl, bool isInstance, bool isVariadic, in Create() argument
757 beginLoc, endLoc, SelInfo, T, ReturnTInfo, contextDecl, isInstance, in Create()
1821 bool isInstance) const { in lookupMethod()
[all …]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DPlatform.java38 return clazz.isInstance(obj); in checkIsInstance()
/external/mockito/src/main/java/org/mockito/internal/matchers/
DCompareTo.java24 if (!actual.getClass().isInstance(wanted)){ in matches()
/external/javassist/sample/duplicate/
DDuplicatedObject.java14 if (clazz.isInstance(args[0])) in DuplicatedObject()
/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/mockito/src/main/java/org/mockito/internal/invocation/
DTypeSafeMatching.java39 return expectedArgumentType.isInstance(argument); in isCompatible()
/external/junit/src/main/java/org/junit/internal/matchers/
DTypeSafeMatcher.java60 && expectedType.isInstance(item) in matches()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/object/
DIsEventFrom.java24 if (!eventClass.isInstance(item)) { in matchesSafely()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsInstanceOf.java46 if (!matchableClass.isInstance(item)) { in matches()
/external/guava/guava/src/com/google/common/reflect/
DAbstractInvocationHandler.java131 return proxyClass.isInstance(arg) in isProxyOfSameInterfaces()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/
DGcmSpecUtil.java23 return gcmSpecClass != null && gcmSpecClass.isInstance(paramSpec); in isGcmSpec()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterSurrogateTest.java256 if (!exc.isInstance(e)) { in TestCodePointCount()
345 if (!exc.isInstance(e)) { in TestOffsetByCodePoints()
359 if (!exc.isInstance(e)) { in TestOffsetByCodePoints()

12345