Lines Matching refs:queue_sp
34 QueueImpl(const lldb::QueueSP &queue_sp) in QueueImpl() argument
37 m_queue_wp = queue_sp; in QueueImpl()
62 void SetQueue(const lldb::QueueSP &queue_sp) { in SetQueue() argument
64 m_queue_wp = queue_sp; in SetQueue()
69 lldb::QueueSP queue_sp = m_queue_wp.lock(); in GetQueueID() local
70 if (queue_sp) { in GetQueueID()
71 result = queue_sp->GetID(); in GetQueueID()
78 lldb::QueueSP queue_sp = m_queue_wp.lock(); in GetIndexID() local
79 if (queue_sp) { in GetIndexID()
80 result = queue_sp->GetIndexID(); in GetIndexID()
87 lldb::QueueSP queue_sp = m_queue_wp.lock(); in GetName() local
88 if (queue_sp.get()) { in GetName()
89 name = queue_sp->GetName(); in GetName()
96 lldb::QueueSP queue_sp = m_queue_wp.lock(); in FetchThreads() local
97 if (queue_sp) { in FetchThreads()
99 if (stop_locker.TryLock(&queue_sp->GetProcess()->GetRunLock())) { in FetchThreads()
100 const std::vector<ThreadSP> thread_list(queue_sp->GetThreads()); in FetchThreads()
116 QueueSP queue_sp = m_queue_wp.lock(); in FetchItems() local
117 if (queue_sp) { in FetchItems()
119 if (stop_locker.TryLock(&queue_sp->GetProcess()->GetRunLock())) { in FetchItems()
121 queue_sp->GetPendingItems()); in FetchItems()
149 QueueSP queue_sp = m_queue_wp.lock(); in GetThreadAtIndex() local
150 if (queue_sp && idx < m_threads.size()) { in GetThreadAtIndex()
151 ProcessSP process_sp = queue_sp->GetProcess(); in GetThreadAtIndex()
165 QueueSP queue_sp = m_queue_wp.lock(); in GetNumPendingItems() local
166 if (!m_pending_items_fetched && queue_sp) { in GetNumPendingItems()
167 result = queue_sp->GetNumPendingWorkItems(); in GetNumPendingItems()
185 QueueSP queue_sp = m_queue_wp.lock(); in GetNumRunningItems() local
186 if (queue_sp) in GetNumRunningItems()
187 result = queue_sp->GetNumRunningWorkItems(); in GetNumRunningItems()
193 QueueSP queue_sp = m_queue_wp.lock(); in GetProcess() local
194 if (queue_sp) { in GetProcess()
195 result.SetSP(queue_sp->GetProcess()); in GetProcess()
202 QueueSP queue_sp = m_queue_wp.lock(); in GetKind() local
203 if (queue_sp) in GetKind()
204 kind = queue_sp->GetKind(); in GetKind()
224 SBQueue::SBQueue(const QueueSP &queue_sp) in SBQueue() argument
225 : m_opaque_sp(new QueueImpl(queue_sp)) { in SBQueue()
226 LLDB_RECORD_CONSTRUCTOR(SBQueue, (const lldb::QueueSP &), queue_sp); in SBQueue()
264 void SBQueue::SetQueue(const QueueSP &queue_sp) { in SetQueue() argument
265 m_opaque_sp->SetQueue(queue_sp); in SetQueue()