Lines Matching +defs:val +defs:match
215 * to match a waiting node.
232 volatile SNode match; // the node matched to this
244 boolean casNext(SNode cmp, SNode val) {
246 UNSAFE.compareAndSwapObject(this, nextOffset, cmp, val);
250 * Tries to match node s to this node, if so, waking up thread.
254 * @param s the node to match
258 if (match == null &&
267 return match == s;
278 return match == this;
291 (k.getDeclaredField("match"));
330 * mode, try to push node on stack and wait for a match,
334 * try to push a fulfilling node on to stack, match
341 * help it out by doing its match and/or pop
373 SNode m = s.next; // m is s's match
383 } else // lost match
388 SNode m = h.next; // m is h's match
393 if (m.tryMatch(h)) // help match
395 else // lost match
427 * timeouts. (So, on timeout, one last check for match is
441 SNode m = s.match;
548 boolean casNext(QNode cmp, QNode val) {
550 UNSAFE.compareAndSwapObject(this, nextOffset, cmp, val);
553 boolean casItem(Object cmp, Object val) {
555 UNSAFE.compareAndSwapObject(this, itemOffset, cmp, val);
635 boolean casCleanMe(QNode cmp, QNode val) {
637 UNSAFE.compareAndSwapObject(this, cleanMeOffset, cmp, val);
732 * @param e the comparison value for checking match