/libcore/ojluni/src/main/java/java/util/ |
D | ArrayDeque.java | 113 transient int tail; field in ArrayDeque 152 assert head == tail; in doubleCapacity() local 164 tail = n; in doubleCapacity() 214 if (head == tail) in addFirst() 229 elements[tail] = e; in addLast() 230 if ( (tail = (tail + 1) & (elements.length - 1)) == head) in addLast() 293 final int t = (tail - 1) & (elements.length - 1); in pollLast() 298 tail = t; in pollLast() 319 E result = (E) elements[(tail - 1) & (elements.length - 1)]; in getLast() 333 return (E) elements[(tail - 1) & (elements.length - 1)]; in peekLast() [all …]
|
D | LinkedHashMap.java | 233 transient LinkedHashMapEntry<K,V> tail; field in LinkedHashMap 247 LinkedHashMapEntry<K,V> last = tail; in linkNodeLast() 248 tail = p; in linkNodeLast() 267 tail = dst; in transferLinks() 276 head = tail = null; in reinitialize() 316 tail = b; in afterNodeRemoval() 331 if (accessOrder && (last = tail) != e) { in afterNodeAccess() 349 tail = p; in afterNodeAccess() 488 head = tail = null; in clear()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestUtils.java | 52 String tail = Integer.toHexString(0x000000ff & data[i]); in printAsHex() local 53 if (tail.length() == 1) { in printAsHex() 54 tail = "0" + tail; in printAsHex() 56 System.out.print(prefix + "0x" + tail + delimiter); in printAsHex()
|
/libcore/ojluni/src/main/java/java/lang/ref/ |
D | ReferenceQueue.java | 47 private Reference<? extends T> tail = null; field in ReferenceQueue 83 if (tail == null) { in enqueueLocked() 86 tail.queueNext = r; in enqueueLocked() 88 tail = r; in enqueueLocked() 89 tail.queueNext = r; in enqueueLocked() 124 if (head == tail) { in reallyPollLocked() 125 tail = null; in reallyPollLocked()
|
/libcore/ojluni/src/main/java/java/util/concurrent/locks/ |
D | AbstractQueuedLongSynchronizer.java | 92 private transient volatile Node tail; field in AbstractQueuedLongSynchronizer 150 Node oldTail = tail; in enq() 173 Node oldTail = tail; in addWaiter() 223 for (Node p = tail; p != node && p != null; p = p.prev) in unparkSuccessor() 250 if (h != null && h != tail) { in doReleaseShared() 331 if (node == tail && compareAndSetTail(node, pred)) { in cancelAcquire() 920 return head != tail; in hasQueuedThreads() 949 return (head == tail) ? null : fullGetFirstQueuedThread(); in getFirstQueuedThread() 981 for (Node p = tail; p != null && p != head; p = p.prev) { in fullGetFirstQueuedThread() 1002 for (Node p = tail; p != null; p = p.prev) in isQueued() [all …]
|
D | AbstractQueuedSynchronizer.java | 560 private transient volatile Node tail; field in AbstractQueuedSynchronizer 616 Node oldTail = tail; in enq() 639 Node oldTail = tail; in addWaiter() 689 for (Node p = tail; p != node && p != null; p = p.prev) in unparkSuccessor() 716 if (h != null && h != tail) { in doReleaseShared() 797 if (node == tail && compareAndSetTail(node, pred)) { in cancelAcquire() 1386 return head != tail; in hasQueuedThreads() 1415 return (head == tail) ? null : fullGetFirstQueuedThread(); in getFirstQueuedThread() 1447 for (Node p = tail; p != null && p != head; p = p.prev) { in fullGetFirstQueuedThread() 1468 for (Node p = tail; p != null; p = p.prev) in isQueued() [all …]
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | ConcurrentLinkedQueue.java | 234 private transient volatile Node<E> tail; field in ConcurrentLinkedQueue 240 head = tail = newNode(null); in ConcurrentLinkedQueue() 266 tail = t; in ConcurrentLinkedQueue() 313 for (Node<E> t = tail, p = t;;) { in offer() 332 p = (t != (t = tail)) ? t : head; in offer() 335 p = (p != t && t != (t = tail)) ? t : q; in offer() 531 for (Node<E> t = tail, p = t;;) { in addAll() 541 t = tail; in addAll() 554 p = (t != (t = tail)) ? t : head; in addAll() 557 p = (p != t && t != (t = tail)) ? t : q; in addAll() [all …]
|
D | SynchronousQueue.java | 597 transient volatile QNode tail; field in SynchronousQueue.TransferQueue 608 tail = h; in TransferQueue() 625 if (tail == t) in advanceTail() 671 QNode t = tail; in transfer() 678 if (t != tail) // inconsistent read in transfer() 708 if (t != tail || m == null || h != head) in transfer() 786 QNode t = tail; // Ensure consistent read for tail in clean() 790 if (t != tail) in clean()
|
D | ConcurrentLinkedDeque.java | 277 private transient volatile Node<E> tail; field in ConcurrentLinkedDeque 388 for (Node<E> t = tail, p = t, q;;) { in linkLast() 393 p = (t != (t = tail)) ? t : q; in linkLast() 634 while ((t = tail).item == null && (p = t.next) != null) { in updateTail() 645 else if (t != tail) in updateTail() 770 for (Node<E> t = tail, p = t, q;;) { in last() 775 p = (t != (t = tail)) ? t : q; in last() 805 head = tail = new Node<E>(null); in ConcurrentLinkedDeque() 849 tail = t; in initHeadTail() 1177 for (Node<E> t = tail, p = t, q;;) { in addAll() [all …]
|
D | LinkedTransferQueue.java | 563 private transient volatile Node tail; field in LinkedTransferQueue 656 for (Node t = tail, p = t;;) { // move p to last node and append in tryAppend() 665 p = p != t && t != (u = tail) ? (t = u) : // stale tail in tryAppend() 671 while ((tail != t || !casTail(t, s)) && in tryAppend() 672 (t = tail) != null && in tryAppend()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | OldTreeMapTest.java | 454 Map tail = tm.tailMap(objArray[900].toString()); in test_tailMapLjava_lang_Object() local 455 assertTrue("Returned map of incorrect size : " + tail.size(), tail in test_tailMapLjava_lang_Object() 458 assertTrue("Map contains incorrect entries", tail in test_tailMapLjava_lang_Object() 486 assertTrue(tail instanceof Serializable); in test_tailMapLjava_lang_Object()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodType.java | 571 int tail = len - end; in dropParameterTypes() local 572 nptypes = Arrays.copyOfRange(ptypes, 0, start + tail); in dropParameterTypes() 573 System.arraycopy(ptypes, end, nptypes, start, tail); in dropParameterTypes()
|
/libcore/support/src/test/java/tests/resources/x509/ |
D | create.sh | 31 SIG_OFFSET=$(openssl asn1parse -in "$DIR/cert-rsa.der" -inform d | tail -1 | cut -f1 -d:) 103 SIG_OFFSET=$(openssl asn1parse -in "$DIR/crl-rsa.der" -inform d | tail -1 | cut -f1 -d:)
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ControlTest.java | 378 String tail = src.getFile().split("hyts_resource")[1]; in copyFile() local 383 String copyName = tmpdir + File.separator + "hyts_resource_copy" + tail; in copyFile()
|
D | TreeMapTest.java | 618 Map tail = tm.tailMap(objArray[900].toString()); in test_tailMapLjava_lang_Object() local 619 assertTrue("Returned map of incorrect size : " + tail.size(), tail in test_tailMapLjava_lang_Object() 622 assertTrue("Map contains incorrect entries", tail in test_tailMapLjava_lang_Object() 627 assertTrue(tail instanceof Serializable); in test_tailMapLjava_lang_Object()
|