Lines Matching refs:rnd
71 Random rnd ((deUint32)m_lastPayload.size()); in run() local
77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf)); in run()
137 Random rnd (m_threadId); in run() local
143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf))); in run()
148 if (rnd.getBool()) in run()
164 Random rnd (iterNdx); in runTest() local
165 int numBlocks = rnd.getInt(2, 128); in runTest()
166 int blockSize = rnd.getInt(1, 16); in runTest()
167 int numProducers = rnd.getInt(1, 16); in runTest()
168 int numConsumers = rnd.getInt(1, 16); in runTest()
169 int dataSize = rnd.getInt(50, 200); in runTest()
240 Random rnd(m_seed); in run() local
244 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp)); in run()
250 if (rnd.getBool()) in run()
277 Random rnd(m_seed); in run() local
281 int blockSize = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmp)); in run()
306 Random rnd (deInt32Hash(iterNdx)); in runTest() local
307 int numThreads = rnd.getInt(1, 16); in runTest()
308 int sleepMs = rnd.getInt(1, 200); in runTest()
313 if (rnd.getBool()) in runTest()
314 threads.push_back(new Consumer(&buffer, rnd.getUint32())); in runTest()
316 threads.push_back(new Producer(&buffer, rnd.getUint32())); in runTest()