Home
last modified time | relevance | path

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

12

/external/clang/test/Analysis/
Dnullability_nullonly.mm6 int getRandom(); function
19 if (getRandom()) {
45 if (getRandom())
58 if (getRandom())
82 switch (getRandom()) {
87 if (getRandom())
Dnullability.mm20 int getRandom(); function
41 switch (getRandom()) {
65 if (getRandom()) {
72 if (getRandom()) {
90 switch(getRandom()) {
117 switch (getRandom()) {
256 if (getRandom())
269 if (getRandom())
336 switch (getRandom()) {
341 if (getRandom())
[all …]
/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 …const float value = deFloatClamp(minVal + step*(float)state.getRandom().getInt(0, numSteps), minV… in FloatLiteral()
435 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral()
483 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral()
714 …VariableType::Type inType = state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] … in ConstructorOp()
824 …er().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f)); in AssignOp()
836 …const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().g… in AssignOp()
849 (first == end || getWeightedBool(state.getRandom(), 0.5f)); in AssignOp()
872 …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.cpp220 inline T getRandom (deRandom& rnd, T min, T max);
223 inline GLValue::Float getRandom (deRandom& rnd, GLValue::Float min, GLValue::Float max) in getRandom() function
232 inline GLValue::Short getRandom (deRandom& rnd, GLValue::Short min, GLValue::Short max) in getRandom() function
241 inline GLValue::Ushort getRandom (deRandom& rnd, GLValue::Ushort min, GLValue::Ushort max) in getRandom() function
250 inline GLValue::Byte getRandom (deRandom& rnd, GLValue::Byte min, GLValue::Byte max) in getRandom() function
259 inline GLValue::Ubyte getRandom (deRandom& rnd, GLValue::Ubyte min, GLValue::Ubyte max) in getRandom() function
268 inline GLValue::Fixed getRandom (deRandom& rnd, GLValue::Fixed min, GLValue::Fixed max) in getRandom() function
277 inline GLValue::Half getRandom (deRandom& rnd, GLValue::Half min, GLValue::Half max) in getRandom() function
289 inline GLValue::Int getRandom (deRandom& rnd, GLValue::Int min, GLValue::Int max) in getRandom() function
298 inline GLValue::Uint getRandom (deRandom& rnd, GLValue::Uint min, GLValue::Uint max) in getRandom() function
[all …]
DglsDrawTest.cpp667 inline T getRandom (deRandom& rnd, T min, T max);
670 inline GLValue::Float getRandom (deRandom& rnd, GLValue::Float min, GLValue::Float max) in getRandom() function
679 inline GLValue::Double getRandom (deRandom& rnd, GLValue::Double min, GLValue::Double max) in getRandom() function
688 inline GLValue::Short getRandom (deRandom& rnd, GLValue::Short min, GLValue::Short max) in getRandom() function
697 inline GLValue::Ushort getRandom (deRandom& rnd, GLValue::Ushort min, GLValue::Ushort max) in getRandom() function
706 inline GLValue::Byte getRandom (deRandom& rnd, GLValue::Byte min, GLValue::Byte max) in getRandom() function
715 inline GLValue::Ubyte getRandom (deRandom& rnd, GLValue::Ubyte min, GLValue::Ubyte max) in getRandom() function
724 inline GLValue::Fixed getRandom (deRandom& rnd, GLValue::Fixed min, GLValue::Fixed max) in getRandom() function
733 inline GLValue::Half getRandom (deRandom& rnd, GLValue::Half min, GLValue::Half max) in getRandom() function
745 inline GLValue::Int getRandom (deRandom& rnd, GLValue::Int min, GLValue::Int max) in getRandom() function
[all …]
/external/freetype/src/tools/ftrandom/
Dftrandom.c426 getRandom( int low, in getRandom() function
469 fseek( newf, getRandom( 0, (int)( item->len - 1 ) ), SEEK_SET ); in copyfont()
472 putc( getRandom( 0, 0xFF ), newf ); in copyfont()
474 putc( getRandom( 0x20, 0x7E ), newf ); in copyfont()
477 int hex = getRandom( 0, 15 ); in copyfont()
518 int i = getRandom( 0, (int)( fcnt - 1 ) ); in do_test()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java162 BigInteger p = new BigInteger(bitlength, 1, param.getRandom()); in chooseRandomPrime()
197 …return !Primes.hasAnySmallFactors(x) && Primes.isMRProbablePrime(x, param.getRandom(), iterations); in isProbablePrime()
DDESedeKeyGenerator.java23 this.random = param.getRandom(); in init()
DDHBasicKeyPairGenerator.java35 BigInteger x = helper.calculatePrivate(dhp, param.getRandom()); in generateKeyPair()
DDSAKeyPairGenerator.java39 BigInteger x = generatePrivateKey(dsaParams.getQ(), param.getRandom()); in generateKeyPair()
DECKeyPairGenerator.java30 this.random = ecP.getRandom(); in init()
/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/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/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
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
DDSASigner.java57 providedRandom = rParam.getRandom(); in init()

12