Lines Matching refs:env
37 extern "C" JNIEXPORT void Java_art_Locals_EnableLocalVariableAccess(JNIEnv* env, jclass) { in Java_art_Locals_EnableLocalVariableAccess() argument
39 if (JvmtiErrorToException(env, jvmti_env, jvmti_env->GetCapabilities(&caps))) { in Java_art_Locals_EnableLocalVariableAccess()
43 JvmtiErrorToException(env, jvmti_env, jvmti_env->AddCapabilities(&caps)); in Java_art_Locals_EnableLocalVariableAccess()
46 extern "C" JNIEXPORT void Java_art_Locals_SetLocalVariableObject(JNIEnv* env, in Java_art_Locals_SetLocalVariableObject() argument
52 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalObject(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableObject()
55 extern "C" JNIEXPORT void Java_art_Locals_SetLocalVariableDouble(JNIEnv* env, in Java_art_Locals_SetLocalVariableDouble() argument
61 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalDouble(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableDouble()
64 extern "C" JNIEXPORT void Java_art_Locals_SetLocalVariableFloat(JNIEnv* env, in Java_art_Locals_SetLocalVariableFloat() argument
70 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalFloat(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableFloat()
73 extern "C" JNIEXPORT void Java_art_Locals_SetLocalVariableLong(JNIEnv* env, in Java_art_Locals_SetLocalVariableLong() argument
79 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalLong(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableLong()
82 extern "C" JNIEXPORT void Java_art_Locals_SetLocalVariableInt(JNIEnv* env, in Java_art_Locals_SetLocalVariableInt() argument
88 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalInt(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableInt()
91 extern "C" JNIEXPORT jdouble Java_art_Locals_GetLocalVariableDouble(JNIEnv* env, in Java_art_Locals_GetLocalVariableDouble() argument
97 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLocalDouble(t, depth, slot, &ret)); in Java_art_Locals_GetLocalVariableDouble()
101 extern "C" JNIEXPORT jfloat Java_art_Locals_GetLocalVariableFloat(JNIEnv* env, in Java_art_Locals_GetLocalVariableFloat() argument
107 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLocalFloat(t, depth, slot, &ret)); in Java_art_Locals_GetLocalVariableFloat()
111 extern "C" JNIEXPORT jlong Java_art_Locals_GetLocalVariableLong(JNIEnv* env, in Java_art_Locals_GetLocalVariableLong() argument
117 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLocalLong(t, depth, slot, &ret)); in Java_art_Locals_GetLocalVariableLong()
121 extern "C" JNIEXPORT jint Java_art_Locals_GetLocalVariableInt(JNIEnv* env, in Java_art_Locals_GetLocalVariableInt() argument
127 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLocalInt(t, depth, slot, &ret)); in Java_art_Locals_GetLocalVariableInt()
131 extern "C" JNIEXPORT jobject Java_art_Locals_GetLocalInstance(JNIEnv* env, in Java_art_Locals_GetLocalInstance() argument
136 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLocalInstance(t, depth, &ret)); in Java_art_Locals_GetLocalInstance()
140 extern "C" JNIEXPORT jobject Java_art_Locals_GetLocalVariableObject(JNIEnv* env, in Java_art_Locals_GetLocalVariableObject() argument
146 JvmtiErrorToException(env, jvmti_env, jvmti_env->GetLocalObject(t, depth, slot, &ret)); in Java_art_Locals_GetLocalVariableObject()
150 extern "C" JNIEXPORT jobjectArray Java_art_Locals_GetLocalVariableTable(JNIEnv* env, in Java_art_Locals_GetLocalVariableTable() argument
153 jmethodID method = env->FromReflectedMethod(m); in Java_art_Locals_GetLocalVariableTable()
154 if (env->ExceptionCheck()) { in Java_art_Locals_GetLocalVariableTable()
157 ScopedLocalRef<jclass> klass(env, env->FindClass("art/Locals$VariableDescription")); in Java_art_Locals_GetLocalVariableTable()
158 if (env->ExceptionCheck()) { in Java_art_Locals_GetLocalVariableTable()
163 if (JvmtiErrorToException(env, jvmti_env, in Java_art_Locals_GetLocalVariableTable()
167 jobjectArray vars_array = env->NewObjectArray(nvars, klass.get(), nullptr); in Java_art_Locals_GetLocalVariableTable()
168 if (env->ExceptionCheck()) { in Java_art_Locals_GetLocalVariableTable()
174 jmethodID constructor = env->GetMethodID( in Java_art_Locals_GetLocalVariableTable()
176 if (env->ExceptionCheck()) { in Java_art_Locals_GetLocalVariableTable()
180 ScopedLocalRef<jstring> name_string(env, env->NewStringUTF(vars[i].name)); in Java_art_Locals_GetLocalVariableTable()
181 ScopedLocalRef<jstring> sig_string(env, env->NewStringUTF(vars[i].signature)); in Java_art_Locals_GetLocalVariableTable()
182 ScopedLocalRef<jstring> generic_sig_string(env, env->NewStringUTF(vars[i].generic_signature)); in Java_art_Locals_GetLocalVariableTable()
183 jobject var_obj = env->NewObject(klass.get(), in Java_art_Locals_GetLocalVariableTable()
191 if (env->ExceptionCheck()) { in Java_art_Locals_GetLocalVariableTable()
196 env->SetObjectArrayElement(vars_array, i, var_obj); in Java_art_Locals_GetLocalVariableTable()
197 if (env->ExceptionCheck()) { in Java_art_Locals_GetLocalVariableTable()