Home
last modified time | relevance | path

Searched refs:rnd (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/third_party/vk-gl-cts/framework/delibs/debase/
DdeRandom.c36 void deRandom_init (deRandom* rnd, deUint32 seed) in deRandom_init() argument
38 rnd->x = (deUint32)(-(int)seed ^ 123456789); in deRandom_init()
39 rnd->y = (deUint32)(362436069 * seed); in deRandom_init()
40 rnd->z = (deUint32)(521288629 ^ (seed >> 7)); in deRandom_init()
41 rnd->w = (deUint32)(88675123 ^ (seed << 3)); in deRandom_init()
49 deUint32 deRandom_getUint32 (deRandom* rnd) in deRandom_getUint32() argument
51 deUint32 w = rnd->w; in deRandom_getUint32()
54 t = rnd->x ^ (rnd->x << 11); in deRandom_getUint32()
55 rnd->x = rnd->y; in deRandom_getUint32()
56 rnd->y = rnd->z; in deRandom_getUint32()
[all …]
/third_party/ffmpeg/libavcodec/mips/
Dvc1dsp_mips.h27 ptrdiff_t stride, int rnd);
29 ptrdiff_t stride, int rnd);
31 ptrdiff_t stride, int rnd);
33 ptrdiff_t stride, int rnd);
35 ptrdiff_t stride, int rnd);
37 ptrdiff_t stride, int rnd);
39 ptrdiff_t stride, int rnd);
41 ptrdiff_t stride, int rnd);
43 ptrdiff_t stride, int rnd);
45 ptrdiff_t stride, int rnd);
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.cpp44 static Vec4 getRandomColor (de::Random& rnd) in getRandomColor() argument
47 float r = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor()
48 float g = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor()
49 float b = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor()
50 float a = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components)); in getRandomColor()
54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targe… in computeRandomRenderState() argument
149 state.scissorTestEnabled = rnd.getFloat() < scissorTestProbability; in computeRandomRenderState()
150 state.stencilTestEnabled = rnd.getFloat() < stencilTestProbability; in computeRandomRenderState()
151 state.depthTestEnabled = rnd.getFloat() < depthTestProbability; in computeRandomRenderState()
152 state.blendEnabled = rnd.getFloat() < blendProbability; in computeRandomRenderState()
[all …]
DglsRandomUniformBlockCase.cpp66 de::Random rnd(m_seed); in init() local
68 int numShared = m_maxSharedBlocks > 0 ? rnd.getInt(1, m_maxSharedBlocks) : 0; in init()
69 …int numVtxBlocks = m_maxVertexBlocks-numShared > 0 ? rnd.getInt(1, m_maxVertexBlocks-numShared) : … in init()
70 …int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks-numShare… in init()
73 generateBlock(rnd, DECLARE_VERTEX|DECLARE_FRAGMENT); in init()
76 generateBlock(rnd, DECLARE_VERTEX); in init()
79 generateBlock(rnd, DECLARE_FRAGMENT); in init()
82 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
88 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock()
89 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock()
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cShaderBitfieldOperationTests.cpp1315 de::Random rnd(m_context.getTestContext().getCommandLine().getBaseSeed()); in init() local
1326 Vec4(rnd.getFloat()))); in init()
1335 Vec4(rnd.getFloat(), -rnd.getFloat()))); in init()
1344 …m_context, ss.str().c_str(), m_glslVersion, Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat()))… in init()
1354 Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat(), -rnd.getFloat()))); in init()
1367 Vec4(rnd.getFloat()), Ivec4(rnd.getInt(-8, 8)))); in init()
1376 Vec4(rnd.getFloat(), -rnd.getFloat()), in init()
1377 Ivec4(rnd.getInt(-8, 8), rnd.getInt(-8, 8)))); in init()
1386 … m_context, ss.str().c_str(), m_glslVersion, Vec4(rnd.getFloat(), -rnd.getFloat(), rnd.getFloat()), in init()
1387 Ivec4(rnd.getInt(-8, 8), rnd.getInt(-8, 8), rnd.getInt(-8, 8)))); in init()
[all …]
/third_party/boost/boost/numeric/interval/
Darith.hpp48 typename Policies::rounding rnd; in operator +=() local
49 set(rnd.add_down(low, r.low), rnd.add_up(up, r.up)); in operator +=()
60 typename Policies::rounding rnd; in operator +=() local
61 set(rnd.add_down(low, r), rnd.add_up(up, r)); in operator +=()
72 typename Policies::rounding rnd; in operator -=() local
73 set(rnd.sub_down(low, r.up), rnd.sub_up(up, r.low)); in operator -=()
84 typename Policies::rounding rnd; in operator -=() local
85 set(rnd.sub_down(low, r), rnd.sub_up(up, r)); in operator -=()
120 typename Policies::rounding rnd; in operator +() local
121 return interval<T,Policies>(rnd.add_down(x.lower(), y.lower()), in operator +()
[all …]
Dtransc.hpp33 typename Policies::rounding rnd; in exp() local
34 return I(rnd.exp_down(x.lower()), rnd.exp_up(x.upper()), true); in exp()
44 typename Policies::rounding rnd; in log() local
47 ? checking::neg_inf() : rnd.log_down(x.lower()); in log()
48 return I(l, rnd.log_up(x.upper()), true); in log()
56 typename Policies::rounding rnd; in cos() local
73 return I(rnd.cos_down(u), rnd.cos_up(l), true); in cos()
75 …return I(static_cast<T>(-1), rnd.cos_up(min BOOST_PREVENT_MACRO_SUBSTITUTION(rnd.sub_down(pi2.lowe… in cos()
86 typename Policies::rounding rnd; in sin() local
89 (void)&rnd; in sin()
[all …]
Darith2.hpp37 typename Policies::rounding rnd; in fmod() local
40 T n = rnd.int_down(rnd.div_down(x.lower(), yb)); in fmod()
49 typename Policies::rounding rnd; in fmod() local
51 T n = rnd.int_down(rnd.div_down(x.lower(), y)); in fmod()
60 typename Policies::rounding rnd; in fmod() local
63 T n = rnd.int_down(rnd.div_down(x, yb)); in fmod()
107 typename Policies::rounding rnd; in multiplicative_inverse() local
114 return I(checking::neg_inf(), rnd.div_up(one, x.lower()), true); in multiplicative_inverse()
117 return I(rnd.div_down(one, x.upper()), checking::pos_inf(), true); in multiplicative_inverse()
121 return I(rnd.div_down(one, x.upper()), rnd.div_up(one, x.lower()), true); in multiplicative_inverse()
[all …]
Darith3.hpp31 typename Policies::rounding rnd; in add() local
32 return I(rnd.add_down(x, y), rnd.add_up(x, y), true); in add()
41 typename Policies::rounding rnd; in sub() local
42 return I(rnd.sub_down(x, y), rnd.sub_up(x, y), true); in sub()
51 typename Policies::rounding rnd; in mul() local
52 return I(rnd.mul_down(x, y), rnd.mul_up(x, y), true); in mul()
61 typename Policies::rounding rnd; in div() local
62 return I(rnd.div_down(x, y), rnd.div_up(x, y), true); in div()
/third_party/boost/boost/numeric/interval/detail/
Ddivision.hpp29 typename Policies::rounding rnd; in div_non_zero() local
37 return I(rnd.div_down(xu, yl), rnd.div_up(xl, yu), true); in div_non_zero()
39 return I(rnd.div_down(xl, yl), rnd.div_up(xu, yu), true); in div_non_zero()
42 return I(rnd.div_down(xu, yu), rnd.div_up(xl, yu), true); in div_non_zero()
44 return I(rnd.div_down(xl, yl), rnd.div_up(xu, yl), true); in div_non_zero()
47 return I(rnd.div_down(xu, yu), rnd.div_up(xl, yl), true); in div_non_zero()
49 return I(rnd.div_down(xl, yu), rnd.div_up(xu, yl), true); in div_non_zero()
56 typename Policies::rounding rnd; in div_non_zero() local
61 return I(rnd.div_down(x, yl), rnd.div_up(x, yu), true); in div_non_zero()
63 return I(rnd.div_down(x, yu), rnd.div_up(x, yl), true); in div_non_zero()
[all …]
/third_party/vk-gl-cts/framework/delibs/decpp/
DdeRandom.cpp55 Random rnd(4789); in Random_selfTest() local
57 DE_TEST_ASSERT(expected[i] == rnd.getBool()); in Random_selfTest()
64 Random rnd(4789); in Random_selfTest() local
66 DE_TEST_ASSERT(expected[i] == rnd.getInt(-10000, 10000)); in Random_selfTest()
73 Random rnd(4789); in Random_selfTest() local
75 DE_TEST_ASSERT(expected[i] == rnd.getUint32()); in Random_selfTest()
82 Random rnd(4789); in Random_selfTest() local
84 DE_TEST_ASSERT(expected[i] == rnd.getUint64()); in Random_selfTest()
92 Random rnd(4789); in Random_selfTest() local
94 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat()) < epsilon); in Random_selfTest()
[all …]
DdeBlockBuffer.cpp71 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()
[all …]
DdeRandom.hpp182 template<typename T> T randomScalar (de::Random& rnd, T minValue, T maxValue);
183 …emplate<> inline float randomScalar (de::Random& rnd, float minValue, float maxValue) { return in randomScalar() argument
184 …late<> inline deInt32 randomScalar (de::Random& rnd, deInt32 minValue, deInt32 maxValue) { retur… in randomScalar() argument
185 …randomScalar (de::Random& rnd, deUint32 minValue, deUint32 maxValue) { if (minValue == 0 && maxVal… in randomScalar() argument
186 return minValue + rnd.getUint32() % (maxValue - minValue + 1); } in randomScalar()
187 …> inline deInt16 randomScalar (de::Random& rnd, deInt16 minValue, deInt16 maxValue) { return (de… in randomScalar() argument
188 …e deUint16 randomScalar (de::Random& rnd, deUint16 minValue, deUint16 maxValue) { return (deUint1… in randomScalar() argument
189 …e<> inline deInt8 randomScalar (de::Random& rnd, deInt8 minValue, deInt8 maxValue) { return (de… in randomScalar() argument
190 …ne deUint8 randomScalar (de::Random& rnd, deUint8 minValue, deUint8 maxValue) { return (deUint8)… in randomScalar() argument
/third_party/ffmpeg/libavcodec/x86/
Dvc1dsp_mmx.c41 int rnd, int64_t shift);
43 const int16_t *src, int rnd);
45 const int16_t *src, int rnd);
84 x86_reg stride, int rnd, x86_reg offset)\
86 rnd = 8-rnd;\
126 : "r"(offset), "r"(-2*offset), "g"(stride), "m"(rnd),\
190 int rnd, int64_t shift) \
230 "m"(rnd), "m"(shift) \
246 const int16_t *src, int rnd) \
250 rnd -= (-4+58+13-3)*256; /* Add -256 bias */ \
[all …]
/third_party/vk-gl-cts/framework/common/
DtcuRandomValueIterator.hpp33 T getRandomValue (de::Random& rnd) in getRandomValue() argument
40 deUint32 rval = rnd.getUint32(); in getRandomValue()
48 template <> inline deUint8 getRandomValue<deUint8> (de::Random& rnd) { return (deUint8)rnd.getUint… in getRandomValue() argument
49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUi… in getRandomValue() argument
50 template <> inline deUint32 getRandomValue<deUint32> (de::Random& rnd) { return rnd.getUint32(); … in getRandomValue() argument
51 template <> inline deUint64 getRandomValue<deUint64> (de::Random& rnd) { return rnd.getUint64(); … in getRandomValue() argument
52 template <> inline deInt8 getRandomValue<deInt8> (de::Random& rnd) { return (deInt8)rnd.getUint32(… in getRandomValue() argument
53 template <> inline deInt16 getRandomValue<deInt16> (de::Random& rnd) { return (deInt16)rnd.getUint… in getRandomValue() argument
54 template <> inline deInt32 getRandomValue<deInt32> (de::Random& rnd) { return (deInt32)rnd.getUint… in getRandomValue() argument
55 template <> inline deInt64 getRandomValue<deInt64> (de::Random& rnd) { return (deInt64)rnd.getUint… in getRandomValue() argument
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktRandomUniformBlockCase.cpp77 de::Random rnd(m_seed); in RandomUniformBlockCase() local
79 int numShared = m_maxSharedBlocks > 0 ? rnd.getInt(1, m_maxSharedBlocks) : 0; in RandomUniformBlockCase()
80 …int numVtxBlocks = m_maxVertexBlocks-numShared > 0 ? rnd.getInt(1, m_maxVertexBlocks - numShared) … in RandomUniformBlockCase()
81 …int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks - numSha… in RandomUniformBlockCase()
90 generateBlock(rnd, DECLARE_VERTEX | DECLARE_FRAGMENT); in RandomUniformBlockCase()
93 generateBlock(rnd, DECLARE_VERTEX); in RandomUniformBlockCase()
96 generateBlock(rnd, DECLARE_FRAGMENT); in RandomUniformBlockCase()
101 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
107 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock()
108 int numUniforms = rnd.getInt(1, m_maxBlockMembers); in generateBlock()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackRandomLayoutCase.cpp77 de::Random rnd(m_seed); in RandomInterfaceBlockCase() local
79 int numBlocks = rnd.getInt(1, m_maxBlocks); in RandomInterfaceBlockCase()
83 generateBlock(rnd, stage); in RandomInterfaceBlockCase()
151 void RandomInterfaceBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags) in generateBlock() argument
157 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(… in generateBlock()
158 int numBlockMembers = rnd.getInt(1, m_maxBlockMembers); in generateBlock()
164 if (numInstances > 0 || rnd.getBool()) in generateBlock()
170 generateBlockMember(rnd, block, numBlockMembers, numUnassignedOrMissing); in generateBlock()
175 void RandomInterfaceBlockCase::generateBlockMember (de::Random& rnd, InterfaceBlock& block, const i… in generateBlockMember() argument
183 VarType type = generateType(rnd, 0, true); in generateBlockMember()
[all …]
/third_party/openssl/crypto/bn/
Dbn_prime.c25 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods);
26 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods,
272 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods) in probable_prime() argument
280 if (!BN_priv_rand(rnd, bits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ODD)) in probable_prime()
282 if (safe && !BN_set_bit(rnd, 1)) in probable_prime()
286 BN_ULONG mod = BN_mod_word(rnd, (BN_ULONG)primes[i]); in probable_prime()
302 && square(primes[i]) > BN_get_word(rnd) + delta) in probable_prime()
312 if (!BN_add_word(rnd, delta)) in probable_prime()
314 if (BN_num_bits(rnd) != bits) in probable_prime()
316 bn_check_top(rnd); in probable_prime()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmIntegerDotProductTests.cpp59 static void fillRandomScalars(de::Random& rnd, T minValue, T maxValue, void* dst, int numValues, in… in fillRandomScalars() argument
63 typedPtr[offset + ndx] = de::randomScalar<T>(rnd, minValue, maxValue); in fillRandomScalars()
539 void addOpSDotKHRComputeTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random &rnd in addOpSDotKHRComputeTests() argument
554 fillRandomScalars(rnd, vecMin, vecMax, &inputInts1[0], numElements * alignedVecLen); in addOpSDotKHRComputeTests()
555 fillRandomScalars(rnd, vecMin, vecMax, &inputInts2[0], numElements * alignedVecLen); in addOpSDotKHRComputeTests()
578 …uteTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random &rnd, string name, T vec… in add32bitOpSDotKHRComputeTests() argument
580 …addOpSDotKHRComputeTests<Int32Buffer>(testCtx, group, rnd, name, dotProductPacking, DE_LENGTH_OF_A… in add32bitOpSDotKHRComputeTests()
585 …uteTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random &rnd, string name, T vec… in add16bitOpSDotKHRComputeTests() argument
587 …addOpSDotKHRComputeTests<Int16Buffer>(testCtx, group, rnd, name, dotProductPacking, DE_LENGTH_OF_A… in add16bitOpSDotKHRComputeTests()
592 …uteTests(tcu::TestContext& testCtx, tcu::TestCaseGroup *group, de::Random &rnd, string name, T vec… in add8bitOpSDotKHRComputeTests() argument
[all …]
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp_template.c68 const int sh = BIT_DEPTH - 1, rnd = 1 << (sh - 1); in fn() local
89 rgb0[x << SS_W] = av_clip_int16((y00 * cy + crv * v + rnd) >> sh); in fn()
91 rgb0[2 * x + 1] = av_clip_int16((y01 * cy + crv * v + rnd) >> sh); in fn()
93 rgb0[2 * x + rgb_stride] = av_clip_int16((y10 * cy + crv * v + rnd) >> sh); in fn()
94 rgb0[2 * x + rgb_stride + 1] = av_clip_int16((y11 * cy + crv * v + rnd) >> sh); in fn()
99 cgv * v + rnd) >> sh); in fn()
102 cgv * v + rnd) >> sh); in fn()
105 cgv * v + rnd) >> sh); in fn()
107 cgv * v + rnd) >> sh); in fn()
111 rgb2[x << SS_W] = av_clip_int16((y00 * cy + cbu * u + rnd) >> sh); in fn()
[all …]
/third_party/curl/lib/
Drand.c39 static CURLcode randit(struct Curl_easy *data, unsigned int *rnd) in randit() argument
60 *rnd = randseed; in randit()
66 result = Curl_ssl_random(data, (unsigned char *)rnd, sizeof(*rnd)); in randit()
100 *rnd = (r << 16) | ((r >> 16) & 0xFFFF); in randit()
119 CURLcode Curl_rand(struct Curl_easy *data, unsigned char *rnd, size_t num) in Curl_rand() argument
134 *rnd++ = (unsigned char)(r & 0xFF); in Curl_rand()
150 CURLcode Curl_rand_hex(struct Curl_easy *data, unsigned char *rnd, in Curl_rand_hex() argument
178 *rnd++ = hex[(*bufp & 0xF0)>>4]; in Curl_rand_hex()
179 *rnd++ = hex[*bufp & 0x0F]; in Curl_rand_hex()
183 *rnd = 0; in Curl_rand_hex()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDebugMarkerTests.cpp75 void getSimpleRndString (vector<char>& dst, de::Random& rnd, int maxLen) in getSimpleRndString() argument
79 dst.resize(rnd.getInt(0, (int)maxLen)); in getSimpleRndString()
82 dst[ndx] = rnd.choose<char>(DE_ARRAY_BEGIN(s_chars), DE_ARRAY_END(s_chars)); in getSimpleRndString()
85 void getComplexRndString (vector<char>& dst, de::Random& rnd, int maxLen) in getComplexRndString() argument
87 dst.resize(rnd.getInt(0, (int)maxLen)); in getComplexRndString()
90 dst[ndx] = (char)rnd.getUint8(); in getComplexRndString()
120 de::Random rnd (0xaf829c0); in iterate() local
124 const CallType callType = CallType(rnd.getInt(0, CALL_TYPE_LAST-1)); in iterate()
128 const bool nullTerminate = rnd.getBool(); in iterate()
129 const bool passLength = rnd.getBool(); in iterate()
[all …]
Des2fPrerequisiteTests.cpp131 deRandom rnd; in iterate()
132 deRandom_init(&rnd, deInt32Hash(m_curIter)); in iterate()
133 r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
134 g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
135 b = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
136 a = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
185 deRandom rnd; in iterate() local
186 deRandom_init(&rnd, deInt32Hash(m_curIter)); in iterate()
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate()
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1); in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fPrerequisiteTests.cpp131 deRandom rnd; in iterate()
132 deRandom_init(&rnd, deInt32Hash(m_curIter)); in iterate()
133 r = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
134 g = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
135 b = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
136 a = (int)(deRandom_getUint32(&rnd) & 0xFF); in iterate()
185 deRandom rnd; in iterate() local
186 deRandom_init(&rnd, deInt32Hash(m_curIter)); in iterate()
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1); in iterate()
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1); in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayout.cpp114 de::Random rnd(m_seed); in RandomSharedLayoutCase() local
119 for (int i = 0; i < rnd.getInt(1, m_maxSharedObjects); i++) in RandomSharedLayoutCase()
120 generateSharedMemoryObject(rnd); in RandomSharedLayoutCase()
133 void RandomSharedLayoutCase::generateSharedMemoryObject (de::Random &rnd) in generateSharedMemoryObject() argument
138 const int numVars = rnd.getInt(2, m_maxSharedObjectMembers); in generateSharedMemoryObject()
141 generateSharedMemoryVar(rnd, object); in generateSharedMemoryObject()
144 void RandomSharedLayoutCase::generateSharedMemoryVar (de::Random &rnd, SharedStruct &object) in generateSharedMemoryVar() argument
150 var.type = generateType(rnd, 3, true); in generateSharedMemoryVar()
152 var.type = generateType(rnd, 1, true); in generateSharedMemoryVar()
161 glu::VarType RandomSharedLayoutCase::generateType (de::Random &rnd, int typeDepth, bool arrayOk) in generateType() argument
[all …]

12345678910>>...22