Lines Matching defs:rnd
78 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))
82 res[ndx] = rnd.getFloat(minVal[ndx], maxVal[ndx]);
147 de::Random rnd (deStringHash(getName()));
150 int x = rnd.getInt(0, renderTarget.getWidth() - width);
151 int y = rnd.getInt(0, renderTarget.getHeight() - height);
333 de::Random rnd (deStringHash(getName()));
344 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
345 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
371 de::Random rnd (deStringHash(getName()));
384 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
385 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax);
656 de::Random rnd (deStringHash(getName()));
683 const int w = rnd.getInt(1, levelW);
684 const int h = rnd.getInt(1, levelW);
685 const int d = rnd.getInt(1, m_depth);
686 const int x = rnd.getInt(0, levelW-w);
687 const int y = rnd.getInt(0, levelW-h);
688 const int z = rnd.getInt(0, m_depth-d);
692 const int cellSize = rnd.getInt(2, 16);