Home
last modified time | relevance | path

Searched defs:sr (Results 1 – 25 of 31) sorted by relevance

12

/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java62 MySecureRandom sr = new MySecureRandom(); in testNext() local
72 SecureRandom sr = new SecureRandom(); in testSetSeedlong() local
81 SecureRandom sr = new SecureRandom(); in testNextBytes() local
101 SecureRandom sr = new SecureRandom(); in testSecureRandom() local
126 SecureRandom sr = null; in testGetInstanceString() local
141 SecureRandom sr = SecureRandom.getInstance("someRandom", "SRProvider"); in testGetInstanceStringString() local
204 SecureRandom sr = SecureRandom.getInstance("someRandom", p); in testGetInstanceStringProvider() local
251 SecureRandom sr = new SecureRandom(); in testSetSeedbyteArray() local
267 SecureRandom sr = new SecureRandom(); in testGenerateSeed() local
/libcore/luni/src/test/java/libcore/java/security/
DSecureRandomTest.java77 private void test_SecureRandom(SecureRandom sr) throws Exception { in test_SecureRandom()
101 SecureRandom sr = SecureRandom.getInstance("SHA1PRNG"); in testGetCommonInstances_Success() local
136 SecureRandom sr = SecureRandom.getInstance("SHA1PRNG", "Crypto"); in testCryptoProvider_withWorkaround_Success() local
167 SecureRandom sr = SecureRandom.getInstance("SHA1PRNG", "Crypto"); in testCryptoProvider_withoutWorkaround_Failure() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceQueueTest.java50 SoftReference sr = new SoftReference(integer, rq); in run() local
67 SoftReference sr = new SoftReference(b, rq); in test_poll() local
112 SoftReference sr = new SoftReference(b, rq); in test_remove() local
173 SoftReference sr = new SoftReference(b, rq); in test_removeJ() local
DSoftReferenceTest.java41 SoftReference sr = new SoftReference(bool, rq); in test_ConstructorLjava_lang_ObjectLjava_lang_ref_ReferenceQueue() local
63 SoftReference sr = new SoftReference(bool); in test_ConstructorLjava_lang_Object() local
76 SoftReference sr = new SoftReference(bool); in test_get() local
DReferenceTest.java69 SoftReference sr = new SoftReference(tmpA, new ReferenceQueue()); in test_clear() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/
DInputSourceTest.java73 StringReader sr = new StringReader("Hello, world."); in testInputSourceReader() local
145 StringReader sr = new StringReader("Hello, world."); in testSetCharacterStreamGetCharacterStream() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DStringReaderTest.java27 StringReader sr; field in StringReaderTest
155 final StringReader sr = new StringReader(anything); in test_synchronization() local
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/
DIntSliceOpTest.java143 Collection<Integer> sr = exerciseOps(data, st -> st.skip(s)); in testSkipOps() local
160 Collection<Integer> sr = exerciseOps(data, st -> st.skip(s).limit(limit)); in testSkipLimitOps() local
175 Collection<Integer> sr = exerciseOps(data, st -> st.limit(limit)); in testLimitOps() local
/libcore/luni/src/test/java/libcore/java/io/
DOldStringReaderTest.java27 StringReader sr; field in OldStringReaderTest
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLContextSpiTest.java169 SecureRandom sr = SecureRandom.getInstance("SHA1PRNG"); in test_engineInit() local
208 SecureRandom sr = SecureRandom.getInstance("SHA1PRNG"); in test_commonTest_02() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
DCipherSymmetricKeyThread.java38 SecureRandom sr = new SecureRandom(); in crypt() local
DCipherPBEThread.java40 SecureRandom sr = new SecureRandom(); in crypt() local
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DSSLContextSpiImpl.java22 SecureRandom sr) throws KeyManagementException { in engineInit()
DMySSLContextSpi.java44 SecureRandom sr) throws KeyManagementException { in engineInit()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecureRandom2Test.java99 MySecureRandom sr = new MySecureRandom(new MySecureRandomSpi(), p); in test_ConstructorLjava_security_SecureRandomSpi_java_security_Provider() local
264 SecureRandom sr = new SecureRandom(spi, null) { in test_getAlgorithm() local
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLContextSpi.java53 SecureRandom sr) throws KeyManagementException; in engineInit()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/
DOldSHA1PRNGSecureRandomTest.java38 private static SecureRandom sr; // fields used by tests field in OldSHA1PRNGSecureRandomTest
/libcore/ojluni/src/main/java/java/util/stream/
DAbstractShortCircuitTask.java107 AtomicReference<R> sr = sharedResult; in compute() local
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DStreamReuseTest.java48 U sr = second.apply(stream); in assertSecondFails() local
66 U sr = second.apply(stream); in assertSecondFails() local
/libcore/ojluni/src/main/java/java/util/
DXMLUtils.java178 StreamResult sr = new StreamResult(os); in emitDocument() local
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DKeyGeneratorTest.java506 SecureRandom sr = new SecureRandom(); in test_initLjava_security_spec_AlgorithmParameterSpec() local
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMySSLContextSpi.java46 SecureRandom sr) throws KeyManagementException { in engineInit()
/libcore/ojluni/src/main/java/sun/security/ssl/
DHandshakeMessage.java591 RandomCookie clntNonce, RandomCookie svrNonce, SecureRandom sr) in RSA_ServerKeyExchange()
718 byte svrNonce[], SecureRandom sr, in DH_ServerKeyExchange()
985 byte[] clntNonce, byte[] svrNonce, SecureRandom sr, in ECDH_ServerKeyExchange()
1542 SecretKey masterSecret, SecureRandom sr, in CertificateVerify()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSPResponse.java411 SingleResponse sr = getSingleResponse(certId); in verify() local
/libcore/ojluni/src/main/java/java/lang/
DStringCoding.java64 SoftReference<T> sr = tl.get(); in deref() local

12