Home
last modified time | relevance | path

Searched refs:event_ptr (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDebuggerEvents.cpp19 static const T *GetEventDataFromEventImpl(const Event *event_ptr) { in GetEventDataFromEventImpl() argument
20 if (event_ptr) in GetEventDataFromEventImpl()
21 if (const EventData *event_data = event_ptr->GetData()) in GetEventDataFromEventImpl()
23 return static_cast<const T *>(event_ptr->GetData()); in GetEventDataFromEventImpl()
50 ProgressEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() argument
51 return GetEventDataFromEventImpl<ProgressEventData>(event_ptr); in GetEventDataFromEvent()
55 ProgressEventData::GetAsStructuredData(const Event *event_ptr) { in GetAsStructuredData() argument
57 ProgressEventData::GetEventDataFromEvent(event_ptr); in GetAsStructuredData()
106 DiagnosticEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() argument
107 return GetEventDataFromEventImpl<DiagnosticEventData>(event_ptr); in GetEventDataFromEvent()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DEvent.cpp146 const void *EventDataBytes::GetBytesFromEvent(const Event *event_ptr) { in GetBytesFromEvent() argument
147 const EventDataBytes *e = GetEventDataFromEvent(event_ptr); in GetBytesFromEvent()
153 size_t EventDataBytes::GetByteSizeFromEvent(const Event *event_ptr) { in GetByteSizeFromEvent() argument
154 const EventDataBytes *e = GetEventDataFromEvent(event_ptr); in GetByteSizeFromEvent()
161 EventDataBytes::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() argument
162 if (event_ptr != nullptr) { in GetEventDataFromEvent()
163 const EventData *event_data = event_ptr->GetData(); in GetEventDataFromEvent()
235 EventDataStructuredData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() argument
236 if (event_ptr == nullptr) in GetEventDataFromEvent()
239 const EventData *event_data = event_ptr->GetData(); in GetEventDataFromEvent()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadPlanBase.cpp55 bool ThreadPlanBase::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
61 Vote ThreadPlanBase::ShouldReportStop(Event *event_ptr) { in ShouldReportStop() argument
64 bool should_notify = stop_info_sp->ShouldNotify(event_ptr); in ShouldReportStop()
73 bool ThreadPlanBase::ShouldStop(Event *event_ptr) { in ShouldStop() argument
92 if (stop_info_sp->ShouldStopSynchronous(event_ptr)) { in ShouldStop()
109 if (stop_info_sp->ShouldNotify(event_ptr)) { in ShouldStop()
148 if (stop_info_sp->ShouldStop(event_ptr)) { in ShouldStop()
159 if (stop_info_sp->ShouldNotify(event_ptr)) in ShouldStop()
H A DThreadPlanSingleThreadTimeout.cpp145 bool ThreadPlanSingleThreadTimeout::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
146 bool is_timeout_interrupt = IsTimeoutAsyncInterrupt(event_ptr); in DoPlanExplainsStop()
191 bool ThreadPlanSingleThreadTimeout::ShouldStop(Event *event_ptr) { in ShouldStop() argument
192 return HandleEvent(event_ptr); in ShouldStop()
208 bool ThreadPlanSingleThreadTimeout::IsTimeoutAsyncInterrupt(Event *event_ptr) { in IsTimeoutAsyncInterrupt() argument
210 Process::ProcessEventData::GetStateFromEvent(event_ptr); in IsTimeoutAsyncInterrupt()
223 bool ThreadPlanSingleThreadTimeout::HandleEvent(Event *event_ptr) { in HandleEvent() argument
224 if (IsTimeoutAsyncInterrupt(event_ptr)) { in HandleEvent()
226 if (Process::ProcessEventData::GetRestartedFromEvent(event_ptr)) { in HandleEvent()
H A DStopInfo.cpp152 bool ShouldStopSynchronous(Event *event_ptr) override { in ShouldStopSynchronous() argument
161 StoppointCallbackContext context(event_ptr, exe_ctx, true); in ShouldStopSynchronous()
181 bool DoShouldNotify(Event *event_ptr) override { in DoShouldNotify() argument
271 bool ShouldStop(Event *event_ptr) override { in ShouldStop() argument
279 void PerformAction(Event *event_ptr) override { in PerformAction() argument
407 StoppointCallbackContext context(event_ptr, exe_ctx, false); in PerformAction()
742 bool DoPlanExplainsStop(Event *event_ptr) override { in DoPlanExplainsStop() argument
743 if (ThreadPlanStepInstruction::DoPlanExplainsStop(event_ptr)) in DoPlanExplainsStop()
760 bool ShouldStop(Event *event_ptr) override { in ShouldStop() argument
761 bool should_stop = ThreadPlanStepInstruction::ShouldStop(event_ptr); in ShouldStop()
[all …]
H A DThreadPlan.cpp51 bool ThreadPlan::PlanExplainsStop(Event *event_ptr) { in PlanExplainsStop() argument
53 bool actual_value = DoPlanExplainsStop(event_ptr); in PlanExplainsStop()
79 Vote ThreadPlan::ShouldReportStop(Event *event_ptr) { in ShouldReportStop() argument
85 Vote prev_vote = prev_plan->ShouldReportStop(event_ptr); in ShouldReportStop()
94 Vote ThreadPlan::ShouldReportRun(Event *event_ptr) { in ShouldReportRun() argument
98 return prev_plan->ShouldReportRun(event_ptr); in ShouldReportRun()
212 bool ThreadPlanNull::ShouldStop(Event *event_ptr) { in ShouldStop() argument
244 bool ThreadPlanNull::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
H A DThreadPlanStepOverBreakpoint.cpp50 bool ThreadPlanStepOverBreakpoint::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
100 bool ThreadPlanStepOverBreakpoint::ShouldStop(Event *event_ptr) { in ShouldStop() argument
101 return !ShouldAutoContinue(event_ptr); in ShouldStop()
173 bool ThreadPlanStepOverBreakpoint::ShouldAutoContinue(Event *event_ptr) { in ShouldAutoContinue() argument
H A DThreadPlanCallFunction.cpp255 Vote ThreadPlanCallFunction::ShouldReportStop(Event *event_ptr) { in ShouldReportStop() argument
259 return ThreadPlan::ShouldReportStop(event_ptr); in ShouldReportStop()
262 bool ThreadPlanCallFunction::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
268 if (m_subplan_sp && m_subplan_sp->PlanExplainsStop(event_ptr)) { in DoPlanExplainsStop()
290 if (Process::ProcessEventData::GetInterruptedFromEvent(event_ptr)) { in DoPlanExplainsStop()
354 m_real_stop_info_sp->ShouldStopSynchronous(event_ptr)) { in DoPlanExplainsStop()
362 bool ThreadPlanCallFunction::ShouldStop(Event *event_ptr) { in ShouldStop() argument
366 DoPlanExplainsStop(event_ptr); in ShouldStop()
H A DThread.cpp172 Thread::ThreadEventData::GetEventDataFromEvent(const Event *event_ptr) { in GetEventDataFromEvent() argument
173 if (event_ptr) { in GetEventDataFromEvent()
174 const EventData *event_data = event_ptr->GetData(); in GetEventDataFromEvent()
177 return static_cast<const ThreadEventData *>(event_ptr->GetData()); in GetEventDataFromEvent()
182 ThreadSP Thread::ThreadEventData::GetThreadFromEvent(const Event *event_ptr) { in GetThreadFromEvent() argument
184 const ThreadEventData *event_data = GetEventDataFromEvent(event_ptr); in GetThreadFromEvent()
190 StackID Thread::ThreadEventData::GetStackIDFromEvent(const Event *event_ptr) { in GetStackIDFromEvent() argument
192 const ThreadEventData *event_data = GetEventDataFromEvent(event_ptr); in GetStackIDFromEvent()
199 Thread::ThreadEventData::GetStackFrameFromEvent(const Event *event_ptr) { in GetStackFrameFromEvent() argument
200 const ThreadEventData *event_data = GetEventDataFromEvent(event_ptr); in GetStackFrameFromEvent()
[all …]
H A DScriptedThreadPlan.cpp92 bool ScriptedThreadPlan::ShouldStop(Event *event_ptr) { in ShouldStop() argument
99 auto should_stop_or_err = m_interface->ShouldStop(event_ptr); in ShouldStop()
128 bool ScriptedThreadPlan::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
135 auto explains_stop_or_error = m_interface->ExplainsStop(event_ptr); in DoPlanExplainsStop()
H A DThreadPlanCallOnFunctionExit.cpp59 bool ThreadPlanCallOnFunctionExit::ShouldStop(Event *event_ptr) { in ShouldStop() argument
86 bool ThreadPlanCallOnFunctionExit::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DEvent.h59 virtual bool ForwardEventToPendingListeners(Event *event_ptr) { return true; } in ForwardEventToPendingListeners() argument
61 virtual void DoOnRemoval(Event *event_ptr) {} in DoOnRemoval() argument
87 static const EventDataBytes *GetEventDataFromEvent(const Event *event_ptr);
89 static const void *GetBytesFromEvent(const Event *event_ptr);
91 static size_t GetByteSizeFromEvent(const Event *event_ptr);
119 void DoOnRemoval(Event *event_ptr) override { in DoOnRemoval() argument
157 GetEventDataFromEvent(const Event *event_ptr);
159 static lldb::ProcessSP GetProcessFromEvent(const Event *event_ptr);
161 static StructuredData::ObjectSP GetObjectFromEvent(const Event *event_ptr);
164 GetPluginFromEvent(const Event *event_ptr);
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlan.h375 bool PlanExplainsStop(Event *event_ptr);
377 virtual bool ShouldStop(Event *event_ptr) = 0;
385 virtual bool ShouldAutoContinue(Event *event_ptr) { return false; } in ShouldAutoContinue() argument
390 virtual Vote ShouldReportStop(Event *event_ptr);
392 Vote ShouldReportRun(Event *event_ptr);
524 virtual bool DoPlanExplainsStop(Event *event_ptr) = 0;
605 bool ShouldStop(Event *event_ptr) override;
618 bool DoPlanExplainsStop(Event *event_ptr) override;
H A DThreadPlanSingleThreadTimeout.h72 bool DoPlanExplainsStop(Event *event_ptr) override;
79 bool ShouldStop(Event *event_ptr) override;
86 bool IsTimeoutAsyncInterrupt(Event *event_ptr);
87 bool HandleEvent(Event *event_ptr);
H A DStopInfo.h54 virtual bool ShouldStopSynchronous(Event *event_ptr) { return true; } in ShouldStopSynchronous() argument
61 virtual bool ShouldNotify(Event *event_ptr) { in ShouldNotify() argument
63 return DoShouldNotify(event_ptr); in ShouldNotify()
202 virtual void PerformAction(Event *event_ptr) {} in PerformAction() argument
204 virtual bool DoShouldNotify(Event *event_ptr) { return false; } in DoShouldNotify() argument
213 virtual bool ShouldStop(Event *event_ptr) { return true; } in ShouldStop() argument
H A DThreadPlanBase.h30 bool ShouldStop(Event *event_ptr) override;
31 Vote ShouldReportStop(Event *event_ptr) override;
45 bool DoPlanExplainsStop(Event *event_ptr) override;
H A DThreadPlanStepOverBreakpoint.h25 bool ShouldStop(Event *event_ptr) override;
34 bool ShouldAutoContinue(Event *event_ptr) override;
40 bool DoPlanExplainsStop(Event *event_ptr) override;
H A DThreadPlanCallFunction.h39 bool ShouldStop(Event *event_ptr) override;
41 Vote ShouldReportStop(Event *event_ptr) override;
102 bool DoPlanExplainsStop(Event *event_ptr) override;
H A DThreadList.h104 bool ShouldStop(Event *event_ptr);
106 Vote ShouldReportStop(Event *event_ptr);
108 Vote ShouldReportRun(Event *event_ptr);
H A DThreadPlanCallOnFunctionExit.h38 bool ShouldStop(Event *event_ptr) override;
43 bool DoPlanExplainsStop(Event *event_ptr) override;
H A DThreadPlanStepOverRange.h33 bool ShouldStop(Event *event_ptr) override;
37 bool DoPlanExplainsStop(Event *event_ptr) override;
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DDebuggerEvents.h37 static const ProgressEventData *GetEventDataFromEvent(const Event *event_ptr);
40 GetAsStructuredData(const Event *event_ptr);
97 GetEventDataFromEvent(const Event *event_ptr);
100 GetAsStructuredData(const Event *event_ptr);
120 GetEventDataFromEvent(const Event *event_ptr);
122 void DoOnRemoval(Event *event_ptr) override;
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBEvent.cpp38 SBEvent::SBEvent(Event *event_ptr) : m_opaque_ptr(event_ptr) { in SBEvent() argument
39 LLDB_INSTRUMENT_VA(this, event_ptr); in SBEvent()
150 void SBEvent::reset(Event *event_ptr) { in reset() argument
151 m_opaque_ptr = event_ptr; in reset()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleThreadPlanStepThroughObjCTrampoline.h40 bool ShouldStop(Event *event_ptr) override;
55 bool DoPlanExplainsStop(Event *event_ptr) override;
93 bool ShouldStop(Event *event_ptr) override;
106 bool DoPlanExplainsStop(Event *event_ptr) override;
H A DAppleThreadPlanStepThroughObjCTrampoline.cpp105 Event *event_ptr) { in DoPlanExplainsStop() argument
116 bool AppleThreadPlanStepThroughObjCTrampoline::ShouldStop(Event *event_ptr) { in ShouldStop() argument
309 AppleThreadPlanStepThroughDirectDispatch::DoPlanExplainsStop(Event *event_ptr) { in DoPlanExplainsStop() argument
310 if (ThreadPlanStepOut::DoPlanExplainsStop(event_ptr)) in DoPlanExplainsStop()
359 bool AppleThreadPlanStepThroughDirectDispatch::ShouldStop(Event *event_ptr) { in ShouldStop() argument
364 const bool step_out_should_stop = ThreadPlanStepOut::ShouldStop(event_ptr); in ShouldStop()

12