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.cc57 /*out*/std::vector<JvmtiUniquePtr<char[]>>* char_buffers, in ToParamInfo()
59 JvmtiUniquePtr<char[]> param_name = CopyString(env, name, err); in ToParamInfo()
76 std::vector<JvmtiUniquePtr<char[]>> char_buffers; in GetExtensionFunctions()
77 std::vector<JvmtiUniquePtr<jvmtiParamInfo[]>> param_buffers; in GetExtensionFunctions()
78 std::vector<JvmtiUniquePtr<jvmtiError[]>> error_buffers; in GetExtensionFunctions()
90 JvmtiUniquePtr<char[]> id_ptr = CopyString(env, id, &error); in GetExtensionFunctions()
97 JvmtiUniquePtr<char[]> descr = CopyString(env, short_description, &error); in GetExtensionFunctions()
106 JvmtiUniquePtr<jvmtiParamInfo[]> params_ptr = in GetExtensionFunctions()
126 JvmtiUniquePtr<jvmtiError[]> errors_ptr = in GetExtensionFunctions()
333 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_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_ddms.cc78 JvmtiUniquePtr<jbyte[]> ret = AllocJvmtiUniquePtr<jbyte[]>(env, out_data.size(), &error); in HandleChunk()
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_dump.cc88 JvmtiUniquePtr<char[]> res = CopyString(jvmti, ss.str().c_str(), &err); in DumpInternalState()
Dti_method.cc237 JvmtiUniquePtr<char[]> name_str = CopyString(env, entry.name_, &err); in GetLocalVariableTable()
241 JvmtiUniquePtr<char[]> sig_str = CopyString(env, entry.descriptor_, &err); in GetLocalVariableTable()
245 JvmtiUniquePtr<char[]> generic_sig_str = CopyString(env, entry.signature_, &err); in GetLocalVariableTable()
306 JvmtiUniquePtr<char[]> name_copy; in GetMethodName()
320 JvmtiUniquePtr<char[]> signature_copy; in GetMethodName()
344 JvmtiUniquePtr<char[]> generic_copy = CopyString(env, output_string.c_str(), &ret); in GetMethodName()
Dti_class.cc702 JvmtiUniquePtr<char[]> sig_copy; in GetClassSignature()
729 JvmtiUniquePtr<char[]> copy = CopyString(env, output_string.c_str(), &ret); in GetClassSignature()
1091 JvmtiUniquePtr<char[]> source_copy; in GetSourceFileName()
1121 JvmtiUniquePtr<char[]> ext_copy; in GetSourceDebugExtension()
Dti_heap.cc71 JvmtiUniquePtr<uint16_t[]> data; in ReportString()
153 JvmtiUniquePtr<char[]> data = AllocJvmtiUniquePtr<char[]>(env, in ReportPrimitiveArray()
1527 JvmtiUniquePtr<char[]> param_name = CopyString(env, in, &error); in CopyStringAndReturn()
Dti_redefine.cc480 JvmtiUniquePtr<char> generic_unique_ptr(MakeJvmtiUniquePtr(env, generic_ptr_unused)); in AddRedefinition()
481 JvmtiUniquePtr<char> signature_unique_ptr(MakeJvmtiUniquePtr(env, signature_ptr)); in AddRedefinition()
Dti_thread.cc276 JvmtiUniquePtr<char[]> name_uptr; in GetThreadInfo()
DOpenjdkJvmTi.cc1338 JvmtiUniquePtr<char[]> copy = CopyString(env, name_cstr, &res); in GetErrorName()
/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()