Searched refs:vms_buf (Results 1 – 2 of 2) sorted by relevance
49 JavaVM* vms_buf[1]; in TEST_F() local51 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in TEST_F()54 EXPECT_EQ(vms_buf[0], vm_); in TEST_F()61 JavaVM* vms_buf[1]; in attach_current_thread_callback() local64 jint ok = JNI_GetCreatedJavaVMs(vms_buf, arraysize(vms_buf), &num_vms); in attach_current_thread_callback()68 ok = vms_buf[0]->AttachCurrentThread(&env, nullptr); in attach_current_thread_callback()70 ok = vms_buf[0]->AttachCurrentThreadAsDaemon(&env, nullptr); in attach_current_thread_callback()79 ok = vms_buf[0]->DetachCurrentThread(); in attach_current_thread_callback()
824 extern "C" jint JNI_GetCreatedJavaVMs(JavaVM** vms_buf, jsize buf_len, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument830 vms_buf[0] = runtime->GetJavaVM(); in JNI_GetCreatedJavaVMs()