Home
last modified time | relevance | path

Searched refs:callbacks (Results 1 – 25 of 34) sorted by relevance

12

/art/test/933-misc-events/
Dmisc_events.cc43 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/
Dgc_callbacks.cc45 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/libelffile/elf/
Dxz_utils.cc79 XzCallbacks callbacks; in XzCompress() local
80 callbacks.Read = XzCallbacks::ReadImpl; in XzCompress()
81 callbacks.Write = XzCallbacks::WriteImpl; in XzCompress()
82 callbacks.Progress = XzCallbacks::ProgressImpl; in XzCompress()
83 callbacks.src_pos_ = 0; in XzCompress()
84 callbacks.src_ = src; in XzCompress()
85 callbacks.dst_ = dst; in XzCompress()
87 SRes res = Xz_Encode(&callbacks, &callbacks, &props, &callbacks); in XzCompress()
/art/test/906-iterate-heap/
Diterate_heap.cc60 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/
Dclasses_art.cc56 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));
Dclasses.cc258 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/
Dheaps.cc128 jvmtiHeapCallbacks callbacks; in Run() local
129 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Run()
130 callbacks.heap_reference_callback = HeapReferenceCallback; in Run()
135 &callbacks, in Run()
607 jvmtiHeapCallbacks callbacks; in Java_art_Test913_followReferencesString() local
608 memset(&callbacks, 0, sizeof(jvmtiHeapCallbacks)); in Java_art_Test913_followReferencesString()
609 callbacks.heap_reference_callback = FindStringCallbacks::FollowReferencesCallback; in Java_art_Test913_followReferencesString()
610 callbacks.string_primitive_value_callback = FindStringCallbacks::StringValueCallback; in Java_art_Test913_followReferencesString()
613 jvmtiError ret = jvmti_env->FollowReferences(0, nullptr, initial_object, &callbacks, &fsc); in Java_art_Test913_followReferencesString()
708 jvmtiHeapCallbacks callbacks; in Java_art_Test913_followReferencesPrimitiveArray() local
[all …]
/art/test/901-hello-ti-agent/
Dbasics.cc70 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/905-object-free/
Dtracking_free.cc59 jvmtiEventCallbacks callbacks; in setupObjectFreeCallback() local
60 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in setupObjectFreeCallback()
61 callbacks.ObjectFree = callback; in setupObjectFreeCallback()
62 jvmtiError ret = jenv->SetEventCallbacks(&callbacks, sizeof(callbacks)); in setupObjectFreeCallback()
/art/openjdkjvmti/
Dti_heap.h42 const jvmtiHeapCallbacks* callbacks,
49 const jvmtiHeapCallbacks* callbacks,
73 const jvmtiHeapCallbacks* callbacks,
Dti_heap.cc726 const jvmtiHeapCallbacks* callbacks, in DoIterateThroughHeap() argument
728 if (callbacks == nullptr) { in DoIterateThroughHeap()
772 jint ret = fn(obj, callbacks, class_tag, size, &tag, length, const_cast<void*>(user_data)); in DoIterateThroughHeap()
781 jint string_ret = ReportString(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap()
786 jint array_ret = ReportPrimitiveArray(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap()
791 stop_reports = ReportPrimitiveField::Report(obj, tag_table, callbacks, user_data); in DoIterateThroughHeap()
802 const jvmtiHeapCallbacks* callbacks, in IterateThroughHeap() argument
823 callbacks, in IterateThroughHeap()
832 const jvmtiHeapCallbacks* callbacks, in FollowReferencesHelper() argument
839 callbacks_(callbacks), in FollowReferencesHelper()
[all …]
Ddeopt_manager.cc105 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Setup() local
106 callbacks->AddMethodInspectionCallback(&inspection_callback_); in Setup()
113 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Shutdown() local
114 callbacks->RemoveMethodInspectionCallback(&inspection_callback_); in Shutdown()
/art/runtime/verifier/
Dclass_verifier.cc48 CompilerCallbacks* callbacks, in VerifyClass() argument
74 if (callbacks != nullptr) { in VerifyClass()
76 callbacks->ClassRejected(ref); in VerifyClass()
88 callbacks, in VerifyClass()
100 CompilerCallbacks* callbacks, in VerifyClass() argument
151 callbacks, in VerifyClass()
Dclass_verifier.h55 CompilerCallbacks* callbacks,
66 CompilerCallbacks* callbacks,
Dmethod_verifier.h227 CompilerCallbacks* callbacks,
245 CompilerCallbacks* callbacks,
/art/test/904-object-allocation/
Dtracking.cc106 jvmtiEventCallbacks callbacks; in Java_art_Test904_setupObjectAllocCallback() local
107 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test904_setupObjectAllocCallback()
108 callbacks.VMObjectAlloc = enable ? ObjectAllocated : nullptr; in Java_art_Test904_setupObjectAllocCallback()
110 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test904_setupObjectAllocCallback()
/art/test/1919-vminit-thread-start-timing/
Dvminit.cc121 jvmtiEventCallbacks callbacks; in InstallVMEvents() local
122 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in InstallVMEvents()
123 callbacks.VMInit = VMInitCallback; in InstallVMEvents()
124 callbacks.ThreadStart = ThreadStartCallback; in InstallVMEvents()
125 jvmtiError ret = env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in InstallVMEvents()
/art/dex2oat/
Dcommon_compiler_driver_test.cc102 QuickCompilerCallbacks* callbacks = in SetUpRuntimeOptions() local
104 callbacks->SetVerificationResults(verification_results_.get()); in SetUpRuntimeOptions()
105 callbacks_.reset(callbacks); in SetUpRuntimeOptions()
/art/test/924-threads/
Dthreads.cc241 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/jvmti-agents/titrace/
Dtitrace.cc279 jvmtiEventCallbacks callbacks = {}; in Agent_OnLoad() local
280 callbacks.SingleStep = &EventCallbacks::SingleStep; in Agent_OnLoad()
281 callbacks.DataDumpRequest = &EventCallbacks::DataDumpRequest; in Agent_OnLoad()
283 error = jvmti->SetEventCallbacks(&callbacks, in Agent_OnLoad()
284 static_cast<jint>(sizeof(callbacks))); in Agent_OnLoad()
/art/runtime/
Daot_class_linker.cc81 CompilerCallbacks* callbacks = runtime->GetCompilerCallbacks(); in PerformClassVerification() local
82 ClassStatus old_status = callbacks->GetPreviousClassState( in PerformClassVerification()
/art/tools/jvmti-agents/breakpoint-logger/
Dbreakpoint_logger.cc397 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/cmdline/
Dcmdline.h98 static NoopCompilerCallbacks callbacks; in StartRuntime() local
99 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in StartRuntime()
/art/dexoptanalyzer/
Ddexoptanalyzer.cc273 NoopCompilerCallbacks callbacks; in CreateRuntime() local
274 options.push_back(std::make_pair("compilercallbacks", &callbacks)); in CreateRuntime()
/art/openjdkjvmti/include/
Djvmti.h1602 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()

12