Home
last modified time | relevance | path

Searched refs:IsInstanceOf (Results 1 – 20 of 20) 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/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCastValueChecker.cpp261 bool IsInstanceOf) { in addInstanceOfTransition() argument
301 CastSucceeds = IsInstanceOf && CastInfo->succeeds(); in addInstanceOfTransition()
303 CastSucceeds = IsInstanceOf || CastFromTy == CastToTy; in addInstanceOfTransition()
311 IsInstanceOf); in addInstanceOfTransition()
/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/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/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc292 if (env->IsInstanceOf(src, env->FindClass(kStringClassPath))) { in AddStringDynamicBuffer()
300 if (env->IsInstanceOf(src, env->FindClass(kByteArrayClassPath))) { in AddStringDynamicBuffer()
/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/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/conscrypt/common/src/jni/main/cpp/conscrypt/
Dnative_crypto.cc3687 if (env->IsInstanceOf(inBuffer, conscrypt::jniutil::byteBufferClass) != JNI_TRUE || in evp_aead_ctx_op_buf()
3688 … env->IsInstanceOf(outBuffer, conscrypt::jniutil::byteBufferClass) != JNI_TRUE ) { in evp_aead_ctx_op_buf()
/external/libabigail/tests/data/test-read-dwarf/
Dtest-libandroid.so.abi2844 …<var-decl name='IsInstanceOf' type-id='bcee08ac' visibility='default' filepath='libnativehelper/in…