Home
last modified time | relevance | path

Searched refs:getRandom (Results 1 – 25 of 31) sorted by relevance

12

/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
DClientHelloTest.java46 assertEquals("incorrect random", 32, message.getRandom().length); in testClientHello()
60 Arrays.equals(message.getRandom(), message_2.getRandom())); in testClientHello()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp167 de::Random& rnd = state.getRandom(); in computeRandomValueRangeForInfElements()
340 return &state.getRandom().chooseWeighted<const ExpressionSpec&>(specs, specs+numSpecs, weights); in chooseExpression()
380 float value = deFloatClamp(minVal + step*state.getRandom().getInt(0, numSteps), minVal, maxVal); in FloatLiteral()
435 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral()
483 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral()
713 …VariableType::Type inType = state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] … in ConstructorOp()
823 …er().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f)); in AssignOp()
835 …const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().g… in AssignOp()
848 (first == end || getWeightedBool(state.getRandom(), 0.5f)); in AssignOp()
871 …ConstValueRangeAccess selectedRange = state.getRandom().choose<const ValueEntry*>(first, end)->get… in AssignOp()
[all …]
DrsgBinaryOps.cpp128 …VariableType::Type baseType = state.getRandom().choose<VariableType::Type>(baseTypes.begin(), base… in BinaryVecOp()
129 int numElements = state.getRandom().getInt(1, availableLevels >= 3 ? 4 : 1); in BinaryVecOp()
163 ComputeValueRange()(state.getRandom(), dst.getMin().asFloat(), dst.getMax().asFloat(), in BinaryVecOp()
167 ComputeValueRange()(state.getRandom(), dst.getMin().asInt(), dst.getMax().asInt(), in BinaryVecOp()
173 ComputeValueRange()(state.getRandom(), dst.getMin().asBool(), dst.getMax().asBool(), in BinaryVecOp()
414 …VariableType::Type inBaseType = state.getRandom().choose<VariableType::Type>(&inBaseTypes[0], &in… in RelationalOp()
428 ComputeValueRange()(state.getRandom(), dstMin, dstMax, in RelationalOp()
432 ComputeValueRange()(state.getRandom(), dstMin, dstMax, in RelationalOp()
709 …VariableType::Type inBaseType = state.getRandom().choose<VariableType::Type>(&inBaseTypes[0], &in… in EqualityComparisonOp()
711 int numElements = state.getRandom().getInt(1, availableLevels >= 3 ? 4 : 1); in EqualityComparisonOp()
[all …]
DrsgStatement.cpp76 float p = state.getRandom().getFloat(0.0f, sum); in chooseStatement()
147 …m_numChildrenToCreate = state.getRandom().getInt(0, state.getShaderParameters().maxStatementsPerBl… in init()
265 variable = state.getRandom().choose<Variable*>(candidates.begin(), candidates.end()); in DeclarationStatement()
397 …if (!m_falseStatement && !m_trueStatement && (isElseBlockRequired(state) || state.getRandom().getB… in createNextChild()
DrsgUtils.cpp166 state.getRandom().choose(baseTypes, baseTypes + DE_LENGTH_OF_ARRAY(baseTypes), &baseType, 1); in computeRandomType()
176 …return VariableType(baseType, state.getRandom().getInt(minVecLength, de::min(maxScalars, maxVecLen… in computeRandomType()
188 de::Random& rnd = state.getRandom(); in computeRandomValueRange()
DrsgGeneratorState.hpp59 de::Random& getRandom (void) { return m_random; } in getRandom() function in rsg::GeneratorState
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp240 inline T getRandom (deRandom& rnd, T min, T max);
243 inline GLValue::Float getRandom (deRandom& rnd, GLValue::Float min, GLValue::Float max) in getRandom() function
252 inline GLValue::Short getRandom (deRandom& rnd, GLValue::Short min, GLValue::Short max) in getRandom() function
261 inline GLValue::Ushort getRandom (deRandom& rnd, GLValue::Ushort min, GLValue::Ushort max) in getRandom() function
270 inline GLValue::Byte getRandom (deRandom& rnd, GLValue::Byte min, GLValue::Byte max) in getRandom() function
279 inline GLValue::Ubyte getRandom (deRandom& rnd, GLValue::Ubyte min, GLValue::Ubyte max) in getRandom() function
288 inline GLValue::Fixed getRandom (deRandom& rnd, GLValue::Fixed min, GLValue::Fixed max) in getRandom() function
297 inline GLValue::Half getRandom (deRandom& rnd, GLValue::Half min, GLValue::Half max) in getRandom() function
309 inline GLValue::Int getRandom (deRandom& rnd, GLValue::Int min, GLValue::Int max) in getRandom() function
318 inline GLValue::Uint getRandom (deRandom& rnd, GLValue::Uint min, GLValue::Uint max) in getRandom() function
[all …]
DglsDrawTest.cpp680 inline T getRandom (deRandom& rnd, T min, T max);
683 inline GLValue::Float getRandom (deRandom& rnd, GLValue::Float min, GLValue::Float max) in getRandom() function
692 inline GLValue::Double getRandom (deRandom& rnd, GLValue::Double min, GLValue::Double max) in getRandom() function
701 inline GLValue::Short getRandom (deRandom& rnd, GLValue::Short min, GLValue::Short max) in getRandom() function
710 inline GLValue::Ushort getRandom (deRandom& rnd, GLValue::Ushort min, GLValue::Ushort max) in getRandom() function
719 inline GLValue::Byte getRandom (deRandom& rnd, GLValue::Byte min, GLValue::Byte max) in getRandom() function
728 inline GLValue::Ubyte getRandom (deRandom& rnd, GLValue::Ubyte min, GLValue::Ubyte max) in getRandom() function
737 inline GLValue::Fixed getRandom (deRandom& rnd, GLValue::Fixed min, GLValue::Fixed max) in getRandom() function
746 inline GLValue::Half getRandom (deRandom& rnd, GLValue::Half min, GLValue::Half max) in getRandom() function
758 inline GLValue::Int getRandom (deRandom& rnd, GLValue::Int min, GLValue::Int max) in getRandom() function
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java50 p = new BigInteger(pbitlength, 1, param.getRandom()); in generateKeyPair()
78 q = new BigInteger(qbitlength, 1, param.getRandom()); in generateKeyPair()
DDESedeKeyGenerator.java21 this.random = param.getRandom(); in init()
DDHBasicKeyPairGenerator.java35 BigInteger x = helper.calculatePrivate(dhp, param.getRandom()); in generateKeyPair()
DECKeyPairGenerator.java27 this.random = ecP.getRandom(); in init()
DDSAKeyPairGenerator.java38 BigInteger x = generatePrivateKey(dsaParams.getQ(), param.getRandom()); in generateKeyPair()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DKeyGenerationParameters.java34 public SecureRandom getRandom() in getRandom() method in KeyGenerationParameters
DCipherKeyGenerator.java21 this.random = param.getRandom(); in init()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DParametersWithRandom.java27 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom
DDSAParameterGenerationParameters.java71 public SecureRandom getRandom() in getRandom() method in DSAParameterGenerationParameters
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/
DRSABlindedEngine.java43 random = rParam.getRandom(); in init()
/external/jmdns/src/javax/jmdns/impl/tasks/state/
DProber.java70 …timer.schedule(this, JmDNSImpl.getRandom().nextInt(1 + DNSConstants.PROBE_WAIT_INTERVAL), DNSConst… in start()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/encodings/
DPKCS1Encoding.java81 this.random = rParam.getRandom(); in init()
/external/jmdns/src/javax/jmdns/impl/tasks/
DResponder.java83 …sTruncated()) ? 0 : DNSConstants.RESPONSE_MIN_WAIT_INTERVAL + JmDNSImpl.getRandom().nextInt(DNSCon… in start()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java54 this.random = rParam.getRandom(); in init()
DECDSASigner.java55 this.random = rParam.getRandom(); in init()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/
DPaddedBufferedBlockCipher.java73 padding.init(p.getRandom()); in init()
/external/deqp/framework/common/
DtcuThreadUtil.hpp182 de::Random& getRandom (void) { return m_random; } in getRandom() function in tcu::ThreadUtil::Thread

12