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()
263 threads_copy = m_threads; in ShouldStop()
273 __FUNCTION__, (uint64_t)m_threads.size(), in ShouldStop()
361 collection::iterator pos, end = m_threads.end(); in ShouldReportStop()
366 (uint64_t)m_threads.size()); in ShouldReportStop()
371 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportStop()
401 collection::iterator pos, end = m_threads.end(); in SetShouldReportStop()
402 for (pos = m_threads.begin(); pos != end; ++pos) { in SetShouldReportStop()
414 collection::iterator pos, end = m_threads.end(); in ShouldReportRun()
421 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportRun()
446 m_threads.clear(); in Clear()
452 const uint32_t num_threads = m_threads.size(); in Destroy()
454 m_threads[idx]->DestroyThread(); in Destroy()
469 collection::iterator pos, end = m_threads.end(); in RefreshStateAfterStop()
470 for (pos = m_threads.begin(); pos != end; ++pos) in RefreshStateAfterStop()
479 collection::iterator pos, end = m_threads.end(); in DiscardThreadPlans()
480 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()
554 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
582 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
606 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
621 collection::iterator pos, end = m_threads.end(); in DidResume()
622 for (pos = m_threads.begin(); pos != end; ++pos) { in DidResume()
633 collection::iterator pos, end = m_threads.end(); in DidStop()
634 for (pos = m_threads.begin(); pos != end; ++pos) { in DidStop()
652 if (m_threads.size() == 0) in GetSelectedThread()
654 m_selected_tid = m_threads[0]->GetID(); in GetSelectedThread()
655 thread_sp = m_threads[0]; in GetSelectedThread()
707 m_threads.swap(rhs.m_threads); in Update()
716 collection::iterator rhs_pos, rhs_end = rhs.m_threads.end(); in Update()
717 for (rhs_pos = rhs.m_threads.begin(); rhs_pos != rhs_end; ++rhs_pos) { in Update()
725 const uint32_t num_threads = m_threads.size(); in Update()
727 ThreadSP backing_thread = m_threads[idx]->GetBackingThread(); in Update()
728 if (m_threads[idx]->GetID() == tid || in Update()
743 collection::iterator pos, end = m_threads.end(); in Flush()
744 for (pos = m_threads.begin(); pos != end; ++pos) in Flush()