Home
last modified time | relevance | path

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

123456

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolver.java54 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
60 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
67 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
76 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
82 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
89 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
99 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
105 if (resultClass.isInstance(resolved)) { in resolveDeclaration()
112 if (resultClass.isInstance(result.getCorrespondingDeclaration())) { in resolveDeclaration()
122 if (resultClass.isInstance(result.getCorrespondingDeclaration())) { in resolveDeclaration()
[all …]
/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.java41 if (!expectedException.isInstance(f.getException())) { in fails()
68 if (!expectedExceptions[i].isInstance(f.getException())) { in failsExactly()
95 …odName.equals(f.getDescription().getMethodName()) && expectedException.isInstance(f.getException()… in fails()
DThrowableAssert.java27 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/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemServiceRegistry.java36 if (staticApplicationServiceFetcherClass.isInstance(o)) { in reset()
39 } else if (staticServiceFetcherClass.isInstance(o)) { in reset()
/external/mockito/src/main/java/org/mockito/internal/listeners/
DVerificationStartedNotifier.java61 if (!originalType.isInstance(mock)) { in assertCompatibleTypes()
69 if (!iface.isInstance(mock)) { in assertCompatibleTypes()
/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/guice/extensions/persist/src/com/google/inject/persist/jpa/
DJpaLocalTxnInterceptor.java132 if (rollBackOn.isInstance(e)) { in rollbackIfNecessary()
139 if (exceptOn.isInstance(e)) { in rollbackIfNecessary()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparser_Navigator.txt81 …Line 239) clazz.isInstance(node.getParentNode().get()) ==> java.lang.Class.isInstance(java.lang.Ob…
96 Line 275) clazz.isInstance(node) ==> java.lang.Class.isInstance(java.lang.Object)
100 Line 288) clazz.isInstance(node) ==> java.lang.Class.isInstance(java.lang.Object)
/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/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/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/mockito/src/main/java/org/mockito/internal/matchers/
DCompareTo.java24 if (!actual.getClass().isInstance(wanted)){ in matches()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/
DSingleNodeTypeValidator.java19 if (type.isInstance(node)) { in accept()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DTargetPassConfig.cpp293 if (InsertedPassID.isInstance()) in getInsertedPass()
397 assert(((!InsertedPassID.isInstance() && in insertPass()
399 (InsertedPassID.isInstance() && in insertPass()
467 return !FinalPtr.isValid() || FinalPtr.isInstance() || in isPassSubstitutedOrOverridden()
531 if (FinalPtr.isInstance()) in addPass()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/sevenz/
DCoderBase.java43 if (c.isInstance(opts)) { in canAcceptOptions()
/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()

123456