Lines Matching refs:m_threads
27 m_threads(), in ThreadList()
35 m_threads (), in ThreadList()
52 m_threads = rhs.m_threads; in operator =()
85 m_threads.push_back(thread_sp); in AddThread()
94 return m_threads.size(); in GetSize()
105 if (idx < m_threads.size()) in GetThreadAtIndex()
106 thread_sp = m_threads[idx]; in GetThreadAtIndex()
120 const uint32_t num_threads = m_threads.size(); in FindThreadByID()
123 if (m_threads[idx]->GetID() == tid) in FindThreadByID()
125 thread_sp = m_threads[idx]; in FindThreadByID()
142 const uint32_t num_threads = m_threads.size(); in FindThreadByProtocolID()
145 if (m_threads[idx]->GetProtocolID() == tid) in FindThreadByProtocolID()
147 thread_sp = m_threads[idx]; in FindThreadByProtocolID()
165 const uint32_t num_threads = m_threads.size(); in RemoveThreadByID()
168 if (m_threads[idx]->GetID() == tid) in RemoveThreadByID()
170 thread_sp = m_threads[idx]; in RemoveThreadByID()
171 m_threads.erase(m_threads.begin()+idx); in RemoveThreadByID()
188 const uint32_t num_threads = m_threads.size(); in RemoveThreadByProtocolID()
191 if (m_threads[idx]->GetProtocolID() == tid) in RemoveThreadByProtocolID()
193 thread_sp = m_threads[idx]; in RemoveThreadByProtocolID()
194 m_threads.erase(m_threads.begin()+idx); in RemoveThreadByProtocolID()
210 const uint32_t num_threads = m_threads.size(); in GetThreadSPForThreadPtr()
213 if (m_threads[idx].get() == thread_ptr) in GetThreadSPForThreadPtr()
215 thread_sp = m_threads[idx]; in GetThreadSPForThreadPtr()
234 const uint32_t num_threads = m_threads.size(); in FindThreadByIndexID()
237 if (m_threads[idx]->GetIndexID() == index_id) in FindThreadByIndexID()
239 thread_sp = m_threads[idx]; in FindThreadByIndexID()
267 threads_copy = m_threads; in ShouldStop()
275 … log->Printf ("ThreadList::%s: %" PRIu64 " threads", __FUNCTION__, (uint64_t)m_threads.size()); in ShouldStop()
336 collection::iterator pos, end = m_threads.end(); in ShouldReportStop()
341 … log->Printf ("ThreadList::%s %" PRIu64 " threads", __FUNCTION__, (uint64_t)m_threads.size()); in ShouldReportStop()
345 for (pos = m_threads.begin(); pos != end; ++pos) in ShouldReportStop()
385 collection::iterator pos, end = m_threads.end(); in SetShouldReportStop()
386 for (pos = m_threads.begin(); pos != end; ++pos) in SetShouldReportStop()
401 collection::iterator pos, end = m_threads.end(); in ShouldReportRun()
408 for (pos = m_threads.begin(); pos != end; ++pos) in ShouldReportRun()
438 m_threads.clear(); in Clear()
446 const uint32_t num_threads = m_threads.size(); in Destroy()
449 m_threads[idx]->DestroyThread(); in Destroy()
464 collection::iterator pos, end = m_threads.end(); in RefreshStateAfterStop()
465 for (pos = m_threads.begin(); pos != end; ++pos) in RefreshStateAfterStop()
476 collection::iterator pos, end = m_threads.end(); in DiscardThreadPlans()
477 for (pos = m_threads.begin(); pos != end; ++pos) in DiscardThreadPlans()
492 collection::iterator pos, end = m_threads.end(); in WillResume()
503 for (pos = m_threads.begin(); pos != end; ++pos) in WillResume()
535 for (pos = m_threads.begin(); pos != end; ++pos) in WillResume()
555 for (pos = m_threads.begin(); pos != end; ++pos) in WillResume()
585 for (pos = m_threads.begin(); pos != end; ++pos) in WillResume()
616 for (pos = m_threads.begin(); pos != end; ++pos) in WillResume()
636 collection::iterator pos, end = m_threads.end(); in DidResume()
637 for (pos = m_threads.begin(); pos != end; ++pos) in DidResume()
651 collection::iterator pos, end = m_threads.end(); in DidStop()
652 for (pos = m_threads.begin(); pos != end; ++pos) in DidStop()
675 if (m_threads.size() == 0) in GetSelectedThread()
677 m_selected_tid = m_threads[0]->GetID(); in GetSelectedThread()
678 thread_sp = m_threads[0]; in GetSelectedThread()
740 m_threads.swap(rhs.m_threads); in Update()
751 collection::iterator rhs_pos, rhs_end = rhs.m_threads.end(); in Update()
752 for (rhs_pos = rhs.m_threads.begin(); rhs_pos != rhs_end; ++rhs_pos) in Update()
756 const uint32_t num_threads = m_threads.size(); in Update()
759 if (m_threads[idx]->GetID() == tid) in Update()
775 collection::iterator pos, end = m_threads.end(); in Flush()
776 for (pos = m_threads.begin(); pos != end; ++pos) in Flush()