Lines Matching defs:rnd
553 de::Random rnd (deInt32Hash(thread.getId() + 10435));
596 const int popCount = rnd.getInt(0, (int)(configs.size()-2));
644 const int popCount = rnd.getInt(0, (int)(configs.size()-2));
690 const EGLint attribute = attributes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(attributes)-1)];
691 EGLConfig config = configs[rnd.getInt(0, (int)(configs.size()-1))];
998 de::Random& rnd = (thread.getId() == 0 ? m_rnd0 : m_rnd1);
1069 create = rnd.getBool();
1074 type = rnd.choose<Type>(objectTypes.begin(), objectTypes.end());
1213 const int pbufferNdx = rnd.getInt(0, (int)(pbuffers.size()-1));
1227 const int windowNdx = rnd.getInt(0, (int)(windows.size()-1));
1245 const int pixmapNdx = rnd.getInt(0, (int)(pixmaps.size()-1));
1259 const int contextNdx = rnd.getInt(0, (int)(contexts.size()-1));
1306 de::Random& rnd = (thread.getId() == 0 ? m_rnd0 : m_rnd1);
1314 const int ndx = rnd.getInt(0, (int)(m_sharedPbuffers.size()-1));
1322 const int ndx = rnd.getInt(0, (int)(m_sharedNativePixmaps.size()-1));
1330 const int ndx = rnd.getInt(0, (int)(m_sharedNativeWindows.size()-1));
1338 const int ndx = rnd.getInt(0, (int)(m_sharedContexts.size()-1));
1348 de::Random& rnd = (thread.getId() == 0 ? m_rnd0 : m_rnd1);
1365 const Type type = rnd.choose<Type>(objectTypes.begin(), objectTypes.end());
1372 surface = m_sharedPbuffers[rnd.getInt(0, (int)(m_sharedPbuffers.size()-1))];
1376 surface = m_sharedNativePixmaps[rnd.getInt(0, (int)(m_sharedNativePixmaps.size()-1))].second;
1380 surface = m_sharedNativeWindows[rnd.getInt(0, (int)(m_sharedNativeWindows.size()-1))].second;
1384 context = m_sharedContexts[rnd.getInt(0, (int)(m_sharedContexts.size()-1))];
1400 const EGLint attribute = queryAttributes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(queryAttributes) - 1)];
1419 const EGLint attribute = attributes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(attributes)-1)];