HomeSort by relevance Sort by last modified time
    Searched refs:random (Results 1 - 25 of 1385) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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++/test/numerics/rand/rand.synopsis/
version.pass.cpp 10 // <random>
12 #include <random>
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
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++/test/numerics/rand/rand.device/
entropy.pass.cpp 10 // <random>
16 #include <random>
  /ndk/sources/cxx-stl/llvm-libc++/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");
MyKeyPairGeneratorSpi.java 38 public void initialize(int keysize, SecureRandom random) {
43 if (random == null) {
44 throw new IllegalArgumentException("Invalid random");
52 public void initialize(AlgorithmParameterSpec params, SecureRandom random)
54 if (random == null) {
56 "Not supported for null random");
  /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");
  /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>
  /external/arduino/hardware/arduino/cores/arduino/
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;

Completed in 1169 milliseconds

1 2 3 4 5 6 7 8 91011>>