Lines Matching refs:thread_sp
24 void ThreadCollection::AddThread(const ThreadSP &thread_sp) { in AddThread() argument
26 m_threads.push_back(thread_sp); in AddThread()
29 void ThreadCollection::AddThreadSortedByIndexID(const ThreadSP &thread_sp) { in AddThreadSortedByIndexID() argument
32 const uint32_t thread_index_id = thread_sp->GetIndexID(); in AddThreadSortedByIndexID()
34 m_threads.push_back(thread_sp); in AddThreadSortedByIndexID()
37 llvm::upper_bound(m_threads, thread_sp, in AddThreadSortedByIndexID()
41 thread_sp); in AddThreadSortedByIndexID()
45 void ThreadCollection::InsertThread(const lldb::ThreadSP &thread_sp, in InsertThread() argument
49 m_threads.insert(m_threads.begin() + idx, thread_sp); in InsertThread()
51 m_threads.push_back(thread_sp); in InsertThread()
61 ThreadSP thread_sp; in GetThreadAtIndex() local
63 thread_sp = m_threads[idx]; in GetThreadAtIndex()
64 return thread_sp; in GetThreadAtIndex()