/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
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;
|
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/ |
BaseAlgorithmParameterGenerator.java | 9 protected SecureRandom random; field in class:BaseAlgorithmParameterGenerator 14 SecureRandom random) 17 this.random = random;
|
/external/clang/test/Lexer/ |
msdos-cpm-eof.c | 8 I am random garbage after ^Z
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.synopsis/ |
version.pass.cpp | 10 // <random> 12 #include <random>
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
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; [all...] |
ParametersWithRandom.java | 10 private SecureRandom random; field in class:ParametersWithRandom 15 SecureRandom random) 17 this.random = random; 29 return random;
|
/external/guava/guava-tests/test/com/google/common/io/ |
RandomAmountInputStream.java | 22 import java.util.Random; 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) { 30 this.random = random; 34 return super.read(b, off, random.nextInt(len) + 1);
|
/libcore/luni/src/main/java/java/security/ |
AlgorithmParameterGeneratorSpi.java | 43 * @param random 46 protected abstract void engineInit(int size, SecureRandom random); 54 * @param random 60 SecureRandom random) throws InvalidAlgorithmParameterException;
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.device/ |
entropy.pass.cpp | 10 // <random> 16 #include <random>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.util/rand.util.seedseq/ |
assign.fail.cpp | 10 // <random> 16 #include <random>
|
copy.fail.cpp | 10 // <random> 16 #include <random>
|
default.pass.cpp | 10 // <random> 16 #include <random>
|
/external/compiler-rt/BlocksRuntime/tests/ |
rettypepromotion.c | 30 if (random()) return LESS; 31 if (random()) return EQUAL; 32 if (random()) return GREATER;
|
/libcore/luni/src/main/java/javax/crypto/ |
KeyGeneratorSpi.java | 51 * @param random 52 * the randomness source for any random bytes. 58 SecureRandom random) throws InvalidAlgorithmParameterException; 66 * @param random 67 * the randomness source for any random bytes. 69 protected abstract void engineInit(int keysize, SecureRandom random); 75 * @param random 76 * the randomness source for any random bytes. 78 protected abstract void engineInit(SecureRandom random);
|
/external/eigen/test/ |
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<int>(1,EIGEN_TEST_MAX_SIZE))) ) [all...] |
/packages/apps/Gallery2/src/com/android/photos/data/ |
AlbumSetLoader.java | 39 double random = Math.random(); local 40 int id = (int) (500 * random); 44 (long) (System.currentTimeMillis() * random), 48 (random < .3 ? 1 : 0),
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
ISO10126d2Padding.java | 13 SecureRandom random; field in class:ISO10126d2Padding 18 * @param random a SecureRandom if available. 20 public void init(SecureRandom random) 23 if (random != null) 25 this.random = random; 29 this.random = new SecureRandom(); 55 in[inOff] = (byte)random.nextInt();
|
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) 24 this.random = random; 49 if (random == null) 55 in[inOff] = (byte)random.nextInt();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
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);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MyAlgorithmParameterGeneratorSpi.java | 38 protected void engineInit(int keysize, SecureRandom random) { 45 SecureRandom random) { 46 if (random == null) { 47 throw new IllegalArgumentException("random is null");
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MyAlgorithmParameterGeneratorSpi.java | 39 public void engineInit(int keysize, SecureRandom random) { 46 SecureRandom random) { 47 if (random == null) { 48 throw new IllegalArgumentException("random is null");
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
CodePointUtils.java | 19 import java.util.Random; 63 public static int[] generateCodePointSet(final int codePointSetSize, final Random random) { 66 final int r = Math.abs(random.nextInt()); 81 * Generates a random word. 83 public static String generateWord(final Random random, final int[] codePointSet) { 85 // 8 * 4 = 32 chars max, but we do it the following way so as to bias the random toward 88 final int count = 1 + (Math.abs(random.nextInt()) % 5) 89 + (Math.abs(random.nextInt()) % 5 [all...] |
/bionic/libc/kernel/common/linux/ |
etherdevice.h | 24 #include <linux/random.h>
|
/development/ndk/platforms/android-3/include/linux/ |
etherdevice.h | 17 #include <linux/random.h>
|