/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
H A D | KeyGenerationParameters.java | 10 private SecureRandom random; field in class:KeyGenerationParameters 17 * @param random the random byte source. 21 SecureRandom random, 24 this.random = random; 29 * return the random source associated with this 32 * @return the generators random source. 36 return random; 20 KeyGenerationParameters( SecureRandom random, int strength) argument
|
H A D | CipherKeyGenerator.java | 10 protected SecureRandom random; field in class:CipherKeyGenerator 21 this.random = param.getRandom(); 34 random.nextBytes(key);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
H A D | BaseAlgorithmParameterGenerator.java | 9 protected SecureRandom random; field in class:BaseAlgorithmParameterGenerator 14 SecureRandom random) 17 this.random = random; 12 engineInit( int strength, SecureRandom random) argument
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-110509.js | 33 Math.random();
|
H A D | regress-235311.js | 31 String.fromCharCode(Math.random() * 26 + (4294967295) | 0);
|
/external/clang/test/Lexer/ |
H A D | msdos-cpm-eof.c | 8 I am random garbage after ^Z
|
/external/libcxx/test/numerics/rand/rand.synopsis/ |
H A D | version.pass.cpp | 10 // <random> 12 #include <random>
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | DSAParameterGenerationParameters.java | 14 private final SecureRandom random; field in class:DSAParameterGenerationParameters 17 * Construct without a usage index, this will do a random construction of G. 22 * @param random the source of randomness to use. 28 SecureRandom random) 30 this(L, N, certainty, random, -1); 39 * @param random the source of randomness to use. 46 SecureRandom random, 53 this.random = random; 73 return random; 24 DSAParameterGenerationParameters( int L, int N, int certainty, SecureRandom random) argument 42 DSAParameterGenerationParameters( int L, int N, int certainty, SecureRandom random, int usageIndex) argument [all...] |
H A D | ParametersWithRandom.java | 10 private SecureRandom random; field in class:ParametersWithRandom 15 SecureRandom random) 17 this.random = random; 29 return random; 13 ParametersWithRandom( CipherParameters parameters, SecureRandom random) argument
|
/external/guava/guava-tests/test/com/google/common/io/ |
H A D | RandomAmountInputStream.java | 24 /** Returns a random portion of the requested bytes on each call. */ 26 private final Random random; field in class:RandomAmountInputStream 28 public RandomAmountInputStream(InputStream in, Random random) { argument 30 this.random = random; 34 return super.read(b, off, random.nextInt(len) + 1);
|
/external/chromium_org/chrome/common/extensions/docs/server2/test_data/github_file_system/test_owner/repo/unzipped_repo/src/ |
H A D | hello.notpy | 3 import random namespace 11 print 'Hello, %s!' % random.choice(argv[1:])
|
/external/libcxx/test/numerics/rand/rand.device/ |
H A D | entropy.pass.cpp | 10 // <random> 16 #include <random>
|
/external/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/ |
H A D | assign.fail.cpp | 10 // <random> 16 #include <random>
|
H A D | copy.fail.cpp | 10 // <random> 16 #include <random>
|
H A D | default.pass.cpp | 10 // <random> 16 #include <random>
|
/external/compiler-rt/test/BlocksRuntime/ |
H A D | rettypepromotion.c | 30 if (random()) return LESS; 31 if (random()) return EQUAL; 32 if (random()) return GREATER;
|
/external/eigen/test/ |
H A D | product_large.cpp | 15 CALL_SUBTEST_1( product(MatrixXf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) ); 16 CALL_SUBTEST_2( product(MatrixXd(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) ); 17 CALL_SUBTEST_3( product(MatrixXi(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<int>(1,EIGEN_TEST_MAX_SIZE))) ); 18 CALL_SUBTEST_4( product(MatrixXcf(internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2), internal::random<int>(1,EIGEN_TEST_MAX_SIZE/2))) ); 19 CALL_SUBTEST_5( product(Matrix<float,Dynamic,Dynamic,RowMajor>(internal::random<int>(1,EIGEN_TEST_MAX_SIZE), internal::random<in [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/ |
H A D | RandomDSAKCalculator.java | 12 private SecureRandom random; field in class:RandomDSAKCalculator 19 public void init(BigInteger n, SecureRandom random) argument 22 this.random = random; 37 k = new BigInteger(qBitLength, random);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
H A D | ISO10126d2Padding.java | 13 SecureRandom random; field in class:ISO10126d2Padding 18 * @param random a SecureRandom if available. 20 public void init(SecureRandom random) argument 23 if (random != null) 25 this.random = random; 29 this.random = new SecureRandom(); 55 in[inOff] = (byte)random.nextInt();
|
H A D | X923Padding.java | 9 * passed in random padding is assumed, otherwise padding with zeros is used. 14 SecureRandom random = null; field in class:X923Padding 19 * @param random a SecureRandom if one is available. 21 public void init(SecureRandom random) argument 24 this.random = random; 49 if (random == null) 55 in[inOff] = (byte)random.nextInt();
|
/external/chromium_org/third_party/WebKit/Source/wtf/ |
H A D | AddressSpaceRandomization.cpp | 64 // Calculates a random preferred mapping address. In calculating an 69 uintptr_t random; local 70 random = static_cast<uintptr_t>(ranval(&s_ranctx)); 72 random <<= 32UL; 73 random |= static_cast<uintptr_t>(ranval(&s_ranctx)); 79 random &= 0x3ffffffffffUL; 80 random += 0x10000000000UL; 83 random &= 0x3fffffffffffUL; 87 random &= 0x3fffffffffUL; 88 random [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
H A D | DHParametersGenerator.java | 12 private SecureRandom random; field in class:DHParametersGenerator 21 * @param random a source of randomness 26 SecureRandom random) 30 this.random = random; 44 BigInteger[] safePrimes = DHParametersHelper.generateSafePrimes(size, certainty, random); 48 BigInteger g = DHParametersHelper.selectGenerator(p, q, random); 23 init( int size, int certainty, SecureRandom random) argument
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
H A D | MyAlgorithmParameterGeneratorSpi.java | 37 protected void engineInit(int keysize, SecureRandom random) { argument 44 SecureRandom random) { 45 if (random == null) { 46 throw new IllegalArgumentException("random is null"); 43 engineInit(AlgorithmParameterSpec genParamSpec, SecureRandom random) argument
|
H A D | MyKeyPairGeneratorSpi.java | 37 public void initialize(int keysize, SecureRandom random) { argument 42 if (random == null) { 43 throw new IllegalArgumentException("Invalid random"); 51 public void initialize(AlgorithmParameterSpec params, SecureRandom random) argument 53 if (random == null) { 55 "Not supported for null random");
|
/external/arduino/hardware/arduino/cores/arduino/ |
H A D | WMath.cpp | 37 long random(long howbig) function 42 return random() % howbig; 45 long random(long howsmall, long howbig) function 51 return random(diff) + howsmall;
|