Lines Matching refs:process_sp
33 ExecutionContext::ExecutionContext(const lldb::ProcessSP &process_sp) in ExecutionContext() argument
35 if (process_sp) in ExecutionContext()
36 SetContext(process_sp); in ExecutionContext()
61 lldb::ProcessSP process_sp(process_wp.lock()); in ExecutionContext() local
62 if (process_sp) in ExecutionContext()
63 SetContext(process_sp); in ExecutionContext()
250 void ExecutionContext::SetProcessSP(const lldb::ProcessSP &process_sp) { in SetProcessSP() argument
251 m_process_sp = process_sp; in SetProcessSP()
301 void ExecutionContext::SetContext(const lldb::ProcessSP &process_sp) { in SetContext() argument
302 m_process_sp = process_sp; in SetContext()
303 if (process_sp) in SetContext()
304 m_target_sp = process_sp->GetTarget().shared_from_this(); in SetContext()
468 void ExecutionContextRef::SetProcessSP(const lldb::ProcessSP &process_sp) { in SetProcessSP() argument
469 if (process_sp) { in SetProcessSP()
470 m_process_wp = process_sp; in SetProcessSP()
471 SetTargetSP(process_sp->GetTarget().shared_from_this()); in SetProcessSP()
509 lldb::ProcessSP process_sp(target_sp->GetProcessSP()); in SetTargetPtr() local
510 if (process_sp) { in SetTargetPtr()
511 m_process_wp = process_sp; in SetTargetPtr()
512 if (process_sp) { in SetTargetPtr()
518 if (stop_locker.TryLock(&process_sp->GetRunLock()) && in SetTargetPtr()
519 StateIsStoppedState(process_sp->GetState(), true)) { in SetTargetPtr()
521 process_sp->GetThreadList().GetSelectedThread()); in SetTargetPtr()
523 thread_sp = process_sp->GetThreadList().GetThreadAtIndex(0); in SetTargetPtr()
575 lldb::ProcessSP process_sp(m_process_wp.lock()); in GetProcessSP() local
576 if (process_sp && !process_sp->IsValid()) in GetProcessSP()
577 process_sp.reset(); in GetProcessSP()
578 return process_sp; in GetProcessSP()
589 lldb::ProcessSP process_sp(GetProcessSP()); in GetThreadSP() local
590 if (process_sp && process_sp->IsValid()) { in GetThreadSP()
591 thread_sp = process_sp->GetThreadList().FindThreadByID(m_tid); in GetThreadSP()