Home | History | Annotate | Download | only in jni

Lines Matching defs:env

25 add(JNIEnv *env, jobject thiz, jint a, jint b) {
40 static int registerNativeMethods(JNIEnv* env, const char* className,
45 clazz = env->FindClass(className);
50 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) {
63 static int registerNatives(JNIEnv* env)
65 if (!registerNativeMethods(env, classPathName,
81 JNIEnv* env;
90 JNIEnv* env = NULL;
98 env = uenv.env;
100 if (registerNatives(env) != JNI_TRUE) {