HomeSort by relevance Sort by last modified time
    Searched refs:random (Results 101 - 125 of 296) sorted by null

1 2 3 45 6 7 8 91011>>

  /libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
CipherSpiTest.java 89 protected void engineInit(int opmode, Key key, SecureRandom random)
91 super.engineInit(opmode, key, random);
96 SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException {
97 super.engineInit(opmode, key, params, random);
102 SecureRandom random) throws InvalidKeyException, InvalidAlgorithmParameterException {
103 super.engineInit(opmode, key, params, random);
381 protected void engineInit(int opmode, Key key, SecureRandom random)
386 AlgorithmParameterSpec params, SecureRandom random)
391 SecureRandom random) throws InvalidKeyException,
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
WindowSurface.java 103 x = (float)((width-1)*Math.random());
104 y = (float)((height-1)*Math.random());
105 dx = (float)(Math.random()*minStep*2) + 1;
106 dy = (float)(Math.random()*minStep*2) + 1;
110 cur += (Math.random()*minStep) - (minStep/2);
  /external/chromium/net/third_party/nss/ssl/
ssl3prot.h 179 SSL3Random random; member in struct:__anon2750
188 SSL3Random random; member in struct:__anon2751
271 SSL3Opaque random[46]; member in struct:__anon2762
  /libcore/luni/src/main/java/javax/crypto/
CipherSpi.java 146 * instance, or may be a combination of default and random parameters,
163 * If this cipher instance needs any algorithm parameters or random values
166 * provider or random values). Random values will be generated using {@code
167 * random};
179 * @param random
185 protected abstract void engineInit(int opmode, Key key, SecureRandom random)
198 * to generate the required parameters (using its provider or random
199 * values). Random values are generated using {@code random}
    [all...]
Cipher.java 410 * instance, or may be a combination of default and random parameters,
444 * If this cipher instance needs any algorithm parameters or random values
447 * provider or random values).
482 * If this cipher instance needs any algorithm parameters or random values
485 * provider or random values). Random values are generated using {@code
486 * random};
498 * @param random
506 public final void init(int opmode, Key key, SecureRandom random) throws InvalidKeyException {
511 spiImpl.engineInit(opmode, key, random);
    [all...]
  /packages/apps/Email/src/org/apache/james/mime4j/util/
SimpleTempStorage.java 30 import java.util.Random;
45 private Random random = new Random(); field in class:SimpleTempStorage
64 long n = Math.abs(random.nextLong());
93 long n = Math.abs(random.nextLong());
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
WrapCipherSpi.java 140 SecureRandom random)
176 random.nextBytes(iv);
200 SecureRandom random)
227 engineInit(opmode, key, paramSpec, random);
233 SecureRandom random)
238 engineInit(opmode, key, (AlgorithmParameterSpec)null, random);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/
GlitchExperiment.java 26 import java.util.Random;
65 Random random = new Random(); local
67 samples[random.nextInt(samples.length)] = 0;
  /external/webkit/JavaScriptCore/wtf/
RandomNumber.cpp 54 // rand_s is incredibly slow on windows so we fall back on rand for Math.random
83 uint32_t part1 = random() & (RAND_MAX - 1);
84 uint32_t part2 = random() & (RAND_MAX - 1);
85 // random only provides 31 bits
125 // rand only provides 31 bits, and the low order bits of that aren't very random
  /frameworks/base/core/java/android/net/http/
CertificateValidatorCache.java 30 import java.util.Random;
65 * Random salt
123 Random random = new Random(); local
124 mBigScrew = random.nextInt();
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
KeyFactory2Test.java 143 SecureRandom random = new SecureRandom(); // We don't use local
145 keyGen.initialize(1024, random);
192 SecureRandom random = new SecureRandom(); local
193 keyGen.initialize(1024, random);
367 SecureRandom random = new SecureRandom(); local
368 keyGen.initialize(1024, random);
453 SecureRandom random = new SecureRandom(); local
454 keyGen.initialize(1024, random);
  /bionic/libc/kernel/common/linux/raid/
md.h 28 #include <linux/random.h>
  /bootable/recovery/
verifier_test.sh 83 expect_fail random.zip
  /development/ndk/platforms/android-3/include/linux/raid/
md.h 28 #include <linux/random.h>
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/encodings/
OAEPEncoding.java 23 private SecureRandom random; field in class:OAEPEncoding
79 this.random = rParam.getRandom();
83 this.random = new SecureRandom();
167 random.nextBytes(seed);
  /external/chromium/third_party/libevent/test/
test-time.c 41 return (int)(random() % n);
  /external/clearsilver/util/
neo_rand.c 48 r = random() * max;
  /external/kernel-headers/original/linux/
etherdevice.h 29 #include <linux/random.h>
101 * random_ether_addr - Generate software assigned random Ethernet address
104 * Generate a random Ethernet address (MAC) that is not multicast
  /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();
  /external/webkit/SunSpider/tests/sunspider-0.9/
string-validate-input.js 67 var l = Math.floor(26*Math.random());
78 var l = Math.floor(9*Math.random());
  /external/webkit/SunSpider/tests/sunspider-0.9.1/
string-validate-input.js 67 var l = Math.floor(26*Math.random());
78 var l = Math.floor(9*Math.random());
  /external/webkit/WebKitTools/DumpRenderTree/pthreads/
JavaScriptThreadingPthreads.cpp 88 if (random() % 5 == 0) {
  /packages/apps/Gallery3D/src/com/cooliris/wallpaper/
Slideshow.java 193 sGrow.set((float) Math.random(), (float) Math.random(), 0);
206 sQueuedGrow.set((float) Math.random(), (float) Math.random(), 0);
  /prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/raid/
md.h 28 #include <linux/random.h>
  /prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/raid/
md.h 28 #include <linux/random.h>

Completed in 2390 milliseconds

1 2 3 45 6 7 8 91011>>