Lines Matching defs:rnd
98 static tcu::Vector<float, Size> randomVector (de::Random& rnd, const tcu::Vector<float, Size>& minVal = tcu::Vector<float, Size>(0.0f), const tcu::Vector<float, Size>& maxVal = tcu::Vector<float, Size>(1.0f))
102 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]);
190 de::Random rnd (deStringHash(getName()));
193 int x = rnd.getInt(0, renderTarget.getWidth() - width);
194 int y = rnd.getInt(0, renderTarget.getHeight() - height);
662 de::Random rnd (deStringHash(getName()));
672 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
673 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
717 de::Random rnd (deStringHash(getName()));
731 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
732 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
760 de::Random rnd (deStringHash(getName()));
772 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
773 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
799 de::Random rnd (deStringHash(getName()));
812 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
813 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
853 de::Random rnd (deStringHash(getName()));
863 rnd.shuffle(levels.begin(), levels.end());
870 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
871 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
913 de::Random rnd (deStringHash(getName()));
926 rnd.shuffle(images.begin(), images.end());
933 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
934 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1218 de::Random rnd (deStringHash(getName()));
1229 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1230 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1244 int w = rnd.getInt(1, levelW);
1245 int h = rnd.getInt(1, levelH);
1246 int x = rnd.getInt(0, levelW-w);
1247 int y = rnd.getInt(0, levelH-h);
1249 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1250 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1251 int cellSize = rnd.getInt(2, 16);
1293 de::Random rnd (deStringHash(getName()));
1307 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1308 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1323 int w = rnd.getInt(1, levelSize);
1324 int h = rnd.getInt(1, levelSize);
1325 int x = rnd.getInt(0, levelSize-w);
1326 int y = rnd.getInt(0, levelSize-h);
1328 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1329 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1330 int cellSize = rnd.getInt(2, 16);
1441 de::Random rnd (deStringHash(getName()));
1454 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1455 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1470 int w = rnd.getInt(1, levelW);
1471 int h = rnd.getInt(1, levelH);
1472 int d = rnd.getInt(1, levelD);
1473 int x = rnd.getInt(0, levelW-w);
1474 int y = rnd.getInt(0, levelH-h);
1475 int z = rnd.getInt(0, levelD-d);
1477 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1478 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1479 int cellSize = rnd.getInt(2, 16);
1519 de::Random rnd (deStringHash(getName()));
1539 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1540 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1582 de::Random rnd (deStringHash(getName()));
1606 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1607 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
1882 de::Random rnd (deStringHash(getName()));
1900 int x = rnd.getInt(0, getWidth() - levelW);
1901 int y = rnd.getInt(0, getHeight() - levelH);
1930 de::Random rnd (deStringHash(getName()));
1950 int x = rnd.getInt(0, getWidth() - levelSize);
1951 int y = rnd.getInt(0, getHeight() - levelSize);
1983 de::Random rnd (deStringHash(getName()));
2000 Vec4 colorA = randomVector<4>(rnd);
2001 Vec4 colorB = randomVector<4>(rnd);
2002 int cellSize = rnd.getInt(2, 16);
2020 int w = rnd.getInt(1, levelW);
2021 int h = rnd.getInt(1, levelH);
2022 int xo = rnd.getInt(0, levelW-w);
2023 int yo = rnd.getInt(0, levelH-h);
2025 int x = rnd.getInt(0, getWidth() - w);
2026 int y = rnd.getInt(0, getHeight() - h);
2058 de::Random rnd (deStringHash(getName()));
2077 Vec4 colorA = randomVector<4>(rnd);
2078 Vec4 colorB = randomVector<4>(rnd);
2079 int cellSize = rnd.getInt(2, 16);
2097 int w = rnd.getInt(1, levelSize);
2098 int h = rnd.getInt(1, levelSize);
2099 int xo = rnd.getInt(0, levelSize-w);
2100 int yo = rnd.getInt(0, levelSize-h);
2102 int x = rnd.getInt(0, getWidth() - w);
2103 int y = rnd.getInt(0, getHeight() - h);
2131 de::Random rnd (deStringHash(getName()));
2143 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2144 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2173 de::Random rnd (deStringHash(getName()));
2189 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2190 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2216 de::Random rnd (deStringHash(getName()));
2230 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2231 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2257 de::Random rnd (deStringHash(getName()));
2272 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2273 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2387 de::Random rnd (deStringHash(getName()));
2407 const Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2408 const Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2724 de::Random rnd (deStringHash(getName()));
2743 const Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
2744 const Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
3243 de::Random rnd (deStringHash(getName()));
3272 const int w = rnd.getInt(1, levelW);
3273 const int h = rnd.getInt(1, levelH);
3274 const int x = rnd.getInt(0, levelW-w);
3275 const int y = rnd.getInt(0, levelH-h);
3279 const int cellSize = rnd.getInt(2, 16);
3313 de::Random rnd (deStringHash(getName()));
3342 const int w = rnd.getInt(1, levelW);
3343 const int h = rnd.getInt(1, levelH);
3344 const int d = rnd.getInt(1, m_numLayers);
3345 const int x = rnd.getInt(0, levelW-w);
3346 const int y = rnd.getInt(0, levelH-h);
3347 const int z = rnd.getInt(0, m_numLayers-d);
3351 const int cellSize = rnd.getInt(2, 16);
3607 de::Random rnd(9);
3612 int formatNdx = rnd.getInt(0, DE_LENGTH_OF_ARRAY(colorFormats)-1);
3613 int width = 1 << rnd.getInt(2, 8);
3614 int height = 1 << rnd.getInt(2, 8);
3622 int formatNdx = rnd.getInt(0, DE_LENGTH_OF_ARRAY(colorFormats)-1);
3623 int size = 1 << rnd.getInt(2, 8);