/libcore/ojluni/src/main/java/java/util/concurrent/atomic/ |
D | AtomicStampedReference.java | 67 private volatile Pair<V> pair; field in AtomicStampedReference 77 pair = Pair.of(initialRef, initialStamp); in AtomicStampedReference() 86 return pair.reference; in getReference() 95 return pair.stamp; in getStamp() 107 Pair<V> pair = this.pair; in get() local 108 stampHolder[0] = pair.stamp; in get() 109 return pair.reference; in get() 150 Pair<V> current = pair; in compareAndSet() 166 Pair<V> current = pair; in set() 168 this.pair = Pair.of(newReference, newStamp); in set() [all …]
|
D | AtomicMarkableReference.java | 67 private volatile Pair<V> pair; field in AtomicMarkableReference 77 pair = Pair.of(initialRef, initialMark); in AtomicMarkableReference() 86 return pair.reference; in getReference() 95 return pair.mark; in isMarked() 107 Pair<V> pair = this.pair; in get() local 108 markHolder[0] = pair.mark; in get() 109 return pair.reference; in get() 150 Pair<V> current = pair; in compareAndSet() 166 Pair<V> current = pair; in set() 168 this.pair = Pair.of(newReference, newMark); in set() [all …]
|
/libcore/ojluni/src/test/java/util/Collections/ |
D | NCopies.java | 118 for (int[] pair : sizePairs) { 120 boolean equal = pair[0] == pair[1]; 121 … String msg = "[" + pair[0] + ", " + element + "] <=> [" + pair[1] + ", " + element + "]"; 122 …check(equal == Collections.nCopies(pair[0], element).equals(Collections.nCopies(pair[1], element))… 123 …check(equal == Collections.nCopies(pair[0], element).equals(referenceNCopies(pair[1], element)), m… 124 …check(equal == referenceNCopies(pair[0], element).equals(Collections.nCopies(pair[1], element)), m…
|
/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 | 134 public final void setKeyPair(KeyPair pair) in setKeyPair() argument 137 final PublicKey pub = pair.getPublic(); in setKeyPair() 138 PrivateKey priv = pair.getPrivate(); in setKeyPair()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 1106 for (String[] pair : AndroidHardcodedSystemProperties.STATIC_PROPERTIES) { in initUnchangeableSystemProperties() 1107 if (p.containsKey(pair[0])) { in initUnchangeableSystemProperties() 1108 logE("Ignoring command line argument: -D" + pair[0]); in initUnchangeableSystemProperties() 1110 if (pair[1] == null) { in initUnchangeableSystemProperties() 1111 p.remove(pair[0]); in initUnchangeableSystemProperties() 1113 p.put(pair[0], pair[1]); in initUnchangeableSystemProperties()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | X509CertificateTest.java | 348 KeyPair pair = kpg.generateKeyPair(); in verify() local 349 PublicKey invalidKey = pair.getPublic(); in verify()
|
/libcore/ojluni/src/test/java/util/Arrays/ |
D | Sorting.java | 2039 public int compareTo(Pair pair) { 2040 return Integer.compare(key, pair.key);
|
/libcore/ojluni/src/main/java/java/nio/charset/ |
D | Charset-X-Coder.java.template | 982 * are members of a pair consisting of a high surrogate followed by a low
|