Home
last modified time | relevance | path

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

123

/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/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/smack/src/org/jivesoftware/smack/filter/
DPacketTypeFilter.java55 return packetType.isInstance(packet); in accept()
/external/okhttp/src/main/java/com/squareup/okhttp/internal/
DPlatform.java188 if (openSslSocketClass.isInstance(socket)) { in enableTlsExtensions()
215 if (!openSslSocketClass.isInstance(socket)) { in setNpnProtocols()
228 if (!openSslSocketClass.isInstance(socket)) { in getNpnSelectedProtocol()
/external/clang/lib/AST/
DDeclObjC.cpp68 ObjCContainerDecl::getMethod(Selector Sel, bool isInstance) const { in getMethod()
89 if (MD && MD->isInstanceMethod() == isInstance) in getMethod()
380 bool isInstance, in lookupMethod() argument
393 if ((MethodDecl = ClassDecl->getMethod(Sel, isInstance))) in lookupMethod()
400 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
408 if ((MethodDecl = Cat->getMethod(Sel, isInstance))) in lookupMethod()
417 if ((MethodDecl = (*I)->lookupMethod(Sel, isInstance))) in lookupMethod()
476 bool isInstance, in Create() argument
485 isInstance, isVariadic, isPropertyAccessor, in Create()
1418 bool isInstance) const { in lookupMethod()
[all …]
DComment.cpp172 IsInstanceMethod = MD->isInstance(); in fill()
/external/hamcrest/src/org/hamcrest/core/
DIsInstanceOf.java28 return theClass.isInstance(item); in matches()
/external/javassist/sample/duplicate/
DDuplicatedObject.java14 if (clazz.isInstance(args[0])) in DuplicatedObject()
/external/junit/src/org/junit/internal/matchers/
DTypeSafeMatcher.java57 && expectedType.isInstance(item) in matches()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DPlatform.java37 return clazz.isInstance(obj); in checkIsInstance()
/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/webkit/Source/WebKit/android/plugins/
DANPEventInterface.cpp53 if (WebViewCore::isInstance(core) && core->isPlugin(widget)) { in send_anpevent()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/spec/
DECFieldF2mTest.java148 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mint()
273 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mintintArray()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowSpannableString.java41 if (kind.isInstance(s)) { in getSpans()
/external/guava/guava/src/com/google/common/base/
DThrowables.java59 if (throwable != null && declaredType.isInstance(throwable)) { in propagateIfInstanceOf()
/external/clang/include/clang/AST/
DDeclObjC.h230 bool isInstance = true,
239 IsInstance(isInstance), IsVariadic(isVariadic), in NamedDecl()
264 bool isInstance = true,
540 ObjCMethodDecl *getMethod(Selector Sel, bool isInstance) const;
741 ObjCMethodDecl *getCategoryMethod(Selector Sel, bool isInstance) const { in getCategoryMethod() argument
742 return isInstance ? getInstanceMethod(Sel) in getCategoryMethod()
1135 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
1436 ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/spec/
DECFieldF2m_ImplTest.java209 if (tp.x == null || !e.getClass().isInstance(tp.x)) { in testECFieldF2mintBigInteger()
/external/junit/src/org/junit/runners/model/
DFrameworkMethod.java112 if (!FrameworkMethod.class.isInstance(obj))
DTestClass.java146 if (valueClass.isInstance(fieldValue)) in getAnnotatedFieldValues()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/
DAbstractContainerBox.java77 if (clazz.isInstance(boxe)) { in getBoxes()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DJdkFutureAdaptersTest.java190 ListenableFuture.class.isInstance(input)); in testListenInPoolThreadRunsListenerAfterRuntimeException()
DJSR166TestCase.java824 if (! exceptionClass.isInstance(t)) in run()
844 if (! exceptionClass.isInstance(t)) in run()
/external/mockito/src/org/mockito/internal/
DMockitoCore.java48 if (!MockSettingsImpl.class.isInstance(settings)) { in mock()
/external/protobuf/java/src/main/java/com/google/protobuf/
DGeneratedMessage.java861 if (type.isInstance(value)) { in singularFromReflectionType()
1260 if (type.isInstance(value)) { in coerceType()
1296 if (type.isInstance(value)) { in coerceType()

123