Home
last modified time | relevance | path

Searched refs:IsInstanceOf (Results 1 – 21 of 21) sorted by relevance

/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsInstanceOf.java12 public class IsInstanceOf extends DiagnosingMatcher<Object> { class
22 public IsInstanceOf(Class<?> expectedClass) { in IsInstanceOf() method in IsInstanceOf
71 return (Matcher<T>) new IsInstanceOf(type); in instanceOf()
88 return (Matcher<T>) new IsInstanceOf(type); in any()
DIs.java8 import static org.hamcrest.core.IsInstanceOf.instanceOf;
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipClassCoverageTest.java28 import org.hamcrest.core.IsInstanceOf;
54 assertThat(o, IsInstanceOf.instanceOf(clazz)); in testConstantConstructor()
DZipEncodingTest.java30 import org.hamcrest.core.IsInstanceOf;
171 assertThat(enc, IsInstanceOf.instanceOf(NioZipEncoding.class)); in doSimpleEncodingTest()
/external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/core/
DIsInstanceOfTest.java7 import static org.hamcrest.core.IsInstanceOf.any;
8 import static org.hamcrest.core.IsInstanceOf.instanceOf;
DIsNotTest.java8 import static org.hamcrest.core.IsInstanceOf.instanceOf;
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/utils/
DFixedLengthBlockOutputStreamTest.java40 import org.hamcrest.core.IsInstanceOf;
140 assertThat(e, IsInstanceOf.instanceOf(ClosedChannelException.class)); in testWriteFailsAfterFLClosedThrowsException()
148 assertThat(e, IsInstanceOf.instanceOf(ClosedChannelException.class)); in testWriteFailsAfterFLClosedThrowsException()
157 assertThat(e, IsInstanceOf.instanceOf(ClosedChannelException.class)); in testWriteFailsAfterFLClosedThrowsException()
/external/v8/src/torque/
Dast.h101 static bool IsInstanceOf(AstNode* node);
113 if (!AstNodeClassCheck::IsInstanceOf<T>(node)) return nullptr; \
120 DCHECK(AstNodeClassCheck::IsInstanceOf<T>(node)); \
125 if (!AstNodeClassCheck::IsInstanceOf<T>(node)) return nullptr; \
784 bool AstNodeClassCheck::IsInstanceOf(AstNode* node) { in IsInstanceOf() function
/external/oj-libjdwp/src/share/back/
Dutil.c329 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->stringClass)) { in specificTypeKey()
331 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadClass)) { in specificTypeKey()
333 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadGroupClass)) { in specificTypeKey()
335 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classLoaderClass)) { in specificTypeKey()
337 } else if (JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classClass)) { in specificTypeKey()
1633 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classClass); in isClass()
1640 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadClass); in isThread()
1647 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->threadGroupClass); in isThreadGroup()
1654 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->stringClass); in isString()
1661 return JNI_FUNC_PTR(env,IsInstanceOf)(env, object, gdata->classLoaderClass); in isClassLoader()
DeventFilter.c458 if (!JNI_FUNC_PTR(env,IsInstanceOf)(env, exception, in eventFilterRestricted_passesFilter()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/
DCoreMatchers.java269 return org.hamcrest.core.IsInstanceOf.any(type); in any()
282 return org.hamcrest.core.IsInstanceOf.instanceOf(type); in instanceOf()
/external/hamcrest/
DCHANGES.txt77 * Moved any() from IsAnything to IsInstanceOf. It now checks the type of the matched object
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DContextsTest.java21 import static org.hamcrest.core.IsInstanceOf.instanceOf;
/external/libchrome/base/android/
Djni_android.cc108 DCHECK(env->IsInstanceOf(class_loader.obj(), class_loader_clazz.obj())); in InitReplacementClassLoader()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java353 return org.hamcrest.core.IsInstanceOf.<T>any(type); in any()
366 return org.hamcrest.core.IsInstanceOf.<T>instanceOf(type); in instanceOf()
/external/webrtc/talk/app/webrtc/java/jni/
Dandroidmediadecoder_jni.cc876 if (!jni->IsInstanceOf(render_egl_context_, j_egl_context_class)) { in SetEGLContext()
Dandroidmediaencoder_jni.cc1135 if (!jni->IsInstanceOf(egl_context_, j_egl_context_class)) { in SetEGLContext()
Dpeerconnection_jni.cc1360 jni->IsInstanceOf(local_egl_context, j_eglbase14_context_class)) { in JOW()
1369 jni->IsInstanceOf(remote_egl_context, j_eglbase14_context_class)) { in JOW()
/external/oj-libjdwp/src/share/javavm/export/
Djni.h286 jboolean (JNICALL *IsInstanceOf)
888 jboolean IsInstanceOf(jobject obj, jclass clazz) { in IsInstanceOf() function
889 return functions->IsInstanceOf(this,obj,clazz); in IsInstanceOf()
/external/grpc-grpc-java/context/src/test/java/io/grpc/
DContextTest.java20 import static org.hamcrest.core.IsInstanceOf.instanceOf;
/external/v8/
DChangeLog49309 chain. Inlined Object::IsInstanceOf.