/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
SecureRandom2Test.java | 38 SecureRandom sr1 = new SecureRandom(); local 39 assertNotNull(sr1.getProvider()); 308 SecureRandom sr1 = SecureRandom.getInstance("SHA1PRNG", "Crypto"); local 309 sr1.setSeed(seed1); 315 assertTrue(sr1.nextLong() == sr2.nextLong()); 331 SecureRandom sr1 = SecureRandom.getInstance("SHA1PRNG", "Crypto"); local 332 sr1.setSeed(seed1); 335 assertEquals(6180693691264871500l, sr1.nextLong()); 346 SecureRandom sr1 = SecureRandom.getInstance("SHA1PRNG"); local 347 sr1.nextInt() [all...] |
/external/clang/test/SemaCXX/ |
atomic-type.cxx | 38 short &sr1 = ovl1(a); local
|
overloaded-builtin-operators.cpp | 87 short& sr1 = (sr *= lr); local
|
/libcore/luni/src/test/java/libcore/java/security/ |
SecureRandomTest.java | 48 SecureRandom sr1 = SecureRandom.getInstance(algorithm); local 49 assertEquals(algorithm, sr1.getAlgorithm()); 50 test_SecureRandom(sr1); 104 SecureRandom sr1 = new SecureRandom(); local 105 assertEquals(EXPECTED_PROVIDER, sr1.getProvider().getClass().getName()); 106 test_SecureRandom(sr1);
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1PRNG_SecureRandomTest.java | 194 SecureRandom sr1; // these are needed to test new SecureRandom objects in loop local 202 sr1 = SecureRandom.getInstance(algorithm, provider); 210 sr1.nextBytes(myBytes1); 217 sr1.nextBytes(myBytes1); 247 SecureRandom sr1; // these are needed to test new SecureRandom objects in loop local 257 sr1 = SecureRandom.getInstance(algorithm, provider); 260 sr1.nextBytes(new byte[0]); 268 sr1.nextBytes(myBytes1); 275 sr1.nextBytes(myBytes1); 295 sr1 = SecureRandom.getInstance(algorithm, provider) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/provider/crypto/ |
SHA1PRNG_SecureRandomTest.java | 185 SecureRandom sr1; local 192 sr1 = SecureRandom.getInstance(algorithm, provider); 200 sr1.nextBytes(myBytes1); 207 sr1.nextBytes(myBytes1); 239 SecureRandom sr1; local 248 sr1 = SecureRandom.getInstance(algorithm, provider); 251 sr1.nextBytes(new byte[0]); 259 sr1.nextBytes(myBytes1); 266 sr1.nextBytes(myBytes1); 289 sr1 = SecureRandom.getInstance(algorithm, provider) [all...] |