Searched refs:casNext (Results 1 - 5 of 5) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DSynchronousQueue.java219 boolean casNext(SNode cmp, SNode val) { method in class:SynchronousQueue.TransferStack.SNode
358 s.casNext(m, mn); // help unlink
370 h.casNext(m, mn); // help unlink
476 p.casNext(n, n.next);
518 boolean casNext(QNode cmp, QNode val) { method in class:SynchronousQueue.TransferQueue.QNode
659 if (!t.casNext(null, s)) // failed to link in
769 if (sn == s || pred.casNext(s, sn))
782 dp.casNext(d, dn))) // d unspliced
H A DConcurrentLinkedQueue.java159 * can only be seen after piggy-backing publication via casNext.
175 static <E> boolean casNext(Node<E> node, Node<E> cmp, Node<E> val) { method in class:ConcurrentLinkedQueue
288 if (casNext(p, null, newNode)) {
462 casNext(pred, p, next);
506 if (casNext(p, null, beginningOfTheEnd)) {
718 casNext(pred, p, q);
H A DLinkedTransferQueue.java429 final boolean casNext(Node cmp, Node val) { method in class:LinkedTransferQueue.Node
440 * only be seen after publication via casNext.
638 else if (!p.casNext(null, s))
927 b.casNext(s, n);
959 p.casNext(s, n);
1118 (n != s && pred.casNext(s, n) && pred.isMatched())) {
1163 p.casNext(s, n);
H A DConcurrentLinkedDeque.java272 * only be seen after publication via casNext or casPrev.
286 boolean casNext(Node<E> cmp, Node<E> val) { method in class:ConcurrentLinkedDeque.Node
370 if (p.casNext(null, newNode)) {
505 if (o != null && p.prev != p && first.casNext(next, p)) {
680 if (next == p || x.casNext(next, p))
1159 if (p.casNext(null, beginningOfTheEnd)) {
H A DConcurrentSkipListMap.java424 boolean casNext(Node<K,V> cmp, Node<K,V> val) { method in class:ConcurrentSkipListMap.Node
455 return casNext(f, new Node<K,V>(f));
473 casNext(f, new Node<K,V>(f));
475 b.casNext(this, f.next);
817 if (!b.casNext(n, z))
950 if (!n.appendMarker(f) || !b.casNext(n, f))
1033 if (!n.appendMarker(f) || !b.casNext(n, f))
1093 if (!n.appendMarker(f) || !b.casNext(n, f))

Completed in 165 milliseconds