Home
last modified time | relevance | path

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

/art/openjdkjvmti/
Dart_jvmti.h179 using JvmtiUniquePtr = std::unique_ptr<T, JvmtiDeleter<T>>; variable
183 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr()
184 return JvmtiUniquePtr<T>(mem, JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
189 static inline JvmtiUniquePtr<T> MakeJvmtiUniquePtr(jvmtiEnv* env, unsigned char* mem) { in MakeJvmtiUniquePtr()
190 return JvmtiUniquePtr<T>(reinterpret_cast<T*>(mem), JvmtiDeleter<T>(env)); in MakeJvmtiUniquePtr()
195 static inline JvmtiUniquePtr<T> AllocJvmtiUniquePtr(jvmtiEnv* env, jvmtiError* error) { in AllocJvmtiUniquePtr()
199 return JvmtiUniquePtr<T>(); in AllocJvmtiUniquePtr()
201 return JvmtiUniquePtr<T>(tmp, JvmtiDeleter<T>(env)); in AllocJvmtiUniquePtr()
206 static inline JvmtiUniquePtr<T> AllocJvmtiUniquePtr(jvmtiEnv* env, in AllocJvmtiUniquePtr()
212 return JvmtiUniquePtr<T>(); in AllocJvmtiUniquePtr()
[all …]
Dti_extension.cc62 /*out*/std::vector<JvmtiUniquePtr<char[]>>* char_buffers, in ToParamInfo()
64 JvmtiUniquePtr<char[]> param_name = CopyString(env, name, err); in ToParamInfo()
81 std::vector<JvmtiUniquePtr<char[]>> char_buffers; in GetExtensionFunctions()
82 std::vector<JvmtiUniquePtr<jvmtiParamInfo[]>> param_buffers; in GetExtensionFunctions()
83 std::vector<JvmtiUniquePtr<jvmtiError[]>> error_buffers; in GetExtensionFunctions()
95 JvmtiUniquePtr<char[]> id_ptr = CopyString(env, id, &error); in GetExtensionFunctions()
102 JvmtiUniquePtr<char[]> descr = CopyString(env, short_description, &error); in GetExtensionFunctions()
111 JvmtiUniquePtr<jvmtiParamInfo[]> params_ptr = in GetExtensionFunctions()
131 JvmtiUniquePtr<jvmtiError[]> errors_ptr = in GetExtensionFunctions()
568 JvmtiUniquePtr<jvmtiExtensionFunctionInfo[]> out_data = in GetExtensionFunctions()
[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_threadgroup.cc123 JvmtiUniquePtr<char[]> copy = CopyString(env, tmp_cstr, &result); in GetThreadGroupInfo()
245 JvmtiUniquePtr<jthread[]> peers_uptr; in GetThreadGroupChildren()
254 JvmtiUniquePtr<jthreadGroup[]> group_uptr; in GetThreadGroupChildren()
Dti_ddms.cc78 JvmtiUniquePtr<jbyte[]> ret = AllocJvmtiUniquePtr<jbyte[]>(env, out_data.size(), &error); in HandleChunk()
Dti_dump.cc88 JvmtiUniquePtr<char[]> res = CopyString(jvmti, ss.str().c_str(), &err); in DumpInternalState()
Dti_field.cc147 JvmtiUniquePtr<char[]> name_copy; in GetFieldName()
161 JvmtiUniquePtr<char[]> signature_copy; in GetFieldName()
184 JvmtiUniquePtr<char[]> copy = CopyString(env, output_string.c_str(), &ret); in GetFieldName()
Dti_method.cc256 JvmtiUniquePtr<char[]> name_str = CopyString(env, entry.name_, &err); in GetLocalVariableTable()
260 JvmtiUniquePtr<char[]> sig_str = CopyString(env, entry.descriptor_, &err); in GetLocalVariableTable()
264 JvmtiUniquePtr<char[]> generic_sig_str = CopyString(env, entry.signature_, &err); in GetLocalVariableTable()
326 JvmtiUniquePtr<char[]> name_copy; in GetMethodName()
340 JvmtiUniquePtr<char[]> signature_copy; in GetMethodName()
364 JvmtiUniquePtr<char[]> generic_copy = CopyString(env, output_string.c_str(), &ret); in GetMethodName()
Dti_class.cc708 JvmtiUniquePtr<char[]> sig_copy; in GetClassSignature()
735 JvmtiUniquePtr<char[]> copy = CopyString(env, output_string.c_str(), &ret); in GetClassSignature()
1097 JvmtiUniquePtr<char[]> source_copy; in GetSourceFileName()
1127 JvmtiUniquePtr<char[]> ext_copy; in GetSourceDebugExtension()
Dti_heap.cc101 JvmtiUniquePtr<uint16_t[]> data; in ReportString()
183 JvmtiUniquePtr<char[]> data = AllocJvmtiUniquePtr<char[]>(env, in ReportPrimitiveArray()
1554 JvmtiUniquePtr<char[]> param_name = CopyString(env, in, &error); in CopyStringAndReturn()
Dti_thread.cc279 JvmtiUniquePtr<char[]> name_uptr; in GetThreadInfo()
DOpenjdkJvmTi.cc1308 JvmtiUniquePtr<char[]> copy = CopyString(env, name_cstr, &res); in GetErrorName()
Dti_redefine.cc698 JvmtiUniquePtr<char> generic_unique_ptr(MakeJvmtiUniquePtr(env, generic_ptr_unused)); in AddRedefinition()
699 JvmtiUniquePtr<char> signature_unique_ptr(MakeJvmtiUniquePtr(env, signature_ptr)); in AddRedefinition()
/art/test/ti-agent/
Djvmti_helper.h67 using JvmtiUniquePtr = std::unique_ptr<unsigned char, JvmtiDeleter>; variable
70 static inline JvmtiUniquePtr MakeJvmtiUniquePtr(jvmtiEnv* env, T* mem) { in MakeJvmtiUniquePtr()
71 return JvmtiUniquePtr(reinterpret_cast<unsigned char*>(mem), JvmtiDeleter(env)); in MakeJvmtiUniquePtr()
Djni_binder.cc200 JvmtiUniquePtr threads_uptr = MakeJvmtiUniquePtr(jvmti_env, threads); in GetClass()