Lines Matching refs:jclass
33 static jint Java_Main_intFastNativeMethod(JNIEnv*, jclass, jint a, jint b, jint c);
84 jclass clazz = env->FindClass("Main"); in testFindClassOnAttachedNativeThread()
93 extern "C" JNIEXPORT void JNICALL Java_Main_testUTFRegion(JNIEnv* env, jclass, jstring null_str) { in Java_Main_testUTFRegion() argument
123 jclass, in Java_Main_getFieldSubclass() argument
125 jclass sub) { in Java_Main_getFieldSubclass()
131 extern "C" JNIEXPORT void JNICALL Java_Main_testFindClassOnAttachedNativeThread(JNIEnv*, jclass) { in Java_Main_testFindClassOnAttachedNativeThread() argument
136 jclass clazz = env->FindClass("Main"); in testFindFieldOnAttachedNativeThread()
148 jclass) { in Java_Main_testFindFieldOnAttachedNativeThreadNative() argument
153 jclass clazz = env->FindClass("Main"); in testReflectFieldGetFromAttachedNativeThread()
157 jclass class_clazz = env->FindClass("java/lang/Class"); in testReflectFieldGetFromAttachedNativeThread()
174 jclass field_clazz = env->FindClass("java/lang/reflect/Field"); in testReflectFieldGetFromAttachedNativeThread()
190 JNIEnv*, jclass) { in Java_Main_testReflectFieldGetFromAttachedNativeThreadNative() argument
197 jclass) { in Java_Main_testCallStaticVoidMethodOnSubClassNative() argument
198 jclass super_class = env->FindClass("Main$testCallStaticVoidMethodOnSubClass_SuperClass"); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
204 jclass sub_class = env->FindClass("Main$testCallStaticVoidMethodOnSubClass_SubClass"); in Java_Main_testCallStaticVoidMethodOnSubClassNative()
210 extern "C" JNIEXPORT jobject JNICALL Java_Main_testGetMirandaMethodNative(JNIEnv* env, jclass) { in Java_Main_testGetMirandaMethodNative() argument
211 jclass abstract_class = env->FindClass("Main$testGetMirandaMethod_MirandaAbstract"); in Java_Main_testGetMirandaMethodNative()
219 extern "C" void JNICALL Java_Main_testZeroLengthByteBuffers(JNIEnv* env, jclass) { in Java_Main_testZeroLengthByteBuffers() argument
232 extern "C" jbyte JNICALL Java_Main_byteMethod(JNIEnv*, jclass, jbyte b1, jbyte b2, in Java_Main_byteMethod() argument
257 extern "C" jshort JNICALL Java_Main_shortMethod(JNIEnv*, jclass, jshort s1, jshort s2, in Java_Main_shortMethod() argument
277 extern "C" jboolean JNICALL Java_Main_booleanMethod(JNIEnv*, jclass, jboolean b1, in Java_Main_booleanMethod() argument
299 extern "C" jchar JNICALL Java_Main_charMethod(JNIEnv*, jclass, jchar c1, jchar c2, in Java_Main_charMethod() argument
318 extern "C" JNIEXPORT void JNICALL Java_Main_removeLocalObject(JNIEnv* env, jclass, jclass o) { in Java_Main_removeLocalObject() argument
323 extern "C" JNIEXPORT jboolean JNICALL Java_Main_nativeIsAssignableFrom(JNIEnv* env, jclass, in Java_Main_nativeIsAssignableFrom() argument
324 jclass from, jclass to) { in Java_Main_nativeIsAssignableFrom()
331 jclass vmstack_clazz = env->FindClass("dalvik/system/VMStack"); in testShallowGetCallingClassLoader()
349 jclass system_clazz = env->FindClass("java/lang/System"); in testShallowGetCallingClassLoader()
370 jclass unsatisfied_link_error_clazz = env->FindClass("java/lang/UnsatisfiedLinkError"); in testShallowGetCallingClassLoader()
371 jclass thrown_class = env->GetObjectClass(thrown); in testShallowGetCallingClassLoader()
378 jclass) { in Java_Main_nativeTestShallowGetCallingClassLoader() argument
383 jclass vmstack_clazz = env->FindClass("dalvik/system/VMStack"); in testShallowGetStackClass2()
415 extern "C" JNIEXPORT void JNICALL Java_Main_nativeTestShallowGetStackClass2(JNIEnv*, jclass) { in Java_Main_nativeTestShallowGetStackClass2() argument
447 jclass const super_;
448 jclass const sub_;
461 jclass GetClass(const char* class_name) { in GetClass()
462 jclass c = env_->FindClass(class_name); in GetClass()
472 jmethodID GetMethodID(jclass c, bool nonstatic, const char* method_name) { in GetMethodID()
484 jobject CallConstructor(jclass c, jmethodID m) { in CallConstructor()
494 void CallMethod(jobject o, jclass c, jmethodID m, bool nonstatic, const char* test_case) { in CallMethod()
512 jfieldID GetFieldID(jclass c, const char* field_name) { in GetFieldID()
588 jclass c = (super_class) ? super_ : sub_; in TestnonstaticCallNonvirtualMethod()
610 extern "C" void JNICALL Java_Main_testCallNonvirtual(JNIEnv* env, jclass) { in Java_Main_testCallNonvirtual() argument
614 extern "C" JNIEXPORT void JNICALL Java_Main_testNewStringObject(JNIEnv* env, jclass) { in Java_Main_testNewStringObject() argument
615 jclass c = env->FindClass("java/lang/String"); in Java_Main_testNewStringObject()
687 extern "C" JNIEXPORT jlong JNICALL Java_Main_testGetMethodID(JNIEnv* env, jclass, jclass c) { in Java_Main_testGetMethodID() argument
691 extern "C" JNIEXPORT void JNICALL Java_Main_enterJniCriticalSection(JNIEnv* env, jclass, in Java_Main_enterJniCriticalSection() argument
741 jclass decl_class = env_->FindClass(declaring_class); in TestCalls()
766 jclass concrete_class_;
774 jclass lambda_class = env->FindClass("LambdaInterface"); in InvokeSpecificMethod()
784 JNIEnv* e, jclass, jobject l) { in Java_Main_testInvokeLambdaDefaultMethod() argument
788 extern "C" JNIEXPORT void JNICALL Java_Main_testInvokeLambdaMethod(JNIEnv* e, jclass, jobject l) { in Java_Main_testInvokeLambdaMethod() argument
794 extern "C" JNIEXPORT jboolean JNICALL Java_Main_registerNativesJniTest(JNIEnv* e, jclass kls) { in Java_Main_registerNativesJniTest()
807 static jint Java_Main_intFastNativeMethod(JNIEnv*, jclass, jint a, jint b, jint c) { in Java_Main_intFastNativeMethod() argument
818 extern "C" JNIEXPORT jobject JNICALL Java_Main_lookupClinit(JNIEnv* env, jclass, jclass kls) { in Java_Main_lookupClinit() argument
830 extern "C" JNIEXPORT jboolean JNICALL Java_Main_isSlowDebug(JNIEnv*, jclass) { in Java_Main_isSlowDebug() argument