Lines Matching refs:vm
39 JavaVM* vm; in javaAttachThread() local
42 vm = JavaVMHelper::getJavaVM(); in javaAttachThread()
43 if (vm == NULL) { in javaAttachThread()
51 result = vm->AttachCurrentThread(pEnv, (void*) &args); in javaAttachThread()
63 JavaVM* vm; in javaDetachThread() local
66 vm = JavaVMHelper::getJavaVM(); in javaDetachThread()
67 if (vm == NULL) { in javaDetachThread()
71 result = vm->DetachCurrentThread(); in javaDetachThread()
137 JavaVM *vm = sJavaVM.load(); in getJNIEnv() local
138 CHECK(vm != NULL); in getJNIEnv()
140 if (vm->GetEnv((void **)&env, JNI_VERSION_1_4) != JNI_OK) { in getJNIEnv()
153 void JavaVMHelper::setJavaVM(JavaVM *vm) { in setJavaVM() argument
154 sJavaVM.store(vm); in setJavaVM()