Lines Matching refs:m_threads

26     : m_threads(), m_threads_mutex(PTHREAD_MUTEX_RECURSIVE),  in MachThreadList()
121 const size_t num_threads = m_threads.size(); in GetThreadByID()
123 if (m_threads[idx]->ThreadID() == tid) { in GetThreadByID()
124 thread_sp = m_threads[idx]; in GetThreadByID()
135 const size_t num_threads = m_threads.size(); in GetThreadByMachPortNumber()
137 if (m_threads[idx]->MachPortNumber() == mach_port_number) { in GetThreadByMachPortNumber()
138 thread_sp = m_threads[idx]; in GetThreadByMachPortNumber()
149 const size_t num_threads = m_threads.size(); in GetThreadIDByMachPortNumber()
151 if (m_threads[idx]->MachPortNumber() == mach_port_number) { in GetThreadIDByMachPortNumber()
152 return m_threads[idx]->ThreadID(); in GetThreadIDByMachPortNumber()
162 const size_t num_threads = m_threads.size(); in GetMachPortNumberByThreadID()
164 if (m_threads[idx]->ThreadID() == globally_unique_id) { in GetMachPortNumberByThreadID()
165 return m_threads[idx]->MachPortNumber(); in GetMachPortNumberByThreadID()
223 return m_threads.size(); in NumThreads()
228 if (idx < m_threads.size()) in ThreadIDAtIndex()
229 return m_threads[idx]->ThreadID(); in ThreadIDAtIndex()
252 m_threads.clear(); in Clear()
291 if (m_threads.empty() || update) { in UpdateThreadList()
335 m_threads.swap(currThreads); in UpdateThreadList()
345 return static_cast<uint32_t>(m_threads.size()); in UpdateThreadList()
355 const size_t num_threads = m_threads.size(); in CurrentThread()
357 if (m_threads[idx]->GetStopException().IsValid()) { in CurrentThread()
358 m_current_thread = m_threads[idx]; in CurrentThread()
368 const size_t num_threads = m_threads.size(); in Dump()
370 m_threads[idx]->Dump(idx); in Dump()
413 const size_t num_threads = m_threads.size(); in ProcessWillResume()
415 MachThread *thread = m_threads[idx].get(); in ProcessWillResume()
454 m_threads[idx]->ThreadDidStop(); in ProcessDidStop()
471 const size_t num_threads = m_threads.size(); in ShouldStop()
473 should_stop = m_threads[idx]->ShouldStop(step_more); in ShouldStop()
480 const size_t num_threads = m_threads.size(); in NotifyBreakpointChanged()
482 m_threads[idx]->NotifyBreakpointChanged(bp); in NotifyBreakpointChanged()
493 const size_t num_threads = m_threads.size(); in DoHardwareBreakpointAction()
501 hw_index = m_threads[idx]->EnableHardwareWatchpoint(bp, also_set_on_task); in DoHardwareBreakpointAction()
505 m_threads[idx]->DisableHardwareWatchpoint(bp, also_set_on_task); in DoHardwareBreakpointAction()
508 hw_index = m_threads[idx]->EnableHardwareBreakpoint(bp, also_set_on_task); in DoHardwareBreakpointAction()
512 m_threads[idx]->DisableHardwareBreakpoint(bp, also_set_on_task); in DoHardwareBreakpointAction()
519 m_threads[i]->RollbackTransForHWP(); in DoHardwareBreakpointAction()
526 m_threads[idx]->FinishTransForHWP(); in DoHardwareBreakpointAction()
559 const size_t num_threads = m_threads.size(); in NumSupportedHardwareWatchpoints()
563 return m_threads[0]->NumSupportedHardwareWatchpoints(); in NumSupportedHardwareWatchpoints()
571 const size_t num_threads = m_threads.size(); in GetThreadIndexForThreadStoppedWithSignal()
573 if (m_threads[idx]->GetStopException().SoftSignal() == signo) in GetThreadIndexForThreadStoppedWithSignal()