Home
last modified time | relevance | path

Searched refs:StateType (Results 1 – 25 of 117) sorted by relevance

12345

/external/llvm-project/lldb/include/lldb/Utility/
DState.h29 const char *StateAsCString(lldb::StateType state);
40 bool StateIsRunningState(lldb::StateType state);
61 bool StateIsStoppedState(lldb::StateType state, bool must_exist);
68 template <> struct format_provider<lldb::StateType> {
69 static void format(const lldb::StateType &state, raw_ostream &Stream,
/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeThreadLinux.cpp89 : NativeThreadProtocol(process, tid), m_state(StateType::eStateInvalid), in NativeThreadLinux()
105 lldb::StateType NativeThreadLinux::GetState() { return m_state; } in GetState()
207 const StateType new_state = StateType::eStateRunning; in Resume()
249 const StateType new_state = StateType::eStateStepping; in SingleStep()
309 if (signo && m_state == StateType::eStateStopped && in IsStopped()
319 if (m_state == StateType::eStateStepping) in SetStopped()
325 const StateType new_state = StateType::eStateStopped; in SetStopped()
378 return GetState() == StateType::eStateStopped && in IsStoppedAtBreakpoint()
383 return GetState() == StateType::eStateStopped && in IsStoppedAtWatchpoint()
402 const StateType new_state = StateType::eStateExited; in SetExited()
[all …]
DNativeThreadLinux.h36 lldb::StateType GetState() override;
91 void MaybeLogStateChange(lldb::StateType new_state);
98 lldb::StateType m_state;
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeProcessNetBSD.cpp107 process_up->SetState(StateType::eStateStopped, false); in Launch()
177 SetState(StateType::eStateExited, true); in MonitorExited()
197 SetState(StateType::eStateStopped, true); in MonitorSIGSTOP()
238 SetState(StateType::eStateStopped, true); in MonitorSIGTRAP()
243 SetState(StateType::eStateStopped, true); in MonitorSIGTRAP()
248 SetState(StateType::eStateInvalid); in MonitorSIGTRAP()
257 SetState(StateType::eStateStopped, true); in MonitorSIGTRAP()
264 SetState(StateType::eStateInvalid); in MonitorSIGTRAP()
280 SetState(StateType::eStateInvalid); in MonitorSIGTRAP()
294 SetState(StateType::eStateInvalid); in MonitorSIGTRAP()
[all …]
DNativeThreadNetBSD.cpp39 : NativeThreadProtocol(process, tid), m_state(StateType::eStateInvalid), in NativeThreadNetBSD()
141 const StateType new_state = StateType::eStateStopped; in SetStopped()
147 m_state = StateType::eStateRunning; in SetRunning()
152 m_state = StateType::eStateStepping; in SetStepping()
200 lldb::StateType NativeThreadNetBSD::GetState() { return m_state; } in GetState()
/external/perfetto/ui/src/controller/
Dcontroller.ts40 export abstract class Controller<StateType> {
45 private _state: StateType;
48 constructor(initialState: StateType) {
105 setState(state: StateType) {
113 get state(): StateType {
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeProcessFreeBSD.cpp102 process_up->SetState(StateType::eStateStopped, false); in Launch()
172 SetState(StateType::eStateExited, true); in MonitorExited()
181 SetState(StateType::eStateStopped, true); in MonitorSIGSTOP()
218 SetState(StateType::eStateInvalid); in MonitorSIGTRAP()
229 SetState(StateType::eStateInvalid); in MonitorSIGTRAP()
236 SetState(StateType::eStateInvalid); in MonitorSIGTRAP()
245 SetState(StateType::eStateStopped, true); in MonitorSIGTRAP()
271 SetState(StateType::eStateStopped, true); in MonitorSIGTRAP()
288 SetState(StateType::eStateStopped, true); in MonitorSIGTRAP()
295 SetState(StateType::eStateStopped, true); in MonitorSIGTRAP()
[all …]
DNativeThreadFreeBSD.cpp37 : NativeThreadProtocol(process, tid), m_state(StateType::eStateInvalid), in NativeThreadFreeBSD()
136 const StateType new_state = StateType::eStateStopped; in SetStopped()
142 m_state = StateType::eStateRunning; in SetRunning()
147 m_state = StateType::eStateStepping; in SetStepping()
183 lldb::StateType NativeThreadFreeBSD::GetState() { return m_state; } in GetState()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DNativeThreadWindows.h29 Status DoResume(lldb::StateType resume_state);
33 lldb::StateType GetState() override { return m_state; } in GetState()
56 lldb::StateType m_state = lldb::StateType::eStateInvalid;
DTargetThreadWindows.cpp49 void TargetThreadWindows::WillResume(lldb::StateType resume_state) {} in WillResume()
128 StateType resume_state = GetTemporaryResumeState(); in DoResume()
129 StateType current_state = GetState(); in DoResume()
/external/llvm-project/lldb/include/lldb/Host/
DDebug.h23 lldb::StateType state; // Valid values are eStateStopped/eStateSuspended,
37 ResumeActionList(lldb::StateType default_action, int signal) in ResumeActionList()
59 void AppendAction(lldb::tid_t tid, lldb::StateType state, int signal = 0) {
88 size_t NumActionsWithState(lldb::StateType state) const { in NumActionsWithState()
98 bool SetDefaultThreadActionIfNeeded(lldb::StateType action, int signal) { in SetDefaultThreadActionIfNeeded()
/external/llvm-project/lldb/source/Utility/
DState.cpp14 const char *lldb_private::StateAsCString(StateType state) { in StateAsCString()
68 bool lldb_private::StateIsRunningState(StateType state) { in StateIsRunningState()
89 bool lldb_private::StateIsStoppedState(StateType state, bool must_exist) { in StateIsStoppedState()
/external/llvm-project/lldb/include/lldb/Target/
DThread.h160 lldb::StateType GetState() const;
162 void SetState(lldb::StateType state);
184 void SetResumeState(lldb::StateType state, bool override_suspend = false) {
198 lldb::StateType GetResumeState() const { return m_resume_state; } in GetResumeState()
207 bool ShouldResume(lldb::StateType resume_state);
210 virtual void WillResume(lldb::StateType resume_state) {} in WillResume()
1161 lldb::StateType GetTemporaryResumeState() const { in GetTemporaryResumeState()
1236 void SetTemporaryResumeState(lldb::StateType new_state) { in SetTemporaryResumeState()
1256 lldb::StateType m_state; ///< The state of our process.
1267 lldb::StateType m_resume_state; ///< This state is used to force a thread to
[all …]
DThreadPlan.h359 lldb::StateType RunState();
380 bool WillResume(lldb::StateType resume_state, bool current_plan);
505 virtual bool DoWillResume(lldb::StateType resume_state, bool current_plan) { in DoWillResume()
536 virtual lldb::StateType GetPlanRunState() = 0;
602 lldb::StateType GetPlanRunState() override;
DProcess.h424 lldb::StateType state);
432 ProcessEventData(const lldb::ProcessSP &process, lldb::StateType state);
442 lldb::StateType GetState() const { return m_state; } in GetState()
466 static lldb::StateType GetStateFromEvent(const Event *event_ptr);
497 lldb::StateType m_state;
1243 lldb::StateType GetState();
2115 lldb::StateType GetNextEvent(lldb::EventSP &event_sp);
2123 lldb::StateType
2142 lldb::StateType GetStateChangedEvents(
2575 lldb::StateType GetPrivateState();
[all …]
DThreadPlanBase.h33 lldb::StateType GetPlanRunState() override;
42 bool DoWillResume(lldb::StateType resume_state, bool current_plan) override;
DThreadPlanStepOverBreakpoint.h27 lldb::StateType GetPlanRunState() override;
40 bool DoWillResume(lldb::StateType resume_state, bool current_plan) override;
DThreadPlanStepThrough.h25 lldb::StateType GetPlanRunState() override;
32 bool DoWillResume(lldb::StateType resume_state, bool current_plan) override;
DThreadPlanStepUntil.h25 lldb::StateType GetPlanRunState() override;
30 bool DoWillResume(lldb::StateType resume_state, bool current_plan) override;
/external/llvm-project/lldb/test/API/api/multiple-debuggers/
Dmulti-process-driver.cpp50 if (process.GetState() == StateType::eStateStopped in wait_for_stop_event()
51 || process.GetState() == StateType::eStateCrashed in wait_for_stop_event()
52 || process.GetState() == StateType::eStateDetached in wait_for_stop_event()
53 || process.GetState() == StateType::eStateExited) in wait_for_stop_event()
157 if (process.GetState() == StateType::eStateExited) in do_one_debugger()
/external/llvm-project/lldb/source/Plugins/Process/MacOSX-Kernel/
DProcessKDP.h143 bool IsRunning(lldb::StateType state) { in IsRunning()
147 bool IsStepping(lldb::StateType state) { in IsStepping()
151 bool CanResume(lldb::StateType state) { return state == lldb::eStateStopped; } in CanResume()
153 bool HasExited(lldb::StateType state) { return state == lldb::eStateExited; } in HasExited()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DAttributor.cpp622 template <typename StateType>
623 ChangeStatus clampStateAndIndicateChange(StateType &S, const StateType &R) { in clampStateAndIndicateChange()
632 template <typename AAType, typename StateType = typename AAType::StateType>
634 StateType &S) { in clampReturnedValueStates()
647 Optional<StateType> T; in clampReturnedValueStates()
655 const StateType &AAS = static_cast<const StateType &>(AA.getState()); in clampReturnedValueStates()
672 template <typename AAType, typename Base, typename StateType,
675 : public F<AAType, G<AAType, Base, StateType>, StateType> {
677 : F<AAType, G<AAType, Base, StateType>, StateType>(IRP) {} in AAComposeTwoGenericDeduction()
682 F<AAType, G<AAType, Base, StateType>, StateType>::updateImpl(A); in updateImpl()
[all …]
/external/llvm-project/lldb/unittests/Process/gdb-remote/
DGDBRemoteClientBaseTest.cpp63 StateType SendCPacket(StringExtractorGDBRemote &response) { in SendCPacket()
109 std::future<StateType> continue_state = std::async( in TEST_F()
139 std::future<StateType> continue_state = std::async( in TEST_F()
184 std::future<StateType> continue_state = std::async( in TEST_F()
208 std::future<StateType> continue_state = std::async( in TEST_F()
242 std::future<StateType> continue_state = std::async( in TEST_F()
325 std::future<StateType> continue_state = std::async( in TEST_F()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerLLGS.h66 lldb::StateType state) override;
84 lldb::StateType m_inferior_prev_state = lldb::StateType::eStateInvalid;
97 PacketResult SendStopReasonForState(lldb::StateType process_state);
/external/llvm-project/lldb/include/lldb/Host/common/
DNativeProcessProtocol.h166 lldb::StateType GetState() const;
220 lldb::StateType state) = 0;
414 lldb::StateType m_state = lldb::eStateInvalid;
440 void SetState(lldb::StateType state, bool notify_delegates = true);
476 void SynchronouslyNotifyProcessStateChanged(lldb::StateType state);

12345