/libcore/luni/src/main/java/java/security/ |
KeyPairGenerator.java | 40 private static SecureRandom random = new SecureRandom(); field in class:KeyPairGenerator 184 initialize(keysize, random); 199 initialize(param, random); 233 * @param random 237 public void initialize(int keysize, SecureRandom random) { 246 * @param random 252 public void initialize(AlgorithmParameterSpec param, SecureRandom random) 277 // implementation of initialize(int keysize, SecureRandom random) 280 public void initialize(int keysize, SecureRandom random) { 281 spiImpl.initialize(keysize, random); [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
TextToSpeechActivity.java | 29 import java.util.Random; 117 private static final Random RANDOM = new Random(); 128 // Select a random hello. 130 String hello = HELLOS[RANDOM.nextInt(helloLength)];
|
/external/astl/tests/ |
test_iterator.cpp | 62 struct Random { 71 enum Category {UNKNOWN, INPUT, FORWARD, BIDIRECTIONAL, RANDOM}; 99 return RANDOM; 108 EXPECT_TRUE(category(android::iterator_category(Random())) == RANDOM); 117 EXPECT_FALSE(android::is_wrapper_iterator<android::Random>::value);
|
/external/chromium/net/base/ |
escape_unittest.cc | 160 {"Some%20random text %25%3bOK", UnescapeRule::NONE, 161 "Some%20random text %25%3bOK"}, 162 {"Some%20random text %25%3bOK", UnescapeRule::NORMAL, 163 "Some%20random text %25;OK"}, 164 {"Some%20random text %25%3bOK", UnescapeRule::SPACES, 165 "Some random text %25;OK"}, 166 {"Some%20random text %25%3bOK", UnescapeRule::URL_SPECIAL_CHARS, 167 "Some%20random text %;OK"}, 168 {"Some%20random text %25%3bOK", 170 "Some random text %;OK"} [all...] |
/external/e2fsprogs/lib/uuid/ |
uuid_generate.3.in | 52 local ethernet MAC address (if available), and random data generated 53 using a pseudo-random generator. 57 function forces the use of the all-random UUID format, even if 58 a high-quality random number generator (i.e., 60 is not available, in which case a pseudo-random 61 generator will be subsituted. Note that the use of a pseudo-random
|
/external/e2fsprogs/tests/progs/ |
random_exercise.c | 3 * filesystem. It creates a lot of random files in the current 53 fd = ((int) random()) % MAXFDS; 79 isdir = random() & 1; 87 size = random() & (DATA_SIZE-1); 105 size = random() & (DATA_SIZE-1); 158 (random() & 2))
|
/external/iproute2/doc/actions/ |
gact-usage | 6 RAND := random <RANDTYPE> <ACTION> <VAL> 42 random type none pass val 0 51 10.0.0.9/32 flowid 1:16 action drop random netrand ok 10 59 random type netrand pass val 10 66 10.0.0.9/32 flowid 1:16 action drop random determ ok 2 75 random type determ pass val 2
|
/external/kernel-headers/original/linux/ |
random.h | 2 * include/linux/random.h 4 * Include file for the random number generator. 12 /* ioctl()'s for the random number generator */
|
fadvise.h | 5 #define POSIX_FADV_RANDOM 1 /* Expect random page references. */
|
/external/nist-sip/java/gov/nist/javax/sip/ |
UtilsExt.java | 33 * Generate a tag for a FROM header or TO header. Just return a random 4 45 * Generate a cryptographically random identifier that can be used to 48 * @return a cryptographically random gloablly unique string that can be
|
/external/webkit/JavaScriptCore/wtf/ |
RandomNumber.h | 31 // Returns a pseudo-random number in the range [0, 1), attempts to be 35 // Returns a pseudo-random number in the range [0, 1), attempts to 36 // produce a reasonable "random" number fast.
|
/libcore/luni/src/main/java/javax/crypto/spec/ |
DHGenParameterSpec.java | 38 * the size of the <i>random exponent</i> in bits. 55 * Returns the size of the <i>random exponent</i> in bits. 57 * @return the size of the random exponent in bits.
|
DHParameterSpec.java | 50 * <i>random exponent</i>. 57 * the size of the random exponent (in bits). 84 * Returns the size (in bits) of the <i>random exponent</i>. 86 * @return the size (in bits) of the random exponent.
|
/libcore/luni/src/test/java/tests/security/ |
SecureRandomTest.java | 85 private byte[] getRandomBytes(SecureRandom random) { 88 random.setSeed(System.currentTimeMillis()+counter); 91 random.nextBytes(randomData);
|
/bionic/libc/kernel/common/linux/netfilter/ |
xt_statistic.h | 33 } random; member in union:xt_statistic_info::__anon319
|
/development/ndk/platforms/android-3/include/linux/netfilter/ |
xt_statistic.h | 33 } random; member in union:xt_statistic_info::__anon946
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/symmetric/ |
AES.java | 137 // SecureRandom random) 147 // if (random == null) 149 // random = new SecureRandom(); 152 // random.nextBytes(iv);
|
/external/clearsilver/util/ |
osdep.h | 36 #define os_random random
|
/external/dropbear/debian/ |
dropbear.README.Debian | 43 Entropy from /dev/random 47 entropy from /dev/random. If /dev/random on a system blocks when 50 sees /dev/random blocking. A workaround for such systems is to
|
/external/v8/src/ |
v8.cc | 158 uint32_t V8::Random() { 159 // Random number generator using George Marsaglia's MWC algorithm. 163 // Initialize seed using the system random(). If one of the seeds 164 // should ever become zero again, or if random() returns zero, we 167 if (hi == 0) hi = random(); 168 if (lo == 0) lo = random(); 189 uint32_t random = Random(); local 193 return Smi::FromInt(random & kRandomPositiveSmiMax);
|
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8.2.14.js | 24 ECMA Section: 15.8.2.14 Math.random() 39 var TITLE = "Math.random()"; 52 array[item] = new TestCase( SECTION, "Math.random()", "pass", null ); 58 testcases[caseno].reason = Math.random();
|
/libcore/luni/src/main/java/java/security/interfaces/ |
DSAKeyPairGenerator.java | 34 * @param random 40 public void initialize(DSAParams params, SecureRandom random) 58 * @param random 65 public void initialize(int modlen, boolean genParams, SecureRandom random)
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
KeyGeneratorThread.java | 53 SecureRandom random = new SecureRandom(); local 54 kg.init(random); 58 random = new SecureRandom(); 59 kg.init(random);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/netfilter/ |
xt_statistic.h | 33 } random; member in union:xt_statistic_info::__anon13662
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/netfilter/ |
xt_statistic.h | 33 } random; member in union:xt_statistic_info::__anon14016
|