Searched refs:vms_buf (Results 1 – 2 of 2) sorted by relevance
54 JavaVM* vms_buf[1]; in TEST_F() local56 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in TEST_F()59 EXPECT_EQ(vms_buf[0], vm_); in TEST_F()66 JavaVM* vms_buf[1]; in attach_current_thread_callback() local69 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in attach_current_thread_callback()73 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback()75 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); in attach_current_thread_callback()84 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()
1260 extern "C" jint JNI_GetCreatedJavaVMs(JavaVM** vms_buf, jsize buf_len, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument1266 vms_buf[0] = runtime->GetJavaVM(); in JNI_GetCreatedJavaVMs()