Lines Matching refs:process_sp

31 ExecutionContext::ExecutionContext(const lldb::ProcessSP &process_sp)  in ExecutionContext()  argument
33 if (process_sp) in ExecutionContext()
34 SetContext(process_sp); in ExecutionContext()
59 lldb::ProcessSP process_sp(process_wp.lock()); in ExecutionContext() local
60 if (process_sp) in ExecutionContext()
61 SetContext(process_sp); in ExecutionContext()
249 void ExecutionContext::SetProcessSP(const lldb::ProcessSP &process_sp) { in SetProcessSP() argument
250 m_process_sp = process_sp; in SetProcessSP()
300 void ExecutionContext::SetContext(const lldb::ProcessSP &process_sp) { in SetContext() argument
301 m_process_sp = process_sp; in SetContext()
302 if (process_sp) in SetContext()
303 m_target_sp = process_sp->GetTarget().shared_from_this(); in SetContext()
462 void ExecutionContextRef::SetProcessSP(const lldb::ProcessSP &process_sp) { in SetProcessSP() argument
463 if (process_sp) { in SetProcessSP()
464 m_process_wp = process_sp; in SetProcessSP()
465 SetTargetSP(process_sp->GetTarget().shared_from_this()); in SetProcessSP()
503 lldb::ProcessSP process_sp(target_sp->GetProcessSP()); in SetTargetPtr() local
504 if (process_sp) { in SetTargetPtr()
505 m_process_wp = process_sp; in SetTargetPtr()
506 if (process_sp) { in SetTargetPtr()
512 if (stop_locker.TryLock(&process_sp->GetRunLock()) && in SetTargetPtr()
513 StateIsStoppedState(process_sp->GetState(), true)) { in SetTargetPtr()
515 process_sp->GetThreadList().GetSelectedThread()); in SetTargetPtr()
517 thread_sp = process_sp->GetThreadList().GetThreadAtIndex(0); in SetTargetPtr()
570 lldb::ProcessSP process_sp(m_process_wp.lock()); in GetProcessSP() local
571 if (process_sp && !process_sp->IsValid()) in GetProcessSP()
572 process_sp.reset(); in GetProcessSP()
573 return process_sp; in GetProcessSP()
584 lldb::ProcessSP process_sp(GetProcessSP()); in GetThreadSP() local
585 if (process_sp && process_sp->IsValid()) { in GetThreadSP()
586 thread_sp = process_sp->GetThreadList().FindThreadByID(m_tid); in GetThreadSP()