Home
last modified time | relevance | path

Searched refs:JvmtiUniquePtr (Results 1 – 13 of 13) sorted by relevance

/art/runtime/openjdkjvmti/
Dart_jvmti.h131 using JvmtiUniquePtr = std::unique_ptr<T, JvmtiDeleter<T>>; variable
135 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr()
136 return JvmtiUniquePtr<T>(mem, JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
141 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, unsigned char* mem) { in MakeJvmtiUniquePtr()
142 return JvmtiUniquePtr<T>(reinterpret_cast<T*>(mem), JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
147 static inline JvmtiUniquePtr<T> AllocJvmtiUniquePtr(jvmtiEnv* env, jvmtiError* error) { in AllocJvmtiUniquePtr()
151 return JvmtiUniquePtr<T>(); in AllocJvmtiUniquePtr()
153 return JvmtiUniquePtr<T>(tmp, JvmtiDeleter<T>(env)); in AllocJvmtiUniquePtr()
158 static inline JvmtiUniquePtr<T> AllocJvmtiUniquePtr(jvmtiEnv* env, in AllocJvmtiUniquePtr()
164 return JvmtiUniquePtr<T>(); in AllocJvmtiUniquePtr()
[all …]
Dti_properties.cc99 JvmtiUniquePtr<char*[]> array_data_ptr = AllocJvmtiUniquePtr<char*[]>(env, in GetSystemProperties()
106 std::vector<JvmtiUniquePtr<char[]>> property_copies; in GetSystemProperties()
110 JvmtiUniquePtr<char[]> libpath_data = CopyString(env, kPropertyLibraryPath, &libpath_result); in GetSystemProperties()
120 JvmtiUniquePtr<char[]> classpath_data = CopyString(env, kPropertyClassPath, &classpath_result); in GetSystemProperties()
130 JvmtiUniquePtr<char[]> data = CopyString(env, kProperties[i][0], &data_result); in GetSystemProperties()
150 JvmtiUniquePtr<char[]> data = CopyString(env, in, &result); in Copy()
Dti_class_definition.h119 JvmtiUniquePtr<unsigned char> dex_data_;
120 JvmtiUniquePtr<unsigned char> original_dex_file_memory_;
Dti_field.cc66 JvmtiUniquePtr<char[]> name_copy; in GetFieldName()
80 JvmtiUniquePtr<char[]> signature_copy; in GetFieldName()
103 JvmtiUniquePtr<char[]> copy = CopyString(env, output_string.c_str(), &ret); in GetFieldName()
Dti_threadgroup.cc120 JvmtiUniquePtr<char[]> copy = CopyString(env, tmp_cstr, &result); in GetThreadGroupInfo()
243 JvmtiUniquePtr<jthread[]> peers_uptr; in GetThreadGroupChildren()
252 JvmtiUniquePtr<jthreadGroup[]> group_uptr; in GetThreadGroupChildren()
Dti_method.cc166 JvmtiUniquePtr<char[]> name_copy; in GetMethodName()
180 JvmtiUniquePtr<char[]> signature_copy; in GetMethodName()
204 JvmtiUniquePtr<char[]> generic_copy = CopyString(env, output_string.c_str(), &ret); in GetMethodName()
DOpenjdkJvmTi.cc1087 std::vector<JvmtiUniquePtr<char[]>> char_buffers; in GetExtensionFunctions()
1088 std::vector<JvmtiUniquePtr<jvmtiParamInfo[]>> param_buffers; in GetExtensionFunctions()
1089 std::vector<JvmtiUniquePtr<jvmtiError[]>> error_buffers; in GetExtensionFunctions()
1112 JvmtiUniquePtr<char[]> id_ptr = CopyString(env, id, &error); in GetExtensionFunctions()
1119 JvmtiUniquePtr<char[]> descr = CopyString(env, short_description, &error); in GetExtensionFunctions()
1128 JvmtiUniquePtr<jvmtiParamInfo[]> params_ptr = in GetExtensionFunctions()
1137 JvmtiUniquePtr<char[]> param_name = CopyString(env, params[i].name, &error); in GetExtensionFunctions()
1154 JvmtiUniquePtr<jvmtiError[]> errors_ptr = in GetExtensionFunctions()
1235 JvmtiUniquePtr<jvmtiExtensionFunctionInfo[]> out_data = in GetExtensionFunctions()
1534 JvmtiUniquePtr<char[]> copy = CopyString(env, name_cstr, &res); in GetErrorName()
Dti_heap.cc69 JvmtiUniquePtr<uint16_t[]> data; in ReportString()
151 JvmtiUniquePtr<char[]> data = AllocJvmtiUniquePtr<char[]>(env, in ReportPrimitiveArray()
1501 JvmtiUniquePtr<char[]> param_name = CopyString(env, in, &error); in CopyStringAndReturn()
Dti_class.cc704 JvmtiUniquePtr<char[]> sig_copy; in GetClassSignature()
731 JvmtiUniquePtr<char[]> copy = CopyString(env, output_string.c_str(), &ret); in GetClassSignature()
Dti_thread.cc189 JvmtiUniquePtr<char[]> name_uptr; in GetThreadInfo()
Dti_redefine.cc408 JvmtiUniquePtr<char> generic_unique_ptr(MakeJvmtiUniquePtr(env, generic_ptr_unused)); in AddRedefinition()
409 JvmtiUniquePtr<char> signature_unique_ptr(MakeJvmtiUniquePtr(env, signature_ptr)); in AddRedefinition()
/art/test/ti-agent/
Djvmti_helper.h59 using JvmtiUniquePtr = std::unique_ptr<unsigned char, JvmtiDeleter>; variable
62 static inline JvmtiUniquePtr MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr()
63 return JvmtiUniquePtr(reinterpret_cast<unsigned char*>(mem), JvmtiDeleter(env)); in MakeJvmtiUniquePtr()
Djni_binder.cc200 JvmtiUniquePtr threads_uptr = MakeJvmtiUniquePtr(jvmti_env, threads); in FindClass()