Lines Matching refs:version
56 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion() argument
58 return version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 && version != JNI_VERSION_1_6; in IsBadJniVersion()
348 static jint GetEnv(JavaVM* vm, void** env, jint version) { in GetEnv() argument
358 return raw_vm->HandleGetEnv(env, version); in GetEnv()
386 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal()
389 << args->version; in AttachCurrentThreadInternal()
461 jint JavaVMExt::HandleGetEnv(/*out*/void** env, jint version) { in HandleGetEnv() argument
463 jint res = hook(this, env, version); in HandleGetEnv()
471 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version; in HandleGetEnv()
901 int version = (*jni_on_load)(this, nullptr); in LoadNativeLibrary() local
910 if (version == JNI_ERR) { in LoadNativeLibrary()
912 } else if (JavaVMExt::IsBadJniVersion(version)) { in LoadNativeLibrary()
914 path.c_str(), version); in LoadNativeLibrary()
1011 if (JavaVMExt::IsBadJniVersion(args->version)) { in JNI_CreateJavaVM()
1012 LOG(ERROR) << "Bad JNI version passed to CreateJavaVM: " << args->version; in JNI_CreateJavaVM()