Home
last modified time | relevance | path

Searched refs:pair (Results 1 – 7 of 7) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/atomic/
DAtomicMarkableReference.java64 private volatile Pair<V> pair; field in AtomicMarkableReference
74 pair = Pair.of(initialRef, initialMark); in AtomicMarkableReference()
83 return pair.reference; in getReference()
92 return pair.mark; in isMarked()
104 Pair<V> pair = this.pair; in get() local
105 markHolder[0] = pair.mark; in get()
106 return pair.reference; in get()
149 Pair<V> current = pair; in compareAndSet()
165 Pair<V> current = pair; in set()
167 this.pair = Pair.of(newReference, newMark); in set()
[all …]
DAtomicStampedReference.java64 private volatile Pair<V> pair; field in AtomicStampedReference
74 pair = Pair.of(initialRef, initialStamp); in AtomicStampedReference()
83 return pair.reference; in getReference()
92 return pair.stamp; in getStamp()
104 Pair<V> pair = this.pair; in get() local
105 stampHolder[0] = pair.stamp; in get()
106 return pair.reference; in get()
149 Pair<V> current = pair; in compareAndSet()
165 Pair<V> current = pair; in set()
167 this.pair = Pair.of(newReference, newStamp); in set()
[all …]
/libcore/ojluni/src/main/java/sun/security/x509/
DCertificateValidity.java155 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/
DX509CertificatePair.java142 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/
DSigner.java132 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/ojluni/src/main/java/java/lang/
DSystem.java1013 for (String[] pair : AndroidHardcodedSystemProperties.STATIC_PROPERTIES) { in initUnchangeableSystemProperties()
1014 if (p.containsKey(pair[0])) { in initUnchangeableSystemProperties()
1015 logE("Ignoring command line argument: -D" + pair[0]); in initUnchangeableSystemProperties()
1017 if (pair[1] == null) { in initUnchangeableSystemProperties()
1018 p.remove(pair[0]); in initUnchangeableSystemProperties()
1020 p.put(pair[0], pair[1]); in initUnchangeableSystemProperties()
/libcore/luni/src/test/java/libcore/java/security/cert/
DX509CertificateTest.java348 KeyPair pair = kpg.generateKeyPair(); in verify() local
349 PublicKey invalidKey = pair.getPublic(); in verify()