Searched refs:JvmtiUniquePtr (Results 1 – 13 of 13) sorted by relevance
/art/runtime/openjdkjvmti/ |
D | art_jvmti.h | 131 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 …]
|
D | ti_properties.cc | 99 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()
|
D | ti_class_definition.h | 119 JvmtiUniquePtr<unsigned char> dex_data_; 120 JvmtiUniquePtr<unsigned char> original_dex_file_memory_;
|
D | ti_field.cc | 66 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()
|
D | ti_threadgroup.cc | 120 JvmtiUniquePtr<char[]> copy = CopyString(env, tmp_cstr, &result); in GetThreadGroupInfo() 243 JvmtiUniquePtr<jthread[]> peers_uptr; in GetThreadGroupChildren() 252 JvmtiUniquePtr<jthreadGroup[]> group_uptr; in GetThreadGroupChildren()
|
D | ti_method.cc | 166 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()
|
D | OpenjdkJvmTi.cc | 1087 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()
|
D | ti_heap.cc | 69 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()
|
D | ti_class.cc | 704 JvmtiUniquePtr<char[]> sig_copy; in GetClassSignature() 731 JvmtiUniquePtr<char[]> copy = CopyString(env, output_string.c_str(), &ret); in GetClassSignature()
|
D | ti_thread.cc | 189 JvmtiUniquePtr<char[]> name_uptr; in GetThreadInfo()
|
D | ti_redefine.cc | 408 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/ |
D | jvmti_helper.h | 59 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()
|
D | jni_binder.cc | 200 JvmtiUniquePtr threads_uptr = MakeJvmtiUniquePtr(jvmti_env, threads); in FindClass()
|