Home
last modified time | relevance | path

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

1234

/external/llvm-project/llvm/tools/llvm-stress/
Dllvm-stress.cpp198 uint32_t getRandom() { in getRandom() function
205 return PT->at(getRandom() % PT->size()); in getRandomVal()
210 if (getRandom() & 1) in getRandomConstant()
214 if (getRandom() & 1) in getRandomConstant()
223 unsigned index = getRandom(); in getRandomValue()
232 if (getRandom() & 1) in getRandomValue()
236 if (getRandom() & 1) in getRandomValue()
256 unsigned index = getRandom(); in getRandomPointerValue()
267 unsigned index = getRandom(); in getRandomVectorValue()
278 return (getRandom() & 1) ? pickVectorType() : pickScalarType(); in pickType()
[all …]
/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/llvm-project/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.mm51 int getRandom(); function
72 switch (getRandom()) {
96 if (getRandom()) {
103 if (getRandom()) {
121 switch(getRandom()) {
148 switch (getRandom()) {
287 if (getRandom())
300 if (getRandom())
367 switch (getRandom()) {
372 if (getRandom())
[all …]
Dincorrect-checker-names.mm28 int getRandom(); function
50 switch (getRandom()) {
76 if (getRandom()) {
83 if (getRandom()) {
/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()
447 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral()
495 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral()
739 …VariableType::Type inType = state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] … in ConstructorOp()
849 …er().hasEntry<IsWritableEntry>() || ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f)); in AssignOp()
861 …const ValueEntry* entry = state.getRandom().choose<const ValueEntry*>(state.getVariableManager().g… in AssignOp()
874 (first == end || getWeightedBool(state.getRandom(), 0.5f)); in AssignOp()
897 …ConstValueRangeAccess selectedRange = state.getRandom().choose<const ValueEntry*>(first, end)->get… in AssignOp()
[all …]
DrsgBinaryOps.cpp378 …VariableType::Type baseType = state.getRandom().choose<VariableType::Type>(baseTypes.begin(), base… in BinaryVecOp()
379 int numElements = state.getRandom().getInt(1, availableLevels >= 3 ? 4 : 1); in BinaryVecOp()
413 ComputeValueRange()(state.getRandom(), dst.getMin().asFloat(), dst.getMax().asFloat(), in BinaryVecOp()
417 ComputeValueRange()(state.getRandom(), dst.getMin().asInt(), dst.getMax().asInt(), in BinaryVecOp()
423 ComputeValueRange()(state.getRandom(), dst.getMin().asBool(), dst.getMax().asBool(), in BinaryVecOp()
664 …VariableType::Type inBaseType = state.getRandom().choose<VariableType::Type>(&inBaseTypes[0], &in… in RelationalOp()
678 ComputeValueRange()(state.getRandom(), dstMin, dstMax, in RelationalOp()
682 ComputeValueRange()(state.getRandom(), dstMin, dstMax, in RelationalOp()
959 …VariableType::Type inBaseType = state.getRandom().choose<VariableType::Type>(&inBaseTypes[0], &in… in EqualityComparisonOp()
961 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()
/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 …]
/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/ukey2/src/main/javatest/com/google/security/cryptauth/lib/securegcm/
DUkey2HandshakeTest.java337 clientInit.getRandom().toByteArray(), in testWrongNonceLengthInClientInit()
373 .setRandom(clientInit.getRandom()); in testServerCatchesMissingCommitmentInClientInit()
469 serverInitBuilder.getRandom().toByteArray(), in testWrongNonceLengthInServerInit()
507 .setRandom(serverInit.getRandom()) in testMissingOrIncorrectHandshakeCipherInServerInit()
534 .setRandom(serverInit.getRandom()) in testMissingOrIncorrectHandshakeCipherInServerInit()
573 .setRandom(serverInit.getRandom()) in testMissingOrIncorrectPublicKeyInServerInit()
602 .setRandom(serverInit.getRandom()) in testMissingOrIncorrectPublicKeyInServerInit()
725 Integer nonceHash = Integer.valueOf(Arrays.hashCode(clientInit.getRandom().toByteArray())); in testRandomItemsDifferentOnEveryRun()
741 nonceHash = Integer.valueOf(Arrays.hashCode(serverInit.getRandom().toByteArray())); in testRandomItemsDifferentOnEveryRun()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java163 BigInteger p = BigIntegers.createRandomPrime(bitlength, 1, param.getRandom()); in chooseRandomPrime()
198 …return !Primes.hasAnySmallFactors(x) && Primes.isMRProbablePrime(x, param.getRandom(), iterations); in isProbablePrime()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsTsiFrameProtectorTest.java21 import static io.grpc.alts.internal.ByteBufTestUtils.getRandom;
281 ByteBuf plain = getRandom(payloadBytes, ref); in parseFrame_oneFrameNoFragment()
319 ByteBuf plain = getRandom(payloadBytes, ref); in parseFrame_twoFramesNoFragment()
367 ByteBuf plain = getRandom(payloadBytes, ref); in parseFrame_twoFramesNoFragment_Leftover()
435 ByteBuf plain = getRandom(payloadBytes, ref); in parseFrame_twoFramesFragmentSecond()
/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/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DKeyGenerationParameters.java36 public SecureRandom getRandom() in getRandom() method in KeyGenerationParameters
DCipherKeyGenerator.java23 this.random = param.getRandom(); in init()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/
DKeyGenerationParameters.java36 public SecureRandom getRandom() in getRandom() method in KeyGenerationParameters
DCipherKeyGenerator.java23 this.random = param.getRandom(); in init()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java165 BigInteger p = BigIntegers.createRandomPrime(bitlength, 1, param.getRandom()); in chooseRandomPrime()
200 …return !Primes.hasAnySmallFactors(x) && Primes.isMRProbablePrime(x, param.getRandom(), iterations); in isProbablePrime()
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/generators/
DRSAKeyPairGenerator.java165 BigInteger p = BigIntegers.createRandomPrime(bitlength, 1, param.getRandom()); in chooseRandomPrime()
200 …return !Primes.hasAnySmallFactors(x) && Primes.isMRProbablePrime(x, param.getRandom(), iterations); in isProbablePrime()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DParametersWithRandom.java28 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/
DParametersWithRandom.java32 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/
DParametersWithRandom.java32 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom

1234