Lines Matching refs:clazz
111 jclass clazz = env->FindClass(className); in FindMethod() local
112 jmethodID methodId = env->GetMethodID(clazz, methodName, descriptor); in FindMethod()
113 env->DeleteLocalRef(clazz); in FindMethod()
183 jclass clazz = env->FindClass("java/io/StringWriter"); in NewStringWriter() local
184 jmethodID init = env->GetMethodID(clazz, "<init>", "()V"); in NewStringWriter()
185 jobject instance = env->NewObject(clazz, init); in NewStringWriter()
186 env->DeleteLocalRef(clazz); in NewStringWriter()
197 jclass clazz = env->FindClass("java/io/PrintWriter"); in NewPrintWriter() local
198 jmethodID init = env->GetMethodID(clazz, "<init>", "(Ljava/io/Writer;)V"); in NewPrintWriter()
199 jobject instance = env->NewObject(clazz, init, writer); in NewPrintWriter()
200 env->DeleteLocalRef(clazz); in NewPrintWriter()
367 jclass clazz = env->FindClass(className); in jniRegisterNativeMethods() local
368 if (clazz == NULL) { in jniRegisterNativeMethods()
373 int result = env->RegisterNatives(clazz, methods, numMethods); in jniRegisterNativeMethods()
374 env->DeleteLocalRef(clazz); in jniRegisterNativeMethods()