Lines Matching refs:m_threads
47 m_threads = rhs.m_threads; in operator =()
87 return m_threads.size(); in GetSize()
97 if (idx < m_threads.size()) in GetThreadAtIndex()
98 thread_sp = m_threads[idx]; in GetThreadAtIndex()
110 const uint32_t num_threads = m_threads.size(); in FindThreadByID()
112 if (m_threads[idx]->GetID() == tid) { in FindThreadByID()
113 thread_sp = m_threads[idx]; in FindThreadByID()
128 const uint32_t num_threads = m_threads.size(); in FindThreadByProtocolID()
130 if (m_threads[idx]->GetProtocolID() == tid) { in FindThreadByProtocolID()
131 thread_sp = m_threads[idx]; in FindThreadByProtocolID()
146 const uint32_t num_threads = m_threads.size(); in RemoveThreadByID()
148 if (m_threads[idx]->GetID() == tid) { in RemoveThreadByID()
149 thread_sp = m_threads[idx]; in RemoveThreadByID()
150 m_threads.erase(m_threads.begin() + idx); in RemoveThreadByID()
166 const uint32_t num_threads = m_threads.size(); in RemoveThreadByProtocolID()
168 if (m_threads[idx]->GetProtocolID() == tid) { in RemoveThreadByProtocolID()
169 thread_sp = m_threads[idx]; in RemoveThreadByProtocolID()
170 m_threads.erase(m_threads.begin() + idx); in RemoveThreadByProtocolID()
183 const uint32_t num_threads = m_threads.size(); in GetThreadSPForThreadPtr()
185 if (m_threads[idx].get() == thread_ptr) { in GetThreadSPForThreadPtr()
186 thread_sp = m_threads[idx]; in GetThreadSPForThreadPtr()
198 const uint32_t num_threads = m_threads.size(); in GetBackingThread()
200 if (m_threads[idx]->GetBackingThread() == real_thread) { in GetBackingThread()
201 thread_sp = m_threads[idx]; in GetBackingThread()
215 const uint32_t num_threads = m_threads.size(); in FindThreadByIndexID()
217 if (m_threads[idx]->GetIndexID() == index_id) { in FindThreadByIndexID()
218 thread_sp = m_threads[idx]; in FindThreadByIndexID()
244 for (lldb::ThreadSP thread_sp : m_threads) { in ShouldStop()
266 threads_copy = m_threads; in ShouldStop()
276 __FUNCTION__, (uint64_t)m_threads.size(), in ShouldStop()
380 collection::iterator pos, end = m_threads.end(); in ShouldReportStop()
385 (uint64_t)m_threads.size()); in ShouldReportStop()
391 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportStop()
428 collection::iterator pos, end = m_threads.end(); in SetShouldReportStop()
429 for (pos = m_threads.begin(); pos != end; ++pos) { in SetShouldReportStop()
441 collection::iterator pos, end = m_threads.end(); in ShouldReportRun()
448 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportRun()
473 m_threads.clear(); in Clear()
479 const uint32_t num_threads = m_threads.size(); in Destroy()
481 m_threads[idx]->DestroyThread(); in Destroy()
496 collection::iterator pos, end = m_threads.end(); in RefreshStateAfterStop()
497 for (pos = m_threads.begin(); pos != end; ++pos) in RefreshStateAfterStop()
506 collection::iterator pos, end = m_threads.end(); in DiscardThreadPlans()
507 for (pos = m_threads.begin(); pos != end; ++pos) in DiscardThreadPlans()
519 collection::iterator pos, end = m_threads.end(); in WillResume()
530 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
562 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
587 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
614 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
638 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
656 collection::iterator pos, end = m_threads.end(); in DidResume()
657 for (pos = m_threads.begin(); pos != end; ++pos) { in DidResume()
668 collection::iterator pos, end = m_threads.end(); in DidStop()
669 for (pos = m_threads.begin(); pos != end; ++pos) { in DidStop()
687 if (m_threads.size() == 0) in GetSelectedThread()
689 m_selected_tid = m_threads[0]->GetID(); in GetSelectedThread()
690 thread_sp = m_threads[0]; in GetSelectedThread()
746 m_threads.swap(rhs.m_threads); in Update()
755 collection::iterator rhs_pos, rhs_end = rhs.m_threads.end(); in Update()
756 for (rhs_pos = rhs.m_threads.begin(); rhs_pos != rhs_end; ++rhs_pos) { in Update()
764 const uint32_t num_threads = m_threads.size(); in Update()
766 ThreadSP backing_thread = m_threads[idx]->GetBackingThread(); in Update()
767 if (m_threads[idx]->GetID() == tid || in Update()
782 collection::iterator pos, end = m_threads.end(); in Flush()
783 for (pos = m_threads.begin(); pos != end; ++pos) in Flush()