Lines Matching refs:env

131 jvmtiError MethodUtil::GetBytecodes(jvmtiEnv* env,  in GetBytecodes()  argument
157 jvmtiError err = env->Allocate(*size_ptr, bytecode_ptr); in GetBytecodes()
165 jvmtiError MethodUtil::GetArgumentsSize(jvmtiEnv* env ATTRIBUTE_UNUSED, in GetArgumentsSize()
199 jvmtiError MethodUtil::GetLocalVariableTable(jvmtiEnv* env, in GetLocalVariableTable() argument
237 (err = env->Allocate(table_size, in GetLocalVariableTable()
240 env->Deallocate(reinterpret_cast<unsigned char*>(e.name)); in GetLocalVariableTable()
241 env->Deallocate(reinterpret_cast<unsigned char*>(e.signature)); in GetLocalVariableTable()
242 env->Deallocate(reinterpret_cast<unsigned char*>(e.generic_signature)); in GetLocalVariableTable()
255 JvmtiUniquePtr<char[]> name_str = CopyString(env, entry.name_, &err); in GetLocalVariableTable()
259 JvmtiUniquePtr<char[]> sig_str = CopyString(env, entry.descriptor_, &err); in GetLocalVariableTable()
263 JvmtiUniquePtr<char[]> generic_sig_str = CopyString(env, entry.signature_, &err); in GetLocalVariableTable()
286 jvmtiError MethodUtil::GetMaxLocals(jvmtiEnv* env ATTRIBUTE_UNUSED, in GetMaxLocals()
315 jvmtiError MethodUtil::GetMethodName(jvmtiEnv* env, in GetMethodName() argument
331 name_copy = CopyString(env, method_name, &ret); in GetMethodName()
343 signature_copy = CopyString(env, str.c_str(), &ret); in GetMethodName()
362 JvmtiUniquePtr<char[]> generic_copy = CopyString(env, output_string.c_str(), &ret); in GetMethodName()
381 jvmtiError MethodUtil::GetMethodDeclaringClass(jvmtiEnv* env ATTRIBUTE_UNUSED, in GetMethodDeclaringClass()
398 jvmtiError MethodUtil::GetMethodLocation(jvmtiEnv* env ATTRIBUTE_UNUSED, in GetMethodLocation()
430 jvmtiError MethodUtil::GetMethodModifiers(jvmtiEnv* env ATTRIBUTE_UNUSED, in GetMethodModifiers()
454 jvmtiError MethodUtil::GetLineNumberTable(jvmtiEnv* env, in GetLineNumberTable() argument
495 jvmtiError alloc_error = env->Allocate(mem_size, &data); in GetLineNumberTable()
507 static jvmtiError IsMethodT(jvmtiEnv* env ATTRIBUTE_UNUSED, in IsMethodT()
524 jvmtiError MethodUtil::IsMethodNative(jvmtiEnv* env, jmethodID m, jboolean* is_native_ptr) { in IsMethodNative() argument
528 return IsMethodT(env, m, test, is_native_ptr); in IsMethodNative()
531 jvmtiError MethodUtil::IsMethodObsolete(jvmtiEnv* env, jmethodID m, jboolean* is_obsolete_ptr) { in IsMethodObsolete() argument
535 return IsMethodT(env, m, test, is_obsolete_ptr); in IsMethodObsolete()
538 jvmtiError MethodUtil::IsMethodSynthetic(jvmtiEnv* env, jmethodID m, jboolean* is_synthetic_ptr) { in IsMethodSynthetic() argument
542 return IsMethodT(env, m, test, is_synthetic_ptr); in IsMethodSynthetic()
937 jvmtiError MethodUtil::GetLocalVariableGeneric(jvmtiEnv* env, in GetLocalVariableGeneric() argument
955 GetLocalVariableClosure c(env, depth, slot, type, val); in GetLocalVariableGeneric()
1113 jvmtiError MethodUtil::SetLocalVariableGeneric(jvmtiEnv* env, in SetLocalVariableGeneric() argument
1134 SetLocalVariableClosure c(env, self, depth, slot, type, val); in SetLocalVariableGeneric()
1180 jvmtiError MethodUtil::GetLocalInstance(jvmtiEnv* env ATTRIBUTE_UNUSED, in GetLocalInstance()
1245 jvmtiError MethodUtil::SetLocalVariable(jvmtiEnv* env, in SetLocalVariable() argument
1253 return SetLocalVariableGeneric(env, thread, depth, slot, type, v); in SetLocalVariable()
1257 jvmtiError MethodUtil::GetLocalVariable(jvmtiEnv* env, in GetLocalVariable() argument
1267 jvmtiError err = GetLocalVariableGeneric(env, thread, depth, slot, type, &v); in GetLocalVariable()