Lines Matching refs:m_threads
48 m_threads = rhs.m_threads; in operator =()
88 return m_threads.size(); in GetSize()
98 if (idx < m_threads.size()) in GetThreadAtIndex()
99 thread_sp = m_threads[idx]; in GetThreadAtIndex()
111 const uint32_t num_threads = m_threads.size(); in FindThreadByID()
113 if (m_threads[idx]->GetID() == tid) { in FindThreadByID()
114 thread_sp = m_threads[idx]; in FindThreadByID()
129 const uint32_t num_threads = m_threads.size(); in FindThreadByProtocolID()
131 if (m_threads[idx]->GetProtocolID() == tid) { in FindThreadByProtocolID()
132 thread_sp = m_threads[idx]; in FindThreadByProtocolID()
147 const uint32_t num_threads = m_threads.size(); in RemoveThreadByID()
149 if (m_threads[idx]->GetID() == tid) { in RemoveThreadByID()
150 thread_sp = m_threads[idx]; in RemoveThreadByID()
151 m_threads.erase(m_threads.begin() + idx); in RemoveThreadByID()
167 const uint32_t num_threads = m_threads.size(); in RemoveThreadByProtocolID()
169 if (m_threads[idx]->GetProtocolID() == tid) { in RemoveThreadByProtocolID()
170 thread_sp = m_threads[idx]; in RemoveThreadByProtocolID()
171 m_threads.erase(m_threads.begin() + idx); in RemoveThreadByProtocolID()
184 const uint32_t num_threads = m_threads.size(); in GetThreadSPForThreadPtr()
186 if (m_threads[idx].get() == thread_ptr) { in GetThreadSPForThreadPtr()
187 thread_sp = m_threads[idx]; in GetThreadSPForThreadPtr()
199 const uint32_t num_threads = m_threads.size(); in GetBackingThread()
201 if (m_threads[idx]->GetBackingThread() == real_thread) { in GetBackingThread()
202 thread_sp = m_threads[idx]; in GetBackingThread()
216 const uint32_t num_threads = m_threads.size(); in FindThreadByIndexID()
218 if (m_threads[idx]->GetIndexID() == index_id) { in FindThreadByIndexID()
219 thread_sp = m_threads[idx]; in FindThreadByIndexID()
245 for (lldb::ThreadSP thread_sp : m_threads) { in ShouldStop()
264 threads_copy = m_threads; in ShouldStop()
274 __FUNCTION__, (uint64_t)m_threads.size(), in ShouldStop()
362 collection::iterator pos, end = m_threads.end(); in ShouldReportStop()
367 (uint64_t)m_threads.size()); in ShouldReportStop()
372 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportStop()
402 collection::iterator pos, end = m_threads.end(); in SetShouldReportStop()
403 for (pos = m_threads.begin(); pos != end; ++pos) { in SetShouldReportStop()
415 collection::iterator pos, end = m_threads.end(); in ShouldReportRun()
422 for (pos = m_threads.begin(); pos != end; ++pos) { in ShouldReportRun()
447 m_threads.clear(); in Clear()
453 const uint32_t num_threads = m_threads.size(); in Destroy()
455 m_threads[idx]->DestroyThread(); in Destroy()
470 collection::iterator pos, end = m_threads.end(); in RefreshStateAfterStop()
471 for (pos = m_threads.begin(); pos != end; ++pos) in RefreshStateAfterStop()
480 collection::iterator pos, end = m_threads.end(); in DiscardThreadPlans()
481 for (pos = m_threads.begin(); pos != end; ++pos) in DiscardThreadPlans()
493 collection::iterator pos, end = m_threads.end(); in WillResume()
504 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
536 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
555 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
583 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
607 for (pos = m_threads.begin(); pos != end; ++pos) { in WillResume()
622 collection::iterator pos, end = m_threads.end(); in DidResume()
623 for (pos = m_threads.begin(); pos != end; ++pos) { in DidResume()
634 collection::iterator pos, end = m_threads.end(); in DidStop()
635 for (pos = m_threads.begin(); pos != end; ++pos) { in DidStop()
653 if (m_threads.size() == 0) in GetSelectedThread()
655 m_selected_tid = m_threads[0]->GetID(); in GetSelectedThread()
656 thread_sp = m_threads[0]; in GetSelectedThread()
708 m_threads.swap(rhs.m_threads); in Update()
717 collection::iterator rhs_pos, rhs_end = rhs.m_threads.end(); in Update()
718 for (rhs_pos = rhs.m_threads.begin(); rhs_pos != rhs_end; ++rhs_pos) { in Update()
726 const uint32_t num_threads = m_threads.size(); in Update()
728 ThreadSP backing_thread = m_threads[idx]->GetBackingThread(); in Update()
729 if (m_threads[idx]->GetID() == tid || in Update()
744 collection::iterator pos, end = m_threads.end(); in Flush()
745 for (pos = m_threads.begin(); pos != end; ++pos) in Flush()