/libcore/luni/src/main/java/java/util/concurrent/ |
D | DelayQueue.java | 43 private final PriorityQueue<E> q = new PriorityQueue<E>(); field in DelayQueue 109 q.offer(e); in offer() 110 if (q.peek() == e) { in offer() 156 E first = q.peek(); in poll() 160 return q.poll(); in poll() 178 E first = q.peek(); in take() 184 return q.poll(); in take() 200 if (leader == null && q.peek() != null) in take() 222 E first = q.peek(); in poll() 231 return q.poll(); in poll() [all …]
|
D | ConcurrentLinkedDeque.java | 319 for (Node<E> h = head, p = h, q;;) { in linkFirst() 320 if ((q = p.prev) != null && in linkFirst() 321 (q = (p = q).prev) != null) in linkFirst() 324 p = (h != (h = head)) ? h : q; in linkFirst() 352 for (Node<E> t = tail, p = t, q;;) { in linkLast() 353 if ((q = p.next) != null && in linkLast() 354 (q = (p = q).next) != null) in linkLast() 357 p = (t != (t = tail)) ? t : q; in linkLast() 424 Node<E> q = p.prev; in unlink() local 425 if (q == null) { in unlink() [all …]
|
D | ConcurrentLinkedQueue.java | 284 Node<E> q = p.next; in offer() local 285 if (q == null) { in offer() 297 else if (p == q) in offer() 305 p = (p != t && t != (t = tail)) ? t : q; in offer() 312 for (Node<E> h = head, p = h, q;;) { in poll() 319 updateHead(h, ((q = p.next) != null) ? q : p); in poll() 322 else if ((q = p.next) == null) { in poll() 326 else if (p == q) in poll() 329 p = q; in poll() 337 for (Node<E> h = head, p = h, q;;) { in peek() [all …]
|
D | ConcurrentSkipListMap.java | 666 Index<K,V> q = head; in findPredecessor() local 667 Index<K,V> r = q.right; in findPredecessor() 673 if (!q.unlink(r)) in findPredecessor() 675 r = q.right; // reread r in findPredecessor() 679 q = r; in findPredecessor() 684 Index<K,V> d = q.down; in findPredecessor() 686 q = d; in findPredecessor() 689 return q.node; in findPredecessor() 931 Index<K,V> q = h; in addIndex() local 932 Index<K,V> r = q.right; in addIndex() [all …]
|
D | ThreadPoolExecutor.java | 811 BlockingQueue<Runnable> q = workQueue; in drainQueue() local 813 q.drainTo(taskList); in drainQueue() 814 if (!q.isEmpty()) { in drainQueue() 815 for (Runnable r : q.toArray(new Runnable[0])) { in drainQueue() 816 if (q.remove(r)) in drainQueue() 1688 final BlockingQueue<Runnable> q = workQueue; in purge() local 1690 Iterator<Runnable> it = q.iterator(); in purge() 1700 for (Object r : q.toArray()) in purge() 1702 q.remove(r); in purge()
|
/libcore/luni/src/main/java/java/security/spec/ |
D | DSAParameterSpec.java | 30 private final BigInteger q; field in DSAParameterSpec 45 public DSAParameterSpec(BigInteger p, BigInteger q, BigInteger g) { in DSAParameterSpec() argument 47 this.q = q; in DSAParameterSpec() 75 return q; in getQ()
|
D | DSAPrivateKeySpec.java | 31 private final BigInteger q; field in DSAPrivateKeySpec 49 BigInteger q, BigInteger g) { in DSAPrivateKeySpec() argument 52 this.q = q; in DSAPrivateKeySpec() 80 return q; in getQ()
|
D | DSAPublicKeySpec.java | 31 private final BigInteger q; field in DSAPublicKeySpec 49 BigInteger q, BigInteger g) { in DSAPublicKeySpec() argument 52 this.q = q; in DSAPublicKeySpec() 80 return q; in getQ()
|
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
D | SHA1withDSA_SignatureImpl.java | 80 BigInteger p, q, x; in engineInitSign() local 90 q = params.getQ(); in engineInitSign() 98 if (q.signum() != 1 && q.bitLength() != 160) { in engineInitSign() 101 if (x.signum() != 1 || x.compareTo(q) != -1) { in engineInitSign() 123 BigInteger p, q, y; in engineInitVerify() local 133 q = params.getQ(); in engineInitVerify() 141 if (q.signum() != 1 || q.bitLength() != 160) { in engineInitVerify() 190 BigInteger p, q, g, x; in engineSign() local 211 q = params.getQ(); in engineSign() 226 if (k.compareTo(q) != -1) { in engineSign() [all …]
|
D | ThreeIntegerSequence.java | 33 byte[] p, q, g; field in ThreeIntegerSequence 37 ThreeIntegerSequence(byte[] p, byte[] q, byte[] g) { in ThreeIntegerSequence() argument 40 this.q = q; in ThreeIntegerSequence() 69 values[1] = mySeq.q;
|
D | DSAPrivateKeyImpl.java | 55 private BigInteger x, g, p, q; field in DSAPrivateKeyImpl 72 q = keySpec.getQ(); in DSAPrivateKeyImpl() 75 .toByteArray(), q.toByteArray(), g.toByteArray()); in DSAPrivateKeyImpl() 87 params = new DSAParameterSpec(p, q, g); in DSAPrivateKeyImpl() 133 q = new BigInteger(threeInts.q); in DSAPrivateKeyImpl() 135 params = new DSAParameterSpec(p, q, g); in DSAPrivateKeyImpl() 156 params = new DSAParameterSpec(p, q, g); in readObject()
|
D | DSAPublicKeyImpl.java | 57 private BigInteger y, g, p, q; field in DSAPublicKeyImpl 73 q = keySpec.getQ(); in DSAPublicKeyImpl() 77 .toByteArray(), q.toByteArray(), g.toByteArray()); in DSAPublicKeyImpl() 89 params = (DSAParams) (new DSAParameterSpec(p, q, g)); in DSAPublicKeyImpl() 136 q = new BigInteger(threeInts.q); in DSAPublicKeyImpl() 138 params = (DSAParams) (new DSAParameterSpec(p, q, g)); in DSAPublicKeyImpl() 168 params = new DSAParameterSpec(p, q, g); in readObject()
|
D | DSAKeyFactoryImpl.java | 114 BigInteger p, q, g, x, y; in engineGetKeySpec() local 130 q = params.getQ(); in engineGetKeySpec() 133 return (T) (new DSAPrivateKeySpec(x, p, q, g)); in engineGetKeySpec() 153 q = params.getQ(); in engineGetKeySpec() 156 return (T) (new DSAPublicKeySpec(y, p, q, g)); in engineGetKeySpec()
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
D | DSAParamsTest.java | 27 private final BigInteger q = BigInteger.TEN; field in DSAParamsTest 35 DSAParams params = new DSAParameterSpec(p, q, g); in test_getG() 44 DSAParams params = new DSAParameterSpec(p, q, g); in test_getP() 53 DSAParams params = new DSAParameterSpec(p, q, g); in test_getQ() 54 assertEquals("Invalid Q", q, params.getQ()); in test_getQ()
|
D | DSAKeyPairGeneratorTest.java | 33 private final BigInteger q = BigInteger.TEN; field in DSAKeyPairGeneratorTest 48 DSAParams dsaParams = new DSAParameterSpec(p, q, g); in test_DSAKeyPairGenerator01() 87 DSAParams dsaParams = new DSAParameterSpec(p, q, g); in test_DSAKeyPairGenerator02()
|
/libcore/luni/src/main/java/java/lang/ |
D | IntegralToString.java | 150 int q = i / radix; in intToString() 151 buf[--cursor] = DIGITS[radix * q - i]; in intToString() 152 i = q; in intToString() 222 int q = (int) ((0x51EB851FL * i) >>> 37); 223 int r = i - 100*q; 226 i = q; 232 int q = (0xCCCD * i) >>> 19; 233 int r = i - 10*q; 235 i = q; 284 long q = v / radix; [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
D | OpenSSLDSAParams.java | 33 private BigInteger q; field in OpenSSLDSAParams 55 q = new BigInteger(params[2]); in ensureReadParams() 81 return q; in getQ() 119 return g.equals(other.getG()) && p.equals(other.getP()) && q.equals(other.getQ()); in equals() 126 return g.hashCode() ^ p.hashCode() ^ q.hashCode(); in hashCode() 139 sb.append(q.toString(16)); in toString()
|
D | OpenSSLDSAKeyFactory.java | 98 BigInteger q = params.getQ(); in engineGetKeySpec() local 101 return (T) new DSAPublicKeySpec(y, p, q, g); in engineGetKeySpec() 115 BigInteger q = params.getQ(); in engineGetKeySpec() local 118 return (T) new DSAPrivateKeySpec(x, p, q, g); in engineGetKeySpec() 142 BigInteger q = params.getQ(); in engineTranslateKey() local 146 return engineGeneratePublic(new DSAPublicKeySpec(y, p, q, g)); in engineTranslateKey() 157 BigInteger q = params.getQ(); in engineTranslateKey() local 161 return engineGeneratePublic(new DSAPrivateKeySpec(x, p, q, g)); in engineTranslateKey()
|
D | OpenSSLDSAKeyPairGenerator.java | 37 private byte[] q; field in OpenSSLDSAKeyPairGenerator 50 q)); in generateKeyPair() 84 q = qInt.toByteArray(); in initialize()
|
/libcore/luni/src/main/java/java/lang/ref/ |
D | PhantomReference.java | 59 public PhantomReference(T r, ReferenceQueue<? super T> q) { in PhantomReference() argument 60 super(r, q); in PhantomReference()
|
D | WeakReference.java | 107 public WeakReference(T r, ReferenceQueue<? super T> q) { in WeakReference() argument 108 super(r, q); in WeakReference()
|
D | SoftReference.java | 99 public SoftReference(T r, ReferenceQueue<? super T> q) { in SoftReference() argument 100 super(r, q); in SoftReference()
|
D | Reference.java | 85 Reference(T r, ReferenceQueue q) { in Reference() argument 87 queue = q; in Reference()
|
D | FinalizerReference.java | 33 public FinalizerReference(T r, ReferenceQueue<? super T> q) { in FinalizerReference() argument 34 super(r, q); in FinalizerReference()
|
/libcore/luni/src/test/java/tests/api/java/lang/ref/ |
D | PhantomReferenceTest.java | 54 ReferenceQueue<? super T> q) { in test_gcInteraction() argument 55 super(referent, q); in test_gcInteraction()
|