/art/libnativebridge/ |
D | native_bridge.cc | 117 static const NativeBridgeCallbacks* callbacks = nullptr; variable 185 if (callbacks == nullptr || callbacks->version == 0 || version == 0) { in isCompatibleWith() 190 if (callbacks->version >= SIGNAL_VERSION) { in isCompatibleWith() 191 return callbacks->isCompatibleWith(version); in isCompatibleWith() 229 callbacks = reinterpret_cast<NativeBridgeCallbacks*>(dlsym(handle, in LoadNativeBridge() 231 if (callbacks != nullptr) { in LoadNativeBridge() 236 callbacks = nullptr; in LoadNativeBridge() 247 if (callbacks == nullptr) { in LoadNativeBridge() 336 return callbacks->preZygoteFork(); in PreZygoteForkNativeBridge() 452 if (callbacks->initialize(runtime_callbacks, app_code_cache_dir, instruction_set)) { in InitializeNativeBridge() [all …]
|
/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/libelffile/elf/ |
D | xz_utils.cc | 79 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/ |
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 | 128 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/ |
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/runtime/verifier/ |
D | class_verifier.cc | 132 CompilerCallbacks* callbacks, in VerifyClass() argument 143 callbacks, in VerifyClass() 153 CompilerCallbacks* callbacks, in CommonVerifyClass() argument 177 if (callbacks != nullptr) { in CommonVerifyClass() 179 callbacks->ClassRejected(ref); in CommonVerifyClass() 191 callbacks, in CommonVerifyClass() 205 CompilerCallbacks* callbacks, in VerifyClass() argument 216 callbacks, in VerifyClass() 229 CompilerCallbacks* callbacks, in VerifyClass() argument 287 callbacks, in VerifyClass()
|
D | class_verifier.h | 68 CompilerCallbacks* callbacks, 79 CompilerCallbacks* callbacks, 95 CompilerCallbacks* callbacks, 108 CompilerCallbacks* callbacks,
|
/art/test/905-object-free/ |
D | tracking_free.cc | 59 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/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 121 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/openjdkjvmti/ |
D | ti_heap.h | 56 const jvmtiHeapCallbacks* callbacks, 63 const jvmtiHeapCallbacks* callbacks, 89 const jvmtiHeapCallbacks* callbacks,
|
D | ti_breakpoint.cc | 107 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Register() local 108 callbacks->AddReflectiveValueVisitCallback(&gReflectiveValueCallback); in Register() 115 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Unregister() local 116 callbacks->RemoveReflectiveValueVisitCallback(&gReflectiveValueCallback); in Unregister()
|
D | ti_field.cc | 116 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Register() local 117 callbacks->AddReflectiveValueVisitCallback(&gReflectiveValueCallback); in Register() 124 art::RuntimeCallbacks* callbacks = art::Runtime::Current()->GetRuntimeCallbacks(); in Unregister() local 125 callbacks->RemoveReflectiveValueVisitCallback(&gReflectiveValueCallback); in Unregister()
|
D | deopt_manager.cc | 105 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()
|
D | ti_heap.cc | 751 const jvmtiHeapCallbacks* callbacks, in DoIterateThroughHeap() argument 753 if (callbacks == nullptr) { in DoIterateThroughHeap() 798 jint ret = fn(obj, callbacks, class_tag, size, &tag, length, const_cast<void*>(user_data)); in DoIterateThroughHeap() 807 jint string_ret = ReportString(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap() 812 jint array_ret = ReportPrimitiveArray(obj, env, tag_table, callbacks, user_data); in DoIterateThroughHeap() 817 stop_reports = ReportPrimitiveField::Report(obj, tag_table, callbacks, user_data); in DoIterateThroughHeap() 828 const jvmtiHeapCallbacks* callbacks, in IterateThroughHeap() argument 849 callbacks, in IterateThroughHeap() 858 const jvmtiHeapCallbacks* callbacks, in FollowReferencesHelper() argument 865 callbacks_(callbacks), in FollowReferencesHelper() [all …]
|
/art/test/904-object-allocation/ |
D | tracking.cc | 104 jvmtiEventCallbacks callbacks; in Java_art_Test904_setupObjectAllocCallback() local 105 memset(&callbacks, 0, sizeof(jvmtiEventCallbacks)); in Java_art_Test904_setupObjectAllocCallback() 106 callbacks.VMObjectAlloc = enable ? ObjectAllocated : nullptr; in Java_art_Test904_setupObjectAllocCallback() 108 jvmtiError ret = jvmti_env->SetEventCallbacks(&callbacks, sizeof(callbacks)); in Java_art_Test904_setupObjectAllocCallback()
|
/art/dex2oat/ |
D | common_compiler_driver_test.cc | 102 QuickCompilerCallbacks* callbacks = in SetUpRuntimeOptions() local 104 callbacks->SetVerificationResults(verification_results_.get()); in SetUpRuntimeOptions() 105 callbacks_.reset(callbacks); in SetUpRuntimeOptions()
|
/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/jvmti-agents/titrace/ |
D | titrace.cc | 279 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/test/1940-ddms-ext/ |
D | ddm_ext.cc | 132 std::vector<DdmCallbackData> callbacks; in Java_art_Test1940_publishListen() local 144 callbacks.emplace_back(std::move(data->callbacks_received.front())); in Java_art_Test1940_publishListen() 150 for (auto cb : callbacks) { in Java_art_Test1940_publishListen() 155 callbacks.clear(); in Java_art_Test1940_publishListen()
|
/art/tools/jvmti-agents/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/runtime/ |
D | aot_class_linker.cc | 111 CompilerCallbacks* callbacks = runtime->GetCompilerCallbacks(); in PerformClassVerification() local 112 ClassStatus old_status = callbacks->GetPreviousClassState( in PerformClassVerification()
|