/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r5/platforms/android-8/arch-arm/usr/include/ |
stdlib.h | 123 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r5/platforms/android-9/arch-arm/usr/include/ |
stdlib.h | 123 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/ |
stdlib.h | 122 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r6/platforms/android-8/arch-arm/usr/include/ |
stdlib.h | 123 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r6/platforms/android-8/arch-x86/usr/include/ |
stdlib.h | 123 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-arm/usr/include/ |
stdlib.h | 123 static __inline__ long random(void) function
|
/prebuilt/ndk/android-ndk-r6/platforms/android-9/arch-x86/usr/include/ |
stdlib.h | 123 static __inline__ long random(void) function
|
/development/samples/ApiDemos/src/com/example/android/apis/animation/ |
AnimationCloning.java | 113 int red = (int)(100 + Math.random() * 155); 114 int green = (int)(100 + Math.random() * 155); 115 int blue = (int)(100 + Math.random() * 155);
|
AnimationLoading.java | 137 int red = (int)(100 + Math.random() * 155); 138 int green = (int)(100 + Math.random() * 155); 139 int blue = (int)(100 + Math.random() * 155);
|
AnimatorEvents.java | 177 int red = (int)(Math.random() * 255); 178 int green = (int)(Math.random() * 255); 179 int blue = (int)(Math.random() * 255);
|
BouncingBalls.java | 159 int red = (int)(Math.random() * 255); 160 int green = (int)(Math.random() * 255); 161 int blue = (int)(Math.random() * 255);
|
MultiPropertyAnimation.java | 150 int red = (int)(100 + Math.random() * 155); 151 int green = (int)(100 + Math.random() * 155); 152 int blue = (int)(100 + Math.random() * 155);
|
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/ |
CipherSpiTest.java | 254 protected void engineInit(int opmode, Key key, SecureRandom random) 259 AlgorithmParameterSpec params, SecureRandom random) 264 SecureRandom random) throws InvalidKeyException,
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/asymmetric/ec/ |
Signature.java | 87 SecureRandom random) 103 if (random != null) 105 signer.init(true, new ParametersWithRandom(param, random));
|
/external/chromium/chrome/browser/sync/util/ |
nigori.cc | 162 // TODO(albertb): Use a secure random function. 163 std::string random(size, 0); 165 random[i] = RandInt(0, 0xff); 166 return random;
|
/external/clang/test/CodeGen/ |
builtins.c | 17 int random(void); 20 int N = random(); 90 int a, b, n = random(); // Avoid optimizing out.
|
/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):
|
/external/chromium/crypto/ |
symmetric_key_win.cc | 96 // Attempts to generate a random AES key of |key_size_in_bits|. Returns true 162 // Attempts to generate a random, |key_size_in_bits|-long HMAC key, for use 188 scoped_array<BYTE> random(new BYTE[key_size_in_bytes]); 189 ok = CryptGenRandom(safe_provider, key_size_in_bytes, random.get()); 194 bool rv = ImportRawKey(safe_provider, CALG_HMAC, random.get(), 199 raw_key->swap(random); 202 SecureZeroMemory(random.get(), key_size_in_bytes);
|
/libcore/luni/src/main/java/java/lang/ |
Math.java | 20 import java.util.Random; 38 private static Random random; field in class:Math 937 * Returns a pseudo-random double {@code n}, where {@code n >= 0.0 && n < 1.0}. 938 * This method reuses a single instance of {@link java.util.Random}. 939 * This method is thread-safe because access to the {@code Random} is synchronized, 941 * allocating a {@code Random} for each of their threads. 943 * @return a pseudo-random number. 945 public static synchronized double random() { method in class:Math 946 if (random == null) [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
DatabaseCursorTest.java | 40 import java.util.Random; 263 Random random = new Random(System.currentTimeMillis()); local 266 randomString.append((random.nextInt() & 0xf) % 10); 351 Random random = new Random(System.currentTimeMillis()); local 354 randomString.append((random.nextInt() & 0xf) % 10); 383 Random random = new Random(System.currentTimeMillis()) local [all...] |
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseCursorTest.java | 42 import java.util.Random; 244 Random random = new Random(System.currentTimeMillis()); local 247 randomString.append((random.nextInt() & 0xf) % 10); 325 Random random = new Random(System.currentTimeMillis()); local 328 randomString.append((random.nextInt() & 0xf) % 10); 358 Random random = new Random(System.currentTimeMillis()) local [all...] |
/packages/experimental/StrictModeTest/src/com/android/strictmodetest/ |
StrictModeActivity.java | 164 // Now try a random hostname to evade libcore's 167 String random = "" + Math.random(); 168 random = random.substring(random.indexOf(".") + 1); 169 String domain = random + ".livejournal.com"; 171 Log.d(TAG, "for random domain " + domain + ": " + addr);
|
/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;
|