Lines Matching refs:CHECK
31 CHECK(vm != nullptr); in JNI_OnLoad()
32 CHECK(jvm == nullptr); in JNI_OnLoad()
46 CHECK(jvm != nullptr); in AttachHelper()
73 CHECK(clazz != nullptr); in testFindClassOnAttachedNativeThread()
74 CHECK(!env->ExceptionCheck()); in testFindClassOnAttachedNativeThread()
77 CHECK(array != nullptr); in testFindClassOnAttachedNativeThread()
78 CHECK(!env->ExceptionCheck()); in testFindClassOnAttachedNativeThread()
88 CHECK(clazz != nullptr); in testFindFieldOnAttachedNativeThread()
89 CHECK(!env->ExceptionCheck()); in testFindFieldOnAttachedNativeThread()
92 CHECK(field != nullptr); in testFindFieldOnAttachedNativeThread()
93 CHECK(!env->ExceptionCheck()); in testFindFieldOnAttachedNativeThread()
105 CHECK(clazz != nullptr); in testReflectFieldGetFromAttachedNativeThread()
106 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
109 CHECK(class_clazz != nullptr); in testReflectFieldGetFromAttachedNativeThread()
110 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
114 CHECK(getFieldMetodId != nullptr); in testReflectFieldGetFromAttachedNativeThread()
115 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
118 CHECK(field_name != nullptr); in testReflectFieldGetFromAttachedNativeThread()
119 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
122 CHECK(field != nullptr); in testReflectFieldGetFromAttachedNativeThread()
123 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
126 CHECK(field_clazz != nullptr); in testReflectFieldGetFromAttachedNativeThread()
127 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
131 CHECK(getBooleanMetodId != nullptr); in testReflectFieldGetFromAttachedNativeThread()
132 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
135 CHECK(value == false); in testReflectFieldGetFromAttachedNativeThread()
136 CHECK(!env->ExceptionCheck()); in testReflectFieldGetFromAttachedNativeThread()
150 CHECK(super_class != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
153 CHECK(execute != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
156 CHECK(sub_class != nullptr); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
163 CHECK(abstract_class != nullptr); in Java_Main_testGetMirandaMethodNative()
165 CHECK(miranda_method != nullptr); in Java_Main_testGetMirandaMethodNative()
173 CHECK(byte_buffer != nullptr); in Java_Main_testZeroLengthByteBuffers()
174 CHECK(!env->ExceptionCheck()); in Java_Main_testZeroLengthByteBuffers()
243 CHECK(b1 == JNI_TRUE || b1 == JNI_FALSE); in Java_Main_booleanMethod()
283 CHECK(vmstack_clazz != nullptr); in testShallowGetCallingClassLoader()
284 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
289 CHECK(getCallingClassLoaderMethodId != nullptr); in testShallowGetCallingClassLoader()
290 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
294 CHECK(class_loader == nullptr); in testShallowGetCallingClassLoader()
295 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
301 CHECK(system_clazz != nullptr); in testShallowGetCallingClassLoader()
302 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
306 CHECK(loadLibraryMethodId != nullptr); in testShallowGetCallingClassLoader()
307 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
311 CHECK(library_string != nullptr); in testShallowGetCallingClassLoader()
312 CHECK(!env->ExceptionCheck()); in testShallowGetCallingClassLoader()
315 CHECK(env->ExceptionCheck()); in testShallowGetCallingClassLoader()
323 CHECK(env->IsSameObject(unsatisfied_link_error_clazz, thrown_class)); in testShallowGetCallingClassLoader()
335 CHECK(vmstack_clazz != nullptr); in testShallowGetStackClass2()
336 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
342 CHECK(getStackClass2MethodId != nullptr); in testShallowGetStackClass2()
343 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
346 CHECK(caller_class == nullptr); in testShallowGetStackClass2()
347 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
354 CHECK(getStackClass1MethodId != nullptr); in testShallowGetStackClass2()
355 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
358 CHECK(caller_class == nullptr); in testShallowGetStackClass2()
359 CHECK(!env->ExceptionCheck()); in testShallowGetStackClass2()
418 CHECK(!env_->ExceptionCheck()); in GetClass()
419 CHECK(c != nullptr); in GetClass()
431 CHECK(m != nullptr); in GetMethodID()
441 CHECK(o != nullptr); in CallConstructor()
469 CHECK(m != nullptr); in GetFieldID()
510 CHECK(env_->IsInstanceOf(super_super, super_)); in TestNewObject()
511 CHECK(!env_->IsInstanceOf(super_super, sub_)); in TestNewObject()
515 CHECK(env_->IsInstanceOf(super_sub, super_)); in TestNewObject()
516 CHECK(!env_->IsInstanceOf(super_sub, sub_)); in TestNewObject()
520 CHECK(env_->IsInstanceOf(sub_super, super_)); in TestNewObject()
521 CHECK(env_->IsInstanceOf(sub_super, sub_)); in TestNewObject()
523 CHECK(env_->IsInstanceOf(sub_sub, super_)); in TestNewObject()
524 CHECK(env_->IsInstanceOf(sub_sub, sub_)); in TestNewObject()
567 CHECK(c != nullptr); in Java_Main_testNewStringObject()
570 CHECK(mid1 != nullptr); in Java_Main_testNewStringObject()
571 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
573 CHECK(mid2 != nullptr); in Java_Main_testNewStringObject()
574 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
576 CHECK(mid3 != nullptr); in Java_Main_testNewStringObject()
577 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
579 CHECK(mid4 != nullptr); in Java_Main_testNewStringObject()
580 CHECK(!env->ExceptionCheck()); in Java_Main_testNewStringObject()
589 CHECK(s != nullptr); in Java_Main_testNewStringObject()
598 CHECK(s1 != nullptr); in Java_Main_testNewStringObject()
600 CHECK(s2 != nullptr); in Java_Main_testNewStringObject()
602 CHECK(s3 != nullptr); in Java_Main_testNewStringObject()
604 CHECK(s4 != nullptr); in Java_Main_testNewStringObject()
623 CHECK(s5 != nullptr); in Java_Main_testNewStringObject()
626 CHECK(s6 != nullptr); in Java_Main_testNewStringObject()
666 CHECK(!env_->ExceptionCheck()); in JniCallDefaultMethodsTest()
667 CHECK(concrete_class_ != nullptr); in JniCallDefaultMethodsTest()
690 CHECK(!env_->ExceptionCheck()); in TestCalls()
691 CHECK(obj != nullptr); in TestCalls()
693 CHECK(!env_->ExceptionCheck()); in TestCalls()
694 CHECK(decl_class != nullptr); in TestCalls()
697 CHECK(!env_->ExceptionCheck()); in TestCalls()
706 CHECK(!env_->ExceptionCheck()); in TestCalls()
708 CHECK(!env_->ExceptionCheck()); in TestCalls()
709 CHECK(exception_string_utf8 != nullptr); in TestCalls()
726 CHECK(!env->ExceptionCheck()); in InvokeSpecificMethod()
727 CHECK(lambda_class != nullptr); in InvokeSpecificMethod()
729 CHECK(!env->ExceptionCheck()); in InvokeSpecificMethod()
731 CHECK(!env->ExceptionCheck()); in InvokeSpecificMethod()