Home | History | Annotate | Download | only in jni

Lines Matching defs:env

31 add(JNIEnv* /*env*/, jobject /*thiz*/, jint a, jint b) {
46 static int registerNativeMethods(JNIEnv* env, const char* className,
51 clazz = env->FindClass(className);
56 if (env->RegisterNatives(clazz, gMethods, numMethods) < 0) {
69 static int registerNatives(JNIEnv* env)
71 if (!registerNativeMethods(env, classPathName,
87 JNIEnv* env;
96 JNIEnv* env = NULL;
104 env = uenv.env;
106 if (registerNatives(env) != JNI_TRUE) {