Home
last modified time | relevance | path

Searched refs:randomGen (Results 1 – 9 of 9) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/
DvktYCbCrUtil.hpp87 void fillRandomNoNaN (de::Random* randomGen, deUint8* const data, deUint32 size, const …
88 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFo…
DvktYCbCrUtil.cpp220 void fillRandomNoNaN(de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat … in fillRandomNoNaN() argument
265 data[ndx] = (randomGen->getUint8() & mask[ndx % 4]) & mask[3 - ndx % 4]; in fillRandomNoNaN()
270 *ptr = deFloat32To16(randomGen->getFloat()); in fillRandomNoNaN()
275 *ptr = randomGen->getFloat(); in fillRandomNoNaN()
280 *ptr = randomGen->getDouble(); in fillRandomNoNaN()
291 data[ndx] = randomGen->getUint8(); in fillRandomNoNaN()
297 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format, … in fillRandom() argument
305 fillRandomNoNaN(randomGen, planePtr, (deUint32)planeSize, format); in fillRandom()
311 planePtr[ndx] = randomGen->getUint8(); in fillRandom()
DvktYCbCrViewTests.cpp444 de::Random randomGen (deInt32Hash((deUint32)params.format) ^ in testPlaneView() local
606 fillRandom(&randomGen, &imageData); in testPlaneView()
653 generateLookupCoordinates(size, numValues, &randomGen, &texCoord); in testPlaneView()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrUtil.hpp87 void fillRandomNoNaN (de::Random* randomGen, deUint8* const data, deUint32 size, const …
88 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFo…
DvktYCbCrUtil.cpp220 void fillRandomNoNaN(de::Random* randomGen, deUint8* const data, deUint32 size, const vk::VkFormat … in fillRandomNoNaN() argument
265 data[ndx] = (randomGen->getUint8() & mask[ndx % 4]) & mask[3 - ndx % 4]; in fillRandomNoNaN()
270 *ptr = deFloat32To16(randomGen->getFloat()); in fillRandomNoNaN()
275 *ptr = randomGen->getFloat(); in fillRandomNoNaN()
280 *ptr = randomGen->getDouble(); in fillRandomNoNaN()
291 data[ndx] = randomGen->getUint8(); in fillRandomNoNaN()
297 void fillRandom (de::Random* randomGen, MultiPlaneImageData* imageData, const vk::VkFormat format, … in fillRandom() argument
305 fillRandomNoNaN(randomGen, planePtr, (deUint32)planeSize, format); in fillRandom()
311 planePtr[ndx] = randomGen->getUint8(); in fillRandom()
DvktYCbCrViewTests.cpp444 de::Random randomGen (deInt32Hash((deUint32)params.format) ^ in testPlaneView() local
606 fillRandom(&randomGen, &imageData); in testPlaneView()
653 generateLookupCoordinates(size, numValues, &randomGen, &texCoord); in testPlaneView()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageTransfer.cpp186 de::Random randomGen (deInt32Hash((deUint32)m_params.imageFormat) ^ in iterate() local
192 …fillRandomNoNaN(&randomGen, generatedData.data(), (deUint32)generatedData.size(), m_params.imageFo… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
DvktImageTransfer.cpp186 de::Random randomGen (deInt32Hash((deUint32)m_params.imageFormat) ^ in iterate() local
192 …fillRandomNoNaN(&randomGen, generatedData.data(), (deUint32)generatedData.size(), m_params.imageFo… in iterate()
/third_party/icu/icu4c/source/test/intltest/
Drbbitst.cpp4784 icu_rand randomGen; in TestReverse() local
4789 int charClass = randomGen() % categoryCount; in TestReverse()
4791 int cp = strings[charClass].char32At(randomGen() % strings[charClass].length()); in TestReverse()