Home
last modified time | relevance | path

Searched refs:vms_buf (Results 1 – 2 of 2) sorted by relevance

/art/runtime/jni/
Djava_vm_ext_test.cc54 JavaVM* vms_buf[1]; in TEST_F() local
56 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() local
69 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()
Djava_vm_ext.cc1260 extern "C" jint JNI_GetCreatedJavaVMs(JavaVM** vms_buf, jsize buf_len, jsize* vm_count) { in JNI_GetCreatedJavaVMs() argument
1266 vms_buf[0] = runtime->GetJavaVM(); in JNI_GetCreatedJavaVMs()