/libcore/luni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicStampedReference.java | 35 private volatile Pair<V> pair; field in AtomicStampedReference 45 pair = Pair.of(initialRef, initialStamp); in AtomicStampedReference() 54 return pair.reference; in getReference() 63 return pair.stamp; in getStamp() 75 Pair<V> pair = this.pair; in get() local 76 stampHolder[0] = pair.stamp; in get() 77 return pair.reference; in get() 120 Pair<V> current = pair; in compareAndSet() 136 Pair<V> current = pair; in set() 138 this.pair = Pair.of(newReference, newStamp); in set() [all …]
|
D | AtomicMarkableReference.java | 35 private volatile Pair<V> pair; field in AtomicMarkableReference 45 pair = Pair.of(initialRef, initialMark); in AtomicMarkableReference() 54 return pair.reference; in getReference() 63 return pair.mark; in isMarked() 75 Pair<V> pair = this.pair; in get() local 76 markHolder[0] = pair.mark; in get() 77 return pair.reference; in get() 120 Pair<V> current = pair; in compareAndSet() 136 Pair<V> current = pair; in set() 138 this.pair = Pair.of(newReference, newMark); in set() [all …]
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | TzIDOldMapping.java | 64 for (String[] pair : oldmap) { 65 MAP.put(pair[0], pair[1]); in MAP.put()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | CertificateValidity.java | 155 DerOutputStream pair = new DerOutputStream(); in encode() local 158 pair.putUTCTime(notBefore); in encode() 160 pair.putGeneralizedTime(notBefore); in encode() 163 pair.putUTCTime(notAfter); in encode() 165 pair.putGeneralizedTime(notAfter); in encode() 168 seq.write(DerValue.tag_Sequence, pair); in encode()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | X509CertificatePair.java | 142 X509CertificatePair pair = cache.get(key); in generateCertificatePair() local 143 if (pair != null) { in generateCertificatePair() 144 return pair; in generateCertificatePair() 146 pair = new X509CertificatePair(encoded); in generateCertificatePair() 147 key = new Cache.EqualByteArray(pair.encoded); in generateCertificatePair() 148 cache.put(key, pair); in generateCertificatePair() 149 return pair; in generateCertificatePair()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Signer.java | 132 public final void setKeyPair(KeyPair pair) in setKeyPair() argument 135 final PublicKey pub = pair.getPublic(); in setKeyPair() 136 PrivateKey priv = pair.getPrivate(); in setKeyPair()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLEngineTest.java | 211 TestSSLEnginePair pair = null; in test_SSLEngine_getSupportedCipherSuites_connect() local 213 pair = TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() { in test_SSLEngine_getSupportedCipherSuites_connect() 220 assertConnected(pair); in test_SSLEngine_getSupportedCipherSuites_connect() 228 pair.client, pair.server, needsRecordSplit); in test_SSLEngine_getSupportedCipherSuites_connect() 230 pair.server, pair.client, needsRecordSplit); in test_SSLEngine_getSupportedCipherSuites_connect() 232 if (pair != null) { in test_SSLEngine_getSupportedCipherSuites_connect() 233 pair.close(); in test_SSLEngine_getSupportedCipherSuites_connect() 542 TestSSLEnginePair pair = TestSSLEnginePair.create(null); in test_SSLEngine_setUseClientMode_afterHandshake() local 544 pair.server.setUseClientMode(false); in test_SSLEngine_setUseClientMode_afterHandshake() 549 pair.client.setUseClientMode(false); in test_SSLEngine_setUseClientMode_afterHandshake() [all …]
|
D | SSLSessionContextTest.java | 238 for (SSLSocket[] pair : toClose) { in test_SSLSessionContext_setSessionCacheSize_dynamic() 239 for (SSLSocket s : pair) { in test_SSLSessionContext_setSessionCacheSize_dynamic()
|
D | SSLSocketTest.java | 174 SSLSocket[] pair = TestSSLSocketPair.connect(c, in test_SSLSocket_getSupportedCipherSuites_connect() local 178 SSLSocket server = pair[0]; in test_SSLSocket_getSupportedCipherSuites_connect() 179 SSLSocket client = pair[1]; in test_SSLSocket_getSupportedCipherSuites_connect() 748 TestSSLSocketPair pair = TestSSLSocketPair.create(); in test_SSLSocket_setUseClientMode_afterHandshake() local 750 pair.server.setUseClientMode(false); in test_SSLSocket_setUseClientMode_afterHandshake() 755 pair.client.setUseClientMode(false); in test_SSLSocket_setUseClientMode_afterHandshake() 1091 TestSSLSocketPair pair = TestSSLSocketPair.create(); in test_SSLSocket_close() local 1092 SSLSocket server = pair.server; in test_SSLSocket_close() 1093 SSLSocket client = pair.client; in test_SSLSocket_close() 1179 pair.close(); in test_SSLSocket_close()
|
/libcore/ojluni/src/main/java/sun/security/ssl/ |
D | SignatureAndHashAlgorithm.java | 220 SignatureAndHashAlgorithm pair = in supports() local 222 if (supportedMap.put(pair.id, pair) != null) { in supports() 225 pair.id); in supports() 227 if (priorityMap.put(pair.priority, pair) != null) { in supports() 230 pair.priority); in supports()
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | MimeTable.java | 319 String pair = tokenizer.nextToken(); 320 parse(pair, newEntry); 326 void parse(String pair, MimeEntry entry) { 332 StringTokenizer tokenizer = new StringTokenizer(pair, "=");
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 991 for (String[] pair : AndroidHardcodedSystemProperties.STATIC_PROPERTIES) { in initUnchangeableSystemProperties() 992 if (p.containsKey(pair[0])) { in initUnchangeableSystemProperties() 993 logE("Ignoring command line argument: -D" + pair[0]); in initUnchangeableSystemProperties() 995 if (pair[1] == null) { in initUnchangeableSystemProperties() 996 p.remove(pair[0]); in initUnchangeableSystemProperties() 998 p.put(pair[0], pair[1]); in initUnchangeableSystemProperties()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | KeyPairGeneratorTest.java | 438 KeyPair pair = kpg.generateKeyPair(); in testDSAGeneratorWithParams() local 439 DSAPrivateKey privKey = (DSAPrivateKey) pair.getPrivate(); in testDSAGeneratorWithParams() 440 DSAPublicKey pubKey = (DSAPublicKey) pair.getPublic(); in testDSAGeneratorWithParams()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 332 KeyPair pair = kpg.generateKeyPair(); in verify() local 333 PublicKey invalidKey = pair.getPublic(); in verify()
|