/art/benchmark/ |
H A D | jni_loader.cc | 23 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) {
|
/art/test/909-attach-agent/ |
H A D | attach.cc | 52 if (vm->GetEnv(reinterpret_cast<void**>(&env), kArtTiVersion) == JNI_OK) { 60 if (vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0) != JNI_OK) { 64 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); 66 Println("GetEnv returned same environment twice!");
|
/art/test/1941-dispose-stress/ |
H A D | dispose_stress.cc | 52 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) {
|
/art/test/936-search-onload/ |
H A D | search_onload.cc | 39 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
|
/art/test/1909-per-agent-tls/ |
H A D | agent_tls.cc | 66 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) {
|
/art/test/900-hello-plugin/ |
H A D | load_unload.cc | 62 jint res = vm->GetEnv(reinterpret_cast<void**>(&env), TEST_900_ENV_VERSION_NUMBER); 64 printf("GetEnv(TEST_900_ENV_VERSION_NUMBER) returned non-zero\n"); 66 printf("GetEnv returned '%" PRIdPTR "' environment!\n", env);
|
/art/test/901-hello-ti-agent/ |
H A D | basics.cc | 101 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0)); 102 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); 104 printf("GetEnv returned same environment twice!\n"); 137 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
|
/art/test/905-object-free/ |
H A D | tracking_free.cc | 64 CHECK_EQ(jvm->GetEnv(reinterpret_cast<void**>(&jvmti_env2), JVMTI_VERSION_1_2), 0);
|
/art/test/ti-agent/ |
H A D | common_load.cc | 62 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) {
|
H A D | frame_pop_helper.cc | 111 vm->GetEnv(reinterpret_cast<void**>(&out_jvmti_env), JVMTI_VERSION_1_0) != JNI_OK) {
|
H A D | redefinition_helper.cc | 174 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { 330 vm->GetEnv(reinterpret_cast<void**>(&real_env), JVMTI_VERSION_1_0) != 0) { 349 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { 365 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) {
|
/art/tools/wrapagentproperties/ |
H A D | wrapagentproperties.cc | 106 return vm->real_vm->GetEnv(out_env, version); 117 out->GetEnv = reinterpret_cast<jint(*)(JavaVM*, void**, jint)>(WrapGetEnv); 234 jint res = vm->real_vm->GetEnv(out_env, version);
|
/art/test/1900-track-alloc/ |
H A D | alloc.cc | 107 if (vm->GetEnv(reinterpret_cast<void**>(&new_env), JVMTI_VERSION_1_0) != 0) {
|
/art/test/903-hello-tagging/ |
H A D | tagging.cc | 113 CHECK_EQ(0, jvm->GetEnv(reinterpret_cast<void**>(&new_jvmti_env), JVMTI_VERSION_1_0));
|
/art/tools/breakpoint-logger/ |
H A D | breakpoint_logger.cc | 358 res = vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1); 418 res = vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_2);
|
/art/openjdkjvmti/ |
H A D | art_jvmti.h | 125 jint res = reinterpret_cast<ArtJvmTiEnv*>(env)->art_vm->GetEnv(
|
H A D | transform.cc | 337 jint ret = env->art_vm->GetEnv(reinterpret_cast<void**>(&jni_env), JNI_VERSION_1_1);
|
/art/test/1919-vminit-thread-start-timing/ |
H A D | vminit.cc | 140 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0) != 0) {
|
/art/tools/titrace/ |
H A D | titrace.cc | 245 res = jvm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_1);
|
/art/test/ti-stress/ |
H A D | stress.cc | 738 if (vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6)) { 775 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_0)) {
|
/art/test/115-native-bridge/ |
H A D | nativebridge.cc | 51 vm->GetEnv(reinterpret_cast<void **>(&env), JNI_VERSION_1_6);
|
/art/runtime/ |
H A D | java_vm_ext.cc | 382 static jint GetEnv(JavaVM* vm, void** env, jint version) { function in class:art::JII 448 JII::GetEnv, 505 LOG(ERROR) << "Error returned from a plugin GetEnv handler! " << res; 509 LOG(ERROR) << "Bad JNI version passed to GetEnv: " << version; 513 // Add a hook to handle getting environments from the GetEnv call.
|
H A D | check_jni.cc | 537 // use DetachCurrentThread or GetEnv on a thread that's not yet attached. 585 // use DetachCurrentThread or GetEnv on a thread that's not yet attached. 4045 static jint GetEnv(JavaVM* vm, void** p_env, jint version) { function in class:art::__anon84::CheckJII 4050 result.i = BaseVm(vm)->GetEnv(vm, p_env, version); 4068 CheckJII::GetEnv,
|