/external/MPAndroidChart/MPChartExample/src/main/java/com/xxmassdeveloper/mpchartexample/ |
D | CombinedChartActivity.java | 115 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/zxing/core/src/test/java/com/google/zxing/pdf417/decoder/ec/ |
D | ErrorCorrectionTestCase.java | 56 Random random = getRandom(); in testOneError() 66 Random random = getRandom(); in testMaxErrors() 77 Random random = getRandom(); in testTooManyErrors()
|
/external/clang/test/Analysis/ |
D | nullability_nullonly.mm | 6 int getRandom(); function 19 if (getRandom()) { 45 if (getRandom()) 58 if (getRandom()) 82 switch (getRandom()) { 87 if (getRandom())
|
D | nullability.mm | 20 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/ |
D | rsgExpression.cpp | 161 de::Random &rnd = state.getRandom(); in computeRandomValueRangeForInfElements() 338 …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)… in FloatLiteral() 446 int value = state.getRandom().getInt(minVal, maxVal); in IntLiteral() 494 bool value = state.getRandom().getInt(minVal, maxVal) == 1; in BoolLiteral() 791 state.getRandom().choose<VariableType::Type>(&inTypes[0], &inTypes[0] + numInTypes); in ConstructorOp() 906 ((maxScalars > 0) && getWeightedBool(state.getRandom(), 0.1f)); in AssignOp() 919 …state.getRandom().choose<const ValueEntry *>(state.getVariableManager().getBegin<IsWritableEntry>(… in AssignOp() 935 (first == end || getWeightedBool(state.getRandom(), 0.5f)); in AssignOp() 959 state.getRandom().choose<const ValueEntry *>(first, end)->getValueRange(); in AssignOp() [all …]
|
D | rsgBinaryOps.cpp | 383 …VariableType::Type baseType = state.getRandom().choose<VariableType::Type>(baseTypes.begin(), base… in BinaryVecOp() 384 int numElements = state.getRandom().getInt(1, availableLevels >= 3 ? 4 : 1); in BinaryVecOp() 419 …ComputeValueRange()(state.getRandom(), dst.getMin().asFloat(), dst.getMax().asFloat(), a.getMin().… in BinaryVecOp() 422 …ComputeValueRange()(state.getRandom(), dst.getMin().asInt(), dst.getMax().asInt(), a.getMin().asIn… in BinaryVecOp() 427 …ComputeValueRange()(state.getRandom(), dst.getMin().asBool(), dst.getMax().asBool(), a.getMin().as… in BinaryVecOp() 678 …state.getRandom().choose<VariableType::Type>(&inBaseTypes[0], &inBaseTypes[DE_LENGTH_OF_ARRAY(inBa… in RelationalOp() 692 … ComputeValueRange()(state.getRandom(), dstMin, dstMax, a.getMin().asFloat(), a.getMax().asFloat(), in RelationalOp() 695 … ComputeValueRange()(state.getRandom(), dstMin, dstMax, a.getMin().asInt(), a.getMax().asInt(), in RelationalOp() 1005 …state.getRandom().choose<VariableType::Type>(&inBaseTypes[0], &inBaseTypes[DE_LENGTH_OF_ARRAY(inBa… in EqualityComparisonOp() 1007 int numElements = state.getRandom().getInt(1, availableLevels >= 3 ? 4 : 1); in EqualityComparisonOp() [all …]
|
D | rsgStatement.cpp | 81 float p = state.getRandom().getFloat(0.0f, sum); in chooseStatement() 151 …m_numChildrenToCreate = state.getRandom().getInt(0, state.getShaderParameters().maxStatementsPerBl… in init() 269 variable = state.getRandom().choose<Variable *>(candidates.begin(), candidates.end()); in DeclarationStatement() 401 …if (!m_falseStatement && !m_trueStatement && (isElseBlockRequired(state) || state.getRandom().getB… in createNextChild()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 211 inline T getRandom(deRandom &rnd, T min, T max); 214 inline GLValue::Float getRandom(deRandom &rnd, GLValue::Float min, GLValue::Float max) in getRandom() function 223 inline GLValue::Short getRandom(deRandom &rnd, GLValue::Short min, GLValue::Short max) in getRandom() function 233 inline GLValue::Ushort getRandom(deRandom &rnd, GLValue::Ushort min, GLValue::Ushort max) in getRandom() function 243 inline GLValue::Byte getRandom(deRandom &rnd, GLValue::Byte min, GLValue::Byte max) in getRandom() function 253 inline GLValue::Ubyte getRandom(deRandom &rnd, GLValue::Ubyte min, GLValue::Ubyte max) in getRandom() function 263 inline GLValue::Fixed getRandom(deRandom &rnd, GLValue::Fixed min, GLValue::Fixed max) in getRandom() function 273 inline GLValue::Half getRandom(deRandom &rnd, GLValue::Half min, GLValue::Half max) in getRandom() function 285 inline GLValue::Int getRandom(deRandom &rnd, GLValue::Int min, GLValue::Int max) in getRandom() function 295 inline GLValue::Uint getRandom(deRandom &rnd, GLValue::Uint min, GLValue::Uint max) in getRandom() function [all …]
|
/external/freetype/src/tools/ftrandom/ |
D | ftrandom.c | 426 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/ |
D | KeyGenerationParameters.java | 34 public SecureRandom getRandom() in getRandom() method in KeyGenerationParameters
|
D | CipherKeyGenerator.java | 23 this.random = param.getRandom(); in init()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/ |
D | KeyGenerationParameters.java | 36 public SecureRandom getRandom() in getRandom() method in KeyGenerationParameters
|
D | CipherKeyGenerator.java | 25 this.random = param.getRandom(); in init()
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/ |
D | KeyGenerationParameters.java | 36 public SecureRandom getRandom() in getRandom() method in KeyGenerationParameters
|
D | CipherKeyGenerator.java | 25 this.random = param.getRandom(); in init()
|
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/ |
D | AltsTsiFrameProtectorTest.java | 21 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/params/ |
D | ParametersWithRandom.java | 28 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom
|
D | DSAParameterGenerationParameters.java | 71 public SecureRandom getRandom() in getRandom() method in DSAParameterGenerationParameters
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
D | RSAKeyPairGenerator.java | 169 BigInteger p = BigIntegers.createRandomPrime(bitlength, 1, param.getRandom()); in chooseRandomPrime() 204 …return !Primes.hasAnySmallFactors(x) && Primes.isMRProbablePrime(x, param.getRandom(), iterations); in isProbablePrime()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/params/ |
D | ParametersWithRandom.java | 32 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom
|
D | DSAParameterGenerationParameters.java | 75 public SecureRandom getRandom() in getRandom() method in DSAParameterGenerationParameters
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/params/ |
D | ParametersWithRandom.java | 32 public SecureRandom getRandom() in getRandom() method in ParametersWithRandom
|
D | DSAParameterGenerationParameters.java | 75 public SecureRandom getRandom() in getRandom() method in DSAParameterGenerationParameters
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/generators/ |
D | RSAKeyPairGenerator.java | 171 BigInteger p = BigIntegers.createRandomPrime(bitlength, 1, param.getRandom()); in chooseRandomPrime() 206 …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/ |
D | RSAKeyPairGenerator.java | 171 BigInteger p = BigIntegers.createRandomPrime(bitlength, 1, param.getRandom()); in chooseRandomPrime() 206 …return !Primes.hasAnySmallFactors(x) && Primes.isMRProbablePrime(x, param.getRandom(), iterations); in isProbablePrime()
|