/art/compiler/debug/ |
D | elf_gnu_debugdata_writer.h | 67 XzCallbacks callbacks; in XzCompress() local 68 callbacks.Read = XzCallbacks::ReadImpl; in XzCompress() 69 callbacks.Write = XzCallbacks::WriteImpl; in XzCompress() 70 callbacks.Progress = XzCallbacks::ProgressImpl; in XzCompress() 71 callbacks.src_pos_ = 0; in XzCompress() 72 callbacks.src_ = src; in XzCompress() 73 callbacks.dst_ = dst; in XzCompress() 75 SRes res = Xz_Encode(&callbacks, &callbacks, &props, &callbacks); in XzCompress()
|
/art/test/933-misc-events/ |
D | misc_events.cc | 43 jvmtiEventCallbacks callbacks; in Java_art_Test933_testSigQuit() local 44 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test933_testSigQuit() 45 callbacks.DataDumpRequest = DumpRequestCallback; in Java_art_Test933_testSigQuit() 46 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test933_testSigQuit()
|
/art/test/908-gc-start-finish/ |
D | gc_callbacks.cc | 45 jvmtiEventCallbacks callbacks; in Java_art_Test908_setupGcCallback() local 46 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test908_setupGcCallback() 47 callbacks.GarbageCollectionFinish = GarbageCollectionFinish; in Java_art_Test908_setupGcCallback() 48 callbacks.GarbageCollectionStart = GarbageCollectionStart; in Java_art_Test908_setupGcCallback() 50 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test908_setupGcCallback()
|
/art/test/906-iterate-heap/ |
D | iterate_heap.cc | 60 jvmtiHeapCallbacks callbacks; in Run() local 61 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Run() 62 callbacks.heap_iteration_callback = HeapIterationCallback; in Run() 66 &callbacks, in Run() 223 jvmtiHeapCallbacks callbacks; in Java_art_Test906_iterateThroughHeapString() local 224 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Java_art_Test906_iterateThroughHeapString() 225 callbacks.heap_iteration_callback = FindStringCallbacks::HeapIterationCallback; in Java_art_Test906_iterateThroughHeapString() 226 callbacks.string_primitive_value_callback = FindStringCallbacks::StringValueCallback; in Java_art_Test906_iterateThroughHeapString() 229 jvmtiError ret = jvmti_env->IterateThroughHeap(0, nullptr, &callbacks, &fsc); in Java_art_Test906_iterateThroughHeapString() 311 jvmtiHeapCallbacks callbacks; in Java_art_Test906_iterateThroughHeapPrimitiveArray() local [all …]
|
/art/test/912-classes/ |
D | classes_art.cc | 56 jvmtiEventCallbacks callbacks; variable 57 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); 58 callbacks.ClassLoad = class_load; 59 callbacks.ClassPrepare = class_prepare; 60 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
D | classes.cc | 258 jvmtiEventCallbacks callbacks; variable 259 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); 260 callbacks.ClassLoad = class_load; 261 callbacks.ClassPrepare = class_prepare; 262 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks));
|
/art/test/913-heaps/ |
D | heaps.cc | 126 jvmtiHeapCallbacks callbacks; in Run() local 127 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Run() 128 callbacks.heap_reference_callback = HeapReferenceCallback; in Run() 133 &callbacks, in Run() 599 jvmtiHeapCallbacks callbacks; in Java_art_Test913_followReferencesString() local 600 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Java_art_Test913_followReferencesString() 601 callbacks.heap_reference_callback = FindStringCallbacks::FollowReferencesCallback; in Java_art_Test913_followReferencesString() 602 callbacks.string_primitive_value_callback = FindStringCallbacks::StringValueCallback; in Java_art_Test913_followReferencesString() 605 jvmtiError ret = jvmti_env->FollowReferences(0, nullptr, initial_object, &callbacks, &fsc); in Java_art_Test913_followReferencesString() 697 jvmtiHeapCallbacks callbacks; in Java_art_Test913_followReferencesPrimitiveArray() local [all …]
|
/art/test/905-object-free/ |
D | tracking_free.cc | 52 jvmtiEventCallbacks callbacks; in setupObjectFreeCallback() local 53 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in setupObjectFreeCallback() 54 callbacks.ObjectFree = callback; in setupObjectFreeCallback() 55 jvmtiError ret = jenv->SetEventCallbacks(&callbacks, sizeof(callbacks)); in setupObjectFreeCallback()
|
/art/test/904-object-allocation/ |
D | tracking.cc | 69 jvmtiEventCallbacks callbacks; in Java_art_Test904_setupObjectAllocCallback() local 70 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test904_setupObjectAllocCallback() 71 callbacks.VMObjectAlloc = enable ? ObjectAllocated : nullptr; in Java_art_Test904_setupObjectAllocCallback() 73 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test904_setupObjectAllocCallback()
|
/art/openjdkjvmti/ |
D | ti_heap.h | 36 const jvmtiHeapCallbacks* callbacks, 43 const jvmtiHeapCallbacks* callbacks, 67 const jvmtiHeapCallbacks* callbacks,
|
D | deopt_manager.cc | 97 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Setup() local 98 callbacks->AddMethodInspectionCallback(&inspection_callback_); in Setup() 105 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Shutdown() local 106 callbacks->RemoveMethodInspectionCallback(&inspection_callback_); in Shutdown()
|
D | ti_heap.cc | 662 const jvmtiHeapCallbacks* callbacks, in DoIterateThroughHeap() argument 664 if (callbacks == nullptr) { in DoIterateThroughHeap() 708 jint ret = fn(obj, callbacks, class_tag, size, &tag, length, const_cast<void*>(user_data)); in DoIterateThroughHeap() 717 jint string_ret = ReportString(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap() 722 jint array_ret = ReportPrimitiveArray(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap() 727 stop_reports = ReportPrimitiveField::Report(obj, tag_table, callbacks, user_data); in DoIterateThroughHeap() 738 const jvmtiHeapCallbacks* callbacks, in IterateThroughHeap() argument 759 callbacks, in IterateThroughHeap() 768 const jvmtiHeapCallbacks* callbacks, in FollowReferencesHelper() argument 775 callbacks_(callbacks), in FollowReferencesHelper() [all …]
|
/art/test/901-hello-ti-agent/ |
D | basics.cc | 70 jvmtiEventCallbacks callbacks; in InstallVMEvents() local 71 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in InstallVMEvents() 72 callbacks.VMStart = VMStartCallback; in InstallVMEvents() 73 callbacks.VMInit = VMInitCallback; in InstallVMEvents() 74 callbacks.VMDeath = VMDeathCallback; in InstallVMEvents() 75 jvmtiError ret = env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in InstallVMEvents()
|
/art/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 116 jvmtiEventCallbacks callbacks; in InstallVMEvents() local 117 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in InstallVMEvents() 118 callbacks.VMInit = VMInitCallback; in InstallVMEvents() 119 callbacks.ThreadStart = ThreadStartCallback; in InstallVMEvents() 120 jvmtiError ret = env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in InstallVMEvents()
|
/art/test/924-threads/ |
D | threads.cc | 241 jvmtiEventCallbacks callbacks; in Java_art_Test924_enableThreadEvents() local 242 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test924_enableThreadEvents() 243 callbacks.ThreadStart = ThreadStart; in Java_art_Test924_enableThreadEvents() 244 callbacks.ThreadEnd = ThreadEnd; in Java_art_Test924_enableThreadEvents() 245 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test924_enableThreadEvents()
|
/art/tools/titrace/ |
D | titrace.cc | 274 jvmtiEventCallbacks callbacks = {}; in Agent_OnLoad() local 275 callbacks.SingleStep = &EventCallbacks::SingleStep; in Agent_OnLoad() 276 callbacks.DataDumpRequest = &EventCallbacks::DataDumpRequest; in Agent_OnLoad() 278 error = jvmti->SetEventCallbacks(&callbacks, in Agent_OnLoad() 279 static_cast<jint>(sizeof(callbacks))); in Agent_OnLoad()
|
/art/runtime/ |
D | aot_class_linker.cc | 78 CompilerCallbacks* callbacks = runtime->GetCompilerCallbacks(); in PerformClassVerification() local 79 ClassStatus old_status = callbacks->GetPreviousClassState( in PerformClassVerification()
|
D | runtime.h | 157 void SetCompilerCallbacks(CompilerCallbacks* callbacks) { in SetCompilerCallbacks() argument 158 CHECK(callbacks != nullptr); in SetCompilerCallbacks() 159 compiler_callbacks_ = callbacks; in SetCompilerCallbacks()
|
/art/tools/breakpoint-logger/ |
D | breakpoint_logger.cc | 397 jvmtiEventCallbacks callbacks{}; in AgentStart() local 398 callbacks.Breakpoint = &BreakpointCB; in AgentStart() 399 callbacks.VMInit = &VMInitCB; in AgentStart() 401 error = jvmti->SetEventCallbacks(&callbacks, static_cast<jint>(sizeof(callbacks))); in AgentStart()
|
/art/compiler/ |
D | common_compiler_test.cc | 207 QuickCompilerCallbacks* callbacks = in SetUpRuntimeOptions() local 209 callbacks->SetVerificationResults(verification_results_.get()); in SetUpRuntimeOptions() 210 callbacks_.reset(callbacks); in SetUpRuntimeOptions()
|
/art/runtime/verifier/ |
D | method_verifier.h | 100 CompilerCallbacks* callbacks, 110 CompilerCallbacks* callbacks, 288 CompilerCallbacks* callbacks, 315 CompilerCallbacks* callbacks,
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 232 NoopCompilerCallbacks callbacks; in CreateRuntime() local 233 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in CreateRuntime()
|
/art/cmdline/ |
D | cmdline.h | 95 static NoopCompilerCallbacks callbacks; in StartRuntime() local 96 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in StartRuntime()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 1602 const jvmtiHeapCallbacks* callbacks, 1609 const jvmtiHeapCallbacks* callbacks, 1631 const jvmtiEventCallbacks* callbacks, 1974 const jvmtiHeapCallbacks* callbacks, in FollowReferences() 1976 …return functions->FollowReferences(this, heap_filter, klass, initial_object, callbacks, user_data); in FollowReferences() 1981 const jvmtiHeapCallbacks* callbacks, in IterateThroughHeap() 1983 return functions->IterateThroughHeap(this, heap_filter, klass, callbacks, user_data); in IterateThroughHeap() 2392 jvmtiError SetEventCallbacks(const jvmtiEventCallbacks* callbacks, in SetEventCallbacks() 2394 return functions->SetEventCallbacks(this, callbacks, size_of_callbacks); in SetEventCallbacks()
|
/art/test/115-native-bridge/ |
D | expected.txt | 6 Test ART callbacks: all JNI function number is 12.
|