HomeSort by relevance Sort by last modified time
    Searched full:rnd (Results 1 - 25 of 651) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic54x/
lp.s 2 rnd a
  /external/pdfium/xfa/src/fxfa/src/parser/
xfa_script_resolveprocessor.h 40 int32_t XFA_ResolveNodes(CXFA_ResolveNodesData& rnd);
41 int32_t XFA_ResolveNodes_AnyChild(CXFA_ResolveNodesData& rnd);
42 int32_t XFA_ResolveNodes_Dollar(CXFA_ResolveNodesData& rnd);
43 int32_t XFA_ResolveNodes_Excalmatory(CXFA_ResolveNodesData& rnd);
44 int32_t XFA_ResolveNodes_NumberSign(CXFA_ResolveNodesData& rnd);
45 int32_t XFA_ResolveNodes_Asterisk(CXFA_ResolveNodesData& rnd);
46 int32_t XFA_ResolveNodes_Normal(CXFA_ResolveNodesData& rnd);
48 CXFA_ResolveNodesData& rnd,
53 CXFA_ResolveNodesData& rnd);
57 CXFA_ResolveNodesData& rnd);
    [all...]
xfa_script_resolveprocessor.cpp 30 int32_t CXFA_ResolveProcessor::XFA_ResolveNodes(CXFA_ResolveNodesData& rnd) {
31 if (rnd.m_CurNode == NULL) {
34 if (!rnd.m_CurNode->IsNode()) {
35 if (rnd.m_dwStyles & XFA_RESOLVENODE_Attributes) {
36 return XFA_ResolveNodes_ForAttributeRs(rnd.m_CurNode, rnd, rnd.m_wsName);
40 if (rnd.m_dwStyles & XFA_RESOLVENODE_AnyChild) {
41 return XFA_ResolveNodes_AnyChild(rnd);
43 FX_WCHAR wch = rnd.m_wsName.GetAt(0);
    [all...]
  /external/deqp/modules/glshared/
glsInteractionTestUtil.cpp 44 static Vec4 getRandomColor (de::Random& rnd)
47 float r = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
48 float g = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
49 float b = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
50 float a = rnd.choose<float>(DE_ARRAY_BEGIN(components), DE_ARRAY_END(components));
54 void computeRandomRenderState (de::Random& rnd, RenderState& state, glu::ApiType apiType, int targetWidth, int targetHeight)
149 state.scissorTestEnabled = rnd.getFloat() < scissorTestProbability;
150 state.stencilTestEnabled = rnd.getFloat() < stencilTestProbability;
151 state.depthTestEnabled = rnd.getFloat() < depthTestProbability;
152 state.blendEnabled = rnd.getFloat() < blendProbability
    [all...]
glsRandomUniformBlockCase.cpp 66 de::Random rnd(m_seed);
68 int numShared = m_maxSharedBlocks > 0 ? rnd.getInt(1, m_maxSharedBlocks) : 0;
69 int numVtxBlocks = m_maxVertexBlocks-numShared > 0 ? rnd.getInt(1, m_maxVertexBlocks-numShared) : 0;
70 int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks-numShared) : 0;
73 generateBlock(rnd, DECLARE_VERTEX|DECLARE_FRAGMENT);
76 generateBlock(rnd, DECLARE_VERTEX);
79 generateBlock(rnd, DECLARE_FRAGMENT);
82 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags)
88 int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0, m_maxInstances) : 0
    [all...]
  /external/deqp/external/vulkancts/modules/vulkan/ubo/
vktRandomUniformBlockCase.cpp 76 de::Random rnd(m_seed);
78 int numShared = m_maxSharedBlocks > 0 ? rnd.getInt(1, m_maxSharedBlocks) : 0;
79 int numVtxBlocks = m_maxVertexBlocks-numShared > 0 ? rnd.getInt(1, m_maxVertexBlocks - numShared) : 0;
80 int numFragBlocks = m_maxFragmentBlocks-numShared > 0 ? rnd.getInt(1, m_maxFragmentBlocks - numShared): 0;
83 generateBlock(rnd, DECLARE_VERTEX | DECLARE_FRAGMENT);
86 generateBlock(rnd, DECLARE_VERTEX);
89 generateBlock(rnd, DECLARE_FRAGMENT);
94 void RandomUniformBlockCase::generateBlock (de::Random& rnd, deUint32 layoutFlags)
100 int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0, m_maxInstances) : 0
    [all...]
  /external/libvpx/libvpx/test/
vp9_quantize_test.cc 84 ACMRandom rnd(ACMRandom::DeterministicSeed());
106 *eob_ptr = rnd.Rand16();
109 coeff_ptr[j] = rnd.Rand16()&mask_;
112 zbin_ptr[j] = rnd.Rand16()&mask_;
113 round_ptr[j] = rnd.Rand16();
114 quant_ptr[j] = rnd.Rand16();
115 quant_shift_ptr[j] = rnd.Rand16();
116 dequant_ptr[j] = rnd.Rand16();
143 ACMRandom rnd(ACMRandom::DeterministicSeed());
165 *eob_ptr = rnd.Rand16()
    [all...]
vp9_boolcoder_test.cc 29 ACMRandom rnd(ACMRandom::DeterministicSeed());
40 (method == 3) ? rnd.Rand8() :
43 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
45 (parity ? rnd(64) : 255 - rnd(64)) :
46 (parity ? rnd(32) : 255 - rnd(32));
vp8_boolcoder_test.cc 57 ACMRandom rnd(ACMRandom::DeterministicSeed());
68 (method == 3) ? rnd.Rand8() :
71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
73 (parity ? rnd(64) : 255 - rnd(64)) :
74 (parity ? rnd(32) : 255 - rnd(32));
vp9_error_block_test.cc 60 ACMRandom rnd(ACMRandom::DeterministicSeed());
77 if (rnd(2)) {
79 coeff[j] = rnd(1 << msb);
80 dqcoeff[j] = rnd(1 << msb);
83 coeff[j] = -rnd(1 << msb);
84 dqcoeff[j] = -rnd(1 << msb);
103 ACMRandom rnd(ACMRandom::DeterministicSeed());
134 if (rnd(2)) {
136 coeff[j] = rnd(1 << 14);
137 dqcoeff[j] = rnd(1 << 14)
    [all...]
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
vp9_boolcoder_test.cc 30 ACMRandom rnd(ACMRandom::DeterministicSeed());
41 (method == 3) ? rnd.Rand8() :
44 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
46 (parity ? rnd(64) : 255 - rnd(64)) :
47 (parity ? rnd(32) : 255 - rnd(32));
vp8_boolcoder_test.cc 57 ACMRandom rnd(ACMRandom::DeterministicSeed());
68 (method == 3) ? rnd.Rand8() :
71 (method == 5) ? (parity ? rnd(128) : 255 - rnd(128)) :
73 (parity ? rnd(64) : 255 - rnd(64)) :
74 (parity ? rnd(32) : 255 - rnd(32));
dct32x32_test.cc 98 ACMRandom rnd(ACMRandom::DeterministicSeed());
110 src[j] = rnd.Rand8();
111 dst[j] = rnd.Rand8();
140 ACMRandom rnd(ACMRandom::DeterministicSeed());
149 input_block[j] = rnd.Rand8() - rnd.Rand8();
168 ACMRandom rnd(ACMRandom::DeterministicSeed());
179 input_block[j] = rnd.Rand8() - rnd.Rand8();
180 input_extreme_block[j] = rnd.Rand8() & 1 ? 255 : -255
    [all...]
  /external/deqp/framework/common/
tcuRandomValueIterator.hpp 33 T getRandomValue (de::Random& rnd)
40 deUint32 rval = rnd.getUint32();
48 template <> inline deUint8 getRandomValue<deUint8> (de::Random& rnd) { return (deUint8)rnd.getUint32(); }
49 template <> inline deUint16 getRandomValue<deUint16> (de::Random& rnd) { return (deUint16)rnd.getUint32(); }
50 template <> inline deUint32 getRandomValue<deUint32> (de::Random& rnd) { return rnd.getUint32(); }
51 template <> inline deUint64 getRandomValue<deUint64> (de::Random& rnd) { return rnd.getUint64();
    [all...]
  /external/deqp/framework/delibs/debase/
deRandom.c 33 * \param rnd RNG to initialize.
36 void deRandom_init (deRandom* rnd, deUint32 seed)
38 rnd->x = (deUint32)(-(int)seed ^ 123456789);
39 rnd->y = (deUint32)(362436069 * seed);
40 rnd->z = (deUint32)(521288629 ^ (seed >> 7));
41 rnd->w = (deUint32)(88675123 ^ (seed << 3));
46 * \param rnd Pointer to RNG.
49 deUint32 deRandom_getUint32 (deRandom* rnd)
51 deUint32 w = rnd->w;
54 t = rnd->x ^ (rnd->x << 11)
    [all...]
  /external/deqp/framework/delibs/decpp/
deBlockBuffer.cpp 71 Random rnd ((deUint32)m_lastPayload.size());
77 int numToRead = rnd.getInt(1, DE_LENGTH_OF_ARRAY(tmpBuf));
137 Random rnd (m_threadId);
143 int writeSize = rnd.getInt(1, de::min(m_numMessages-msgNdx, DE_LENGTH_OF_ARRAY(tmpBuf)));
148 if (rnd.getBool())
164 Random rnd (iterNdx);
165 int numBlocks = rnd.getInt(2, 128);
166 int blockSize = rnd.getInt(1, 16);
167 int numProducers = rnd.getInt(1, 16);
168 int numConsumers = rnd.getInt(1, 16)
    [all...]
deRandom.cpp 55 Random rnd(4789);
57 DE_TEST_ASSERT(expected[i] == rnd.getBool());
64 Random rnd(4789);
66 DE_TEST_ASSERT(expected[i] == rnd.getInt(-10000, 10000));
73 Random rnd(4789);
75 DE_TEST_ASSERT(expected[i] == rnd.getUint32());
82 Random rnd(4789);
84 DE_TEST_ASSERT(expected[i] == rnd.getUint64());
92 Random rnd(4789);
94 DE_TEST_ASSERT(de::abs(expected[i] - rnd.getFloat()) < epsilon)
    [all...]
  /external/owasp/sanitizer/src/tests/org/owasp/html/
HtmlPolicyBuilderFuzzerTest.java 97 int r = rnd.nextInt(3);
101 if (rnd.nextBoolean()) {
102 for (int k = rnd.nextInt(4); --k >= 0;) {
103 attributes.add(pick(rnd, ATTR_NAMES));
104 attributes.add(pickChunk(rnd));
107 policy.openTag(pick(rnd, ELEMENT_NAMES), attributes);
110 policy.closeTag(pick(rnd, ELEMENT_NAMES));
113 policy.text(pickChunk(rnd));
162 private static String pick(Random rnd, String[] choices) {
163 return choices[rnd.nextInt(choices.length)]
    [all...]
HtmlSanitizerFuzzerTest.java 80 for (int fuzz = 1 + rnd.nextInt(25); --fuzz >= 0;) {
81 if (rnd.nextBoolean()) {
82 fuzzyHtml0[rnd.nextInt(length)] = (char) rnd.nextInt(0x10000);
85 int s0 = rnd.nextInt(length - 1);
86 double d = Math.abs(rnd.nextGaussian()) / 3.0d;
87 int e0 = s0 + (int) (rnd.nextInt(length - s0) * d);
90 int s1 = rnd.nextInt(length - 1);
91 d = Math.abs(rnd.nextGaussian()) / 3.0d;
92 int e1 = s1 + (int) (rnd.nextInt(length - s1) * d)
    [all...]
  /external/deqp/modules/gles2/functional/
es2fDebugMarkerTests.cpp 75 void getSimpleRndString (vector<char>& dst, de::Random& rnd, int maxLen)
79 dst.resize(rnd.getInt(0, (int)maxLen));
82 dst[ndx] = rnd.choose<char>(DE_ARRAY_BEGIN(s_chars), DE_ARRAY_END(s_chars));
85 void getComplexRndString (vector<char>& dst, de::Random& rnd, int maxLen)
87 dst.resize(rnd.getInt(0, (int)maxLen));
90 dst[ndx] = (char)rnd.getUint8();
120 de::Random rnd (0xaf829c0);
124 const CallType callType = CallType(rnd.getInt(0, CALL_TYPE_LAST-1));
128 const bool nullTerminate = rnd.getBool();
129 const bool passLength = rnd.getBool()
    [all...]
es2fPrerequisiteTests.cpp 131 deRandom rnd; local
132 deRandom_init(&rnd, deInt32Hash(m_curIter));
133 r = (int)(deRandom_getUint32(&rnd) & 0xFF);
134 g = (int)(deRandom_getUint32(&rnd) & 0xFF);
135 b = (int)(deRandom_getUint32(&rnd) & 0xFF);
136 a = (int)(deRandom_getUint32(&rnd) & 0xFF);
185 deRandom rnd; local
186 deRandom_init(&rnd, deInt32Hash(m_curIter));
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
SortedMapTestBase.java 46 Random rnd; field in class:SortedMapTestBase
49 rnd = new Random(-1);
51 ref.put(rnd.nextInt(N) * 2, rnd.nextBoolean() ? null : rnd.nextInt(N) * 2);
62 int key = rnd.nextInt(N);
70 int value = rnd.nextInt(N);
91 int key = rnd.nextInt(N);
103 if (rnd.nextBoolean()) {
113 int key = rnd.nextInt(N)
    [all...]
  /external/llvm/test/MC/Hexagon/instructions/
xtype_complex.s 10 r17:16 = vxaddsubh(r21:20, r31:30):rnd:>>1:sat
12 r17:16 = vxsubaddh(r21:20, r31:30):rnd:>>1:sat
58 r17 = cmpy(r21, r31):rnd:sat
60 r17 = cmpy(r21, r31):<<1:rnd:sat
62 r17 = cmpy(r21, r31*):rnd:sat
64 r17 = cmpy(r21, r31*):<<1:rnd:sat
68 r17 = cmpyiwh(r21:20, r31):<<1:rnd:sat
70 r17 = cmpyiwh(r21:20, r31*):<<1:rnd:sat
72 r17 = cmpyrwh(r21:20, r31):<<1:rnd:sat
74 r17 = cmpyrwh(r21:20, r31*):<<1:rnd:sa
    [all...]
  /external/deqp/modules/gles3/functional/
es3fPrerequisiteTests.cpp 131 deRandom rnd; local
132 deRandom_init(&rnd, deInt32Hash(m_curIter));
133 r = (int)(deRandom_getUint32(&rnd) & 0xFF);
134 g = (int)(deRandom_getUint32(&rnd) & 0xFF);
135 b = (int)(deRandom_getUint32(&rnd) & 0xFF);
136 a = (int)(deRandom_getUint32(&rnd) & 0xFF);
185 deRandom rnd; local
186 deRandom_init(&rnd, deInt32Hash(m_curIter));
212 x = deRandom_getUint32(&rnd) % (targetWidth - 1);
213 y = deRandom_getUint32(&rnd) % (targetHeight - 1)
    [all...]
  /external/deqp/modules/egl/
teglChooseConfigTests.cpp 292 de::Random rnd(0);
294 return eglu::getConfigID(m_eglTestCtx.getLibrary(), m_display, configs[rnd.getInt(0, (int)configs.size()-1)]);
355 de::Random rnd(m_iterNdx);
356 const int numAttribs = rnd.getInt(0, (int)m_attribSet.size()*2);
358 std::vector<std::pair<EGLenum, EGLint> > attributes = genRandomAttributes(m_attribSet, numAttribs, rnd);
366 template <int MinVal, int MaxVal> static EGLint getInt (de::Random& rnd)
368 return rnd.getInt(MinVal, MaxVal);
371 static EGLint getBool (de::Random& rnd)
373 return rnd.getBool() ? EGL_TRUE : EGL_FALSE;
376 static EGLint getBufferType (de::Random& rnd)
    [all...]

Completed in 915 milliseconds

1 2 3 4 5 6 7 8 91011>>