Lines Matching refs:version
77 static bool IsBadJniVersion(int version) { in IsBadJniVersion() argument
79 return version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 && version != JNI_VERSION_1_6; in IsBadJniVersion()
331 if (IsBadJniVersion(args->version)) { in JII_AttachCurrentThread()
334 << args->version; in JII_AttachCurrentThread()
3016 if (IsBadJniVersion(args->version)) { in JNI_CreateJavaVM()
3017 LOG(ERROR) << "Bad JNI version passed to CreateJavaVM: " << args->version; in JNI_CreateJavaVM()
3087 static jint GetEnv(JavaVM* vm, void** env, jint version) { in GetEnv() argument
3091 if (IsBadJniVersion(version) && version != JNI_VERSION_1_1) { in GetEnv()
3092 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version; in GetEnv()
3339 int version = 0; in LoadNativeLibrary() local
3343 version = (*jni_on_load)(this, nullptr); in LoadNativeLibrary()
3351 if (version == JNI_ERR) { in LoadNativeLibrary()
3353 } else if (IsBadJniVersion(version)) { in LoadNativeLibrary()
3355 path.c_str(), version); in LoadNativeLibrary()