Lines Matching refs:threadNdx
211 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
212 m_threads[threadNdx]->setStatus(TestThread::THREADSTATUS_NOT_SUPPORTED);
215 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
226 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
227 m_threads[threadNdx]->setStatus(TestThread::THREADSTATUS_ERROR);
230 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
257 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
258 delete m_threads[threadNdx];
308 for (int threadNdx = 0; threadNdx < m_threadCount; threadNdx++)
309 m_threads.push_back(new TestThread(*this, threadNdx));
314 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
315 m_threads[threadNdx]->start();
321 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
323 if (m_threads[threadNdx]->getStatus() != TestThread::THREADSTATUS_RUNNING)
330 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
331 m_threads[threadNdx]->join();
336 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
338 if (m_threads[threadNdx]->getStatus() == TestThread::THREADSTATUS_ERROR)
341 if (m_threads[threadNdx]->getStatus() == TestThread::THREADSTATUS_NOT_SUPPORTED)
356 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
358 if (messageNdx[threadNdx] >= (int)m_threads[threadNdx]->getLog().getMessages().size())
361 if (nextThreadNdx == -1 || nextThreadTimeUs > m_threads[threadNdx]->getLog().getMessages()[messageNdx[threadNdx]].timeUs)
363 nextThreadNdx = threadNdx;
364 nextThreadTimeUs = m_threads[threadNdx]->getLog().getMessages()[messageNdx[threadNdx]].timeUs;
378 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
379 delete m_threads[threadNdx];
414 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++)
416 if (messageNdx[threadNdx] >= (int)m_threads[threadNdx]->getLog().getMessages().size())
419 if (nextThreadNdx == -1 || nextThreadTimeUs > m_threads[threadNdx]->getLog().getMessages()[messageNdx[threadNdx]].timeUs)
421 nextThreadNdx = threadNdx;
422 nextThreadTimeUs = m_threads[threadNdx]->getLog().getMessages()[messageNdx[threadNdx]].timeUs;