Home
last modified time | relevance | path

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

1234

/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/
DCombinedChartActivity.java115 entries.add(new Entry(index + 0.5f, getRandom(15, 5))); in generateLineData()
140 entries1.add(new BarEntry(0, getRandom(25, 25))); in generateBarData()
143 entries2.add(new BarEntry(0, new float[]{getRandom(13, 12), getRandom(13, 12)})); in generateBarData()
180 entries.add(new Entry(index + 0.25f, getRandom(10, 55))); in generateScatterData()
219 float y = getRandom(10, 105); in generateBubbleData()
220 float size = getRandom(100, 105); in generateBubbleData()
269 int rnd = (int) getRandom(chart.getData().getDataSetCount(), 0); in onOptionsItemSelected()
/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()
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()
396 …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()
/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/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/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/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/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/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/bcprov/src/main/java/org/bouncycastle/crypto/params/
DParametersWithRandom.java28 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom
DDSAParameterGenerationParameters.java71 public SecureRandom getRandom() in getRandom() method in DSAParameterGenerationParameters
/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
DDSAParameterGenerationParameters.java75 public SecureRandom getRandom() in getRandom() method in DSAParameterGenerationParameters

1234