Lines Matching refs:version
62 bool JavaVMExt::IsBadJniVersion(int version) { in IsBadJniVersion() argument
64 return version != JNI_VERSION_1_2 && version != JNI_VERSION_1_4 && version != JNI_VERSION_1_6; in IsBadJniVersion()
382 static jint GetEnv(JavaVM* vm, void** env, jint version) { in GetEnv() argument
392 return raw_vm->HandleGetEnv(env, version); in GetEnv()
420 if (JavaVMExt::IsBadJniVersion(args->version)) { in AttachCurrentThreadInternal()
423 << args->version; in AttachCurrentThreadInternal()
499 jint JavaVMExt::HandleGetEnv(/*out*/void** env, jint version) { in HandleGetEnv() argument
501 jint res = hook(this, env, version); in HandleGetEnv()
509 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version; in HandleGetEnv()
1024 int version = (*jni_on_load)(this, nullptr); in LoadNativeLibrary() local
1033 if (version == JNI_ERR) { in LoadNativeLibrary()
1035 } else if (JavaVMExt::IsBadJniVersion(version)) { in LoadNativeLibrary()
1037 path.c_str(), version); in LoadNativeLibrary()
1142 if (JavaVMExt::IsBadJniVersion(args->version)) { in JNI_CreateJavaVM()
1143 LOG(ERROR) << "Bad JNI version passed to CreateJavaVM: " << args->version; in JNI_CreateJavaVM()