/external/webkit/SunSpider/tests/sunspider-0.9/ |
string-base64.js | 122 str += String.fromCharCode( (25 * Math.random()) + 97 );
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
string-base64.js | 122 str += String.fromCharCode( (25 * Math.random()) + 97 );
|
/prebuilt/linux-x86/toolchain/i686-unknown-linux-gnu-4.2.1/lib/gcc/i686-unknown-linux-gnu/4.2.1/include/X11/ |
Xw32defs.h | 63 #define random rand macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/external/skia/src/animator/ |
SkDisplayMath.cpp | 67 SK_FUNCTION(random), 103 (SkFunctionParamType) SkType_Float, // random 139 SK_MEMBER_FUNCTION(random, Float), 211 case SK_FUNCTION(random):
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
KeyAgreementTest.java | 468 SecureRandom random = new SecureRandom(); local 494 kAgs[i].init(privKey, dhPs, random); 501 * <code>init(Key key, SecureRandom random)</code> 503 * <code>init(Key key, AlgorithmParameterSpec params, SecureRandom random)</code> 542 SecureRandom random = null; local 558 kAgs[i].init(publKey, random); 583 * <code>init(Key key, AlgorithmParameterSpec params, SecureRandom random)</code> 610 SecureRandom random = null; local 627 kAgs[i].init(privKey, dsa, random); 637 * <code>init(Key key, SecureRandom random)</code 694 SecureRandom random = new SecureRandom(); local 784 SecureRandom random = new SecureRandom(); local [all...] |
/libcore/luni/src/main/java/java/lang/ |
Math.java | 20 import java.util.Random; 38 private static Random random; field in class:Math 953 * Returns a pseudo-random double {@code n}, where {@code n >= 0.0 && n < 1.0}. 954 * This method reuses a single instance of {@link java.util.Random}. 955 * This method is thread-safe because access to the {@code Random} is synchronized, 957 * allocating a {@code Random} for each of their threads. 959 * @return a pseudo-random number. 961 public static synchronized double random() method in class:Math [all...] |
StrictMath.java | 49 private static java.util.Random random; field in class:StrictMath 692 * Returns a pseudo-random number between 0.0 (inclusive) and 1.0 695 * @return a pseudo-random number. 697 public static double random() { method in class:StrictMath 698 return Math.random(); [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseCursorTest.java | 23 import java.util.Random; 321 Random random = new Random(System.currentTimeMillis()); local 324 randomString.append((random.nextInt() & 0xf) % 10); 509 Random random = new Random(System.currentTimeMillis()); local 512 randomString.append((random.nextInt() & 0xf) % 10); 541 Random random = new Random(System.currentTimeMillis()) local [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseCursorTest.java | 42 import java.util.Random; 300 Random random = new Random(System.currentTimeMillis()); local 303 randomString.append((random.nextInt() & 0xf) % 10); 484 Random random = new Random(System.currentTimeMillis()); local 487 randomString.append((random.nextInt() & 0xf) % 10); 517 Random random = new Random(System.currentTimeMillis()) local [all...] |
/development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/ |
AccelerometerPlayActivity.java | 157 final float r = ((float) Math.random() - 0.5f) * 0.2f; 294 dx += ((float) Math.random() - 0.5f) * 0.0001f; 295 dy += ((float) Math.random() - 0.5f) * 0.0001f;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PathEffects.java | 105 p.lineTo(i*20, (float)Math.random() * 35);
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
List8.java | 126 int whichPhoto = (int)Math.round(Math.random() * (mPhotoPool.length - 1));
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
JDKKeyStore.java | 90 protected SecureRandom random = new SecureRandom(); field in class:JDKKeyStore 138 random.setSeed(System.currentTimeMillis()); 139 random.nextBytes(salt); 141 int iterationCount = MIN_ITERATIONS + (random.nextInt() & 0x3ff); 484 this.random = rand; 876 int iterationCount = MIN_ITERATIONS + (random.nextInt() & 0x3ff); 878 random.nextBytes(salt); 1007 int iterationCount = MIN_ITERATIONS + (random.nextInt() & 0x3ff); 1009 random.nextBytes(salt);
|
/frameworks/base/tests/CoreTests/android/core/ |
MiscRegressionTest.java | 34 import java.util.Random; 368 Random random = new Random(42); // Seed makes test reproducible local 377 // Totally random content 378 random.nextBytes(input); 380 // Random contents with longer repetitions 383 byte what = (byte)random.nextInt(256); 384 int howMany = random.nextInt(32);
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
MimeMultipart.java | 62 sb.append(Integer.toString((int)(Math.random() * 35), 36));
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
FallRS.java | 120 final int x = width / 4 + (int)(Math.random() * (width / 2)); 121 final int y = worldState.height / 4 + (int)(Math.random() * (worldState.height / 2)); 241 mWorldState.skySpeedX = random(-0.001f, 0.001f); 242 mWorldState.skySpeedY = random(0.00008f, 0.0002f);
|
/external/apache-http/src/org/apache/http/conn/ssl/ |
SSLSocketFactory.java | 176 final SecureRandom random, 193 this.sslcontext.init(keymanagers, trustmanagers, random);
|
/external/chromium/third_party/icu/source/test/intltest/ |
intltest.h | 130 * Returns a uniform random value x, with 0.0 <= x < 1.0. Use 138 static float random(int32_t* seedp); 143 static float random();
|
/external/icu4c/test/intltest/ |
intltest.h | 132 * Returns a uniform random value x, with 0.0 <= x < 1.0. Use 140 static float random(int32_t* seedp); 145 static float random();
|