Lines Matching refs:CHECK

42   CHECK(vm != nullptr);  in JNI_OnLoad()
43 CHECK(jvm == nullptr); in JNI_OnLoad()
58 CHECK(jvm != nullptr); in AttachHelper()
85 CHECK(clazz != nullptr); in testFindClassOnAttachedNativeThread()
86 CHECK(!env->ExceptionCheck()); in testFindClassOnAttachedNativeThread()
89 CHECK(array != nullptr); in testFindClassOnAttachedNativeThread()
90 CHECK(!env->ExceptionCheck()); in testFindClassOnAttachedNativeThread()
137 CHECK(clazz != nullptr); in testFindFieldOnAttachedNativeThread()
138 CHECK(!env->ExceptionCheck()); in testFindFieldOnAttachedNativeThread()
141 CHECK(field != nullptr); in testFindFieldOnAttachedNativeThread()
142 CHECK(!env->ExceptionCheck()); in testFindFieldOnAttachedNativeThread()
154 CHECK(clazz != nullptr); in testReflectFieldGetFromAttachedNativeThread()
155 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
158 CHECK(class_clazz != nullptr); in testReflectFieldGetFromAttachedNativeThread()
159 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
163 CHECK(getFieldMetodId != nullptr); in testReflectFieldGetFromAttachedNativeThread()
164 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
167 CHECK(field_name != nullptr); in testReflectFieldGetFromAttachedNativeThread()
168 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
171 CHECK(field != nullptr); in testReflectFieldGetFromAttachedNativeThread()
172 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
175 CHECK(field_clazz != nullptr); in testReflectFieldGetFromAttachedNativeThread()
176 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
180 CHECK(getBooleanMetodId != nullptr); in testReflectFieldGetFromAttachedNativeThread()
181 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
184 CHECK(value == false); in testReflectFieldGetFromAttachedNativeThread()
185 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
199 CHECK(super_class != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
202 CHECK(execute != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
205 CHECK(sub_class != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
212 CHECK(abstract_class != nullptr); in Java_Main_testGetMirandaMethodNative()
214 CHECK(miranda_method != nullptr); in Java_Main_testGetMirandaMethodNative()
222 CHECK(byte_buffer != nullptr); in Java_Main_testZeroLengthByteBuffers()
223 CHECK(!env->ExceptionCheck()); in Java_Main_testZeroLengthByteBuffers()
292 CHECK(b1 == JNI_TRUE || b1 == JNI_FALSE); in Java_Main_booleanMethod()
332 CHECK(vmstack_clazz != nullptr); in testShallowGetCallingClassLoader()
333 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
338 CHECK(getCallingClassLoaderMethodId != nullptr); in testShallowGetCallingClassLoader()
339 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
343 CHECK(class_loader == nullptr); in testShallowGetCallingClassLoader()
344 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
350 CHECK(system_clazz != nullptr); in testShallowGetCallingClassLoader()
351 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
355 CHECK(loadLibraryMethodId != nullptr); in testShallowGetCallingClassLoader()
356 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
360 CHECK(library_string != nullptr); in testShallowGetCallingClassLoader()
361 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
364 CHECK(env->ExceptionCheck()); in testShallowGetCallingClassLoader()
372 CHECK(env->IsSameObject(unsatisfied_link_error_clazz, thrown_class)); in testShallowGetCallingClassLoader()
384 CHECK(vmstack_clazz != nullptr); in testShallowGetStackClass2()
385 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
391 CHECK(getStackClass2MethodId != nullptr); in testShallowGetStackClass2()
392 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
395 CHECK(caller_class == nullptr); in testShallowGetStackClass2()
396 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
403 CHECK(getStackClass1MethodId != nullptr); in testShallowGetStackClass2()
404 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
407 CHECK(caller_class == nullptr); in testShallowGetStackClass2()
408 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
467 CHECK(!env_->ExceptionCheck()); in GetClass()
468 CHECK(c != nullptr); in GetClass()
480 CHECK(m != nullptr); in GetMethodID()
490 CHECK(o != nullptr); in CallConstructor()
518 CHECK(m != nullptr); in GetFieldID()
559 CHECK(env_->IsInstanceOf(super_super, super_)); in TestNewObject()
560 CHECK(!env_->IsInstanceOf(super_super, sub_)); in TestNewObject()
564 CHECK(env_->IsInstanceOf(super_sub, super_)); in TestNewObject()
565 CHECK(!env_->IsInstanceOf(super_sub, sub_)); in TestNewObject()
569 CHECK(env_->IsInstanceOf(sub_super, super_)); in TestNewObject()
570 CHECK(env_->IsInstanceOf(sub_super, sub_)); in TestNewObject()
572 CHECK(env_->IsInstanceOf(sub_sub, super_)); in TestNewObject()
573 CHECK(env_->IsInstanceOf(sub_sub, sub_)); in TestNewObject()
616 CHECK(c != nullptr); in Java_Main_testNewStringObject()
619 CHECK(mid1 != nullptr); in Java_Main_testNewStringObject()
620 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
622 CHECK(mid2 != nullptr); in Java_Main_testNewStringObject()
623 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
625 CHECK(mid3 != nullptr); in Java_Main_testNewStringObject()
626 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
628 CHECK(mid4 != nullptr); in Java_Main_testNewStringObject()
629 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
638 CHECK(s != nullptr); in Java_Main_testNewStringObject()
647 CHECK(s1 != nullptr); in Java_Main_testNewStringObject()
649 CHECK(s2 != nullptr); in Java_Main_testNewStringObject()
651 CHECK(s3 != nullptr); in Java_Main_testNewStringObject()
653 CHECK(s4 != nullptr); in Java_Main_testNewStringObject()
672 CHECK(s5 != nullptr); in Java_Main_testNewStringObject()
675 CHECK(s6 != nullptr); in Java_Main_testNewStringObject()
715 CHECK(!env_->ExceptionCheck()); in JniCallDefaultMethodsTest()
716 CHECK(concrete_class_ != nullptr); in JniCallDefaultMethodsTest()
739 CHECK(!env_->ExceptionCheck()); in TestCalls()
740 CHECK(obj != nullptr); in TestCalls()
742 CHECK(!env_->ExceptionCheck()); in TestCalls()
743 CHECK(decl_class != nullptr); in TestCalls()
746 CHECK(!env_->ExceptionCheck()); in TestCalls()
755 CHECK(!env_->ExceptionCheck()); in TestCalls()
757 CHECK(!env_->ExceptionCheck()); in TestCalls()
758 CHECK(exception_string_utf8 != nullptr); in TestCalls()
775 CHECK(!env->ExceptionCheck()); in InvokeSpecificMethod()
776 CHECK(lambda_class != nullptr); in InvokeSpecificMethod()
778 CHECK(!env->ExceptionCheck()); in InvokeSpecificMethod()
780 CHECK(!env->ExceptionCheck()); in InvokeSpecificMethod()
823 CHECK(obj != nullptr); in Java_Main_lookupClinit()