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

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/resources/
hyts_Foo.c 1 /* Some random file for it to look at. *
  /external/bouncycastle/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;
DSAKeyGenerationParameters.java 13 SecureRandom random,
16 super(random, params.getP().bitLength() - 1);
DHKeyGenerationParameters.java 13 SecureRandom random,
16 super(random, getStrength(params));
  /external/bouncycastle/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/src/main/java/org/bouncycastle/jce/interfaces/
BCKeyStore.java 11 * set the random source for the key store
13 public void setRandom(SecureRandom random);
  /frameworks/base/docs/
overview-ext.html 2 Some random libraries that we've imported:
  /external/bouncycastle/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/src/main/java/org/bouncycastle/jce/provider/
JDKAlgorithmParameterGenerator.java 35 protected SecureRandom random; field in class:JDKAlgorithmParameterGenerator
40 SecureRandom random)
43 this.random = random;
53 SecureRandom random)
64 this.random = random;
71 if (random != null)
73 pGen.init(strength, 20, random);
103 SecureRandom random)
    [all...]
JDKKeyPairGenerator.java 64 public abstract void initialize(int strength, SecureRandom random);
89 SecureRandom random)
92 random, strength, defaultTests);
99 SecureRandom random)
110 random, rsaParams.getKeysize(), defaultTests);
135 SecureRandom random = new SecureRandom(); field in class:JDKKeyPairGenerator.DH
145 SecureRandom random)
148 this.random = random;
153 SecureRandom random)
212 SecureRandom random = new SecureRandom(); field in class:JDKKeyPairGenerator.DSA
    [all...]
  /external/bouncycastle/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/chromium/third_party/icu/source/test/intltest/
numfmtst.cpp     [all...]
  /external/icu4c/test/intltest/
numfmtst.cpp     [all...]
  /external/chromium/base/
rand_util.h 12 // Returns a random number in range [0, kuint64max]. Thread-safe.
15 // Returns a random number between min and max (inclusive). Thread-safe.
18 // Returns a random double in range [0, 1). Thread-safe.
  /frameworks/base/core/tests/coretests/src/android/database/
DatabasePerformanceTests.java 31 import java.util.Random;
204 Random random = new Random(42); local
207 int r = random.nextInt(100000);
237 Random random = new Random(42); local
240 int r = random.nextInt(100000);
272 Random random = new Random(42) local
312 Random random = new Random(42); local
350 Random random = new Random(42); local
389 Random random = new Random(42); local
427 Random random = new Random(42); local
467 Random random = new Random(42); local
509 Random random = new Random(42); local
561 Random random = new Random(42); local
600 Random random = new Random(42); local
634 Random random = new Random(42); local
666 Random random = new Random(42); local
699 Random random = new Random(42); local
733 Random random = new Random(42); local
773 Random random = new Random(42); local
806 Random random = new Random(42); local
838 Random random = new Random(42); local
875 Random random = new Random(42); local
914 Random random = new Random(42); local
958 Random random = new Random(42); local
999 Random random = new Random(42); local
1031 Random random = new Random(42); local
1064 Random random = new Random(42); local
1096 Random random = new Random(42); local
1131 Random random = new Random(42); local
1169 Random random = new Random(42); local
1208 Random random = new Random(42); local
1242 Random random = new Random(42); local
1280 Random random = new Random(42); local
1317 Random random = new Random(42); local
    [all...]
NewDatabasePerformanceTests.java 27 import java.util.Random;
115 Random random = new Random(42); local
118 int r = random.nextInt(100000);
147 Random random = new Random(42); local
150 int r = random.nextInt(100000);
181 Random random = new Random(42) local
220 Random random = new Random(42); local
257 Random random = new Random(42); local
295 Random random = new Random(42); local
332 Random random = new Random(42); local
371 Random random = new Random(42); local
412 Random random = new Random(42); local
463 Random random = new Random(42); local
501 Random random = new Random(42); local
534 Random random = new Random(42); local
565 Random random = new Random(42); local
597 Random random = new Random(42); local
630 Random random = new Random(42); local
669 Random random = new Random(42); local
701 Random random = new Random(42); local
732 Random random = new Random(42); local
768 Random random = new Random(42); local
806 Random random = new Random(42); local
849 Random random = new Random(42); local
889 Random random = new Random(42); local
920 Random random = new Random(42); local
952 Random random = new Random(42); local
983 Random random = new Random(42); local
1017 Random random = new Random(42); local
1055 Random random = new Random(42); local
1093 Random random = new Random(42); local
1126 Random random = new Random(42); local
1163 Random random = new Random(42); local
1200 Random random = new Random(42); local
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
RandomTest.java 25 import java.util.Random;
27 @TestTargetClass(Random.class)
30 Random r;
33 * @tests java.util.Random#Random()
38 method = "Random",
42 // Test for method java.util.Random()
47 * @tests java.util.Random#Random(long)
52 method = "Random",
    [all...]
  /libcore/luni/src/main/java/java/util/
Random.java 24 * This class provides methods that generates pseudo-random numbers of different
30 public class Random implements Serializable {
56 * Constructs a random generator with an initial state that is
64 public Random() {
70 * Construct a random generator with the given {@code seed} as the
71 * initial state. Equivalent to {@code Random r = new Random(); r.setSeed(seed);}.
74 * the seed that will determine the initial state of this random
78 public Random(long seed) {
83 * Returns a pseudo-random uniformly distributed {@code int} value o
    [all...]
  /external/skia/include/core/
SkRandom.h 25 Utility class that implements pseudo random 32bit numbers using a fast
34 /** Return the next pseudo random number as an unsigned 32bit value.
38 /** Return the next pseudo random number as a signed 32bit value.
42 /** Return the next pseudo random number as an unsigned 16bit value.
46 /** Return the next pseudo random number as a signed 16bit value.
50 /** Return the next pseudo random number, as an unsigned value of
59 /** Return the next pseudo random unsigned number, mapped to lie within
67 /** Return the next pseudo random number expressed as an unsigned SkFixed
72 /** Return the next pseudo random number expressed as a signed SkFixed
77 /** Return the next pseudo random number expressed as a SkScala
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/util/
BigIntegers.java 38 * Return a random BigInteger not less than 'min' and not greater than 'max'
42 * @param random the source of randomness
43 * @return a random BigInteger value in the range [min,max]
48 SecureRandom random)
63 return createRandomInRange(ZERO, max.subtract(min), random).add(min);
68 BigInteger x = new BigInteger(max.bitLength(), random);
76 return new BigInteger(max.subtract(min).bitLength() - 1, random).add(min);
  /external/e2fsprogs/misc/
uuidgen.1.in 31 can generate: time-based UUID's and random-based UUID's. By
34 will generate a random-based UUID if a high-quality random number
45 Generate a random-based UUID. This method creates a UUID consisting mostly
46 of random bits. It requires that the operating system have a high
47 quality random number generator, such as
48 .IR /dev/random .
  /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);
  /development/cmds/monkey/src/com/android/commands/monkey/
MonkeyEventQueue.java 20 import java.util.Random;
28 private Random mRandom;
32 public MonkeyEventQueue(Random random, long throttle, boolean randomizeThrottle) {
34 mRandom = random;

Completed in 226 milliseconds

1 2 3 4 5 6 7 8 91011>>