Home
last modified time | relevance | path

Searched refs:CANCELLED (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DPendingFuture.java38 private static final CancellationException CANCELLED = field in PendingFuture
183 if (exc == CANCELLED) in get()
200 if (exc == CANCELLED) in get()
208 return (exc != CANCELLED) ? exc : null; in exception()
217 return (exc == CANCELLED); in isCancelled()
236 exc = CANCELLED; in cancel()
/libcore/ojluni/src/main/java/java/util/
DTimerTask.java67 static final int CANCELLED = 3; field in TimerTask
119 state = CANCELLED; in cancel()
DTimer.java468 if (queue.get(i).state == TimerTask.CANCELLED) { in purge()
541 if (task.state == TimerTask.CANCELLED) { in mainLoop()
/libcore/ojluni/src/main/java/java/util/concurrent/
DFutureTask.java98 private static final int CANCELLED = 4; field in FutureTask
121 if (s >= CANCELLED) in report()
158 return state >= CANCELLED; in isCancelled()
168 mayInterruptIfRunning ? INTERRUPTING : CANCELLED))) in cancel()
DForkJoinTask.java250 static final int CANCELLED = 0xc0000000; // must be < NORMAL field in ForkJoinTask
666 if (s == CANCELLED) in reportException()
880 return (setCompletion(CANCELLED) & DONE_MASK) == CANCELLED; in cancel()
888 return (status & DONE_MASK) == CANCELLED; in isCancelled()
921 (s == CANCELLED) ? new CancellationException() : in getException()
994 if ((s &= DONE_MASK) == CANCELLED) in get()
1052 if (s == CANCELLED) in get()
/libcore/ojluni/annotations/hiddenapi/java/util/
DTimerTask.java47 static final int CANCELLED = 3; // 0x3 field in TimerTask
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DStampedLock.java301 private static final int CANCELLED = 1; field in StampedLock
1014 if ((q = h.next) == null || q.status == CANCELLED) { in release()
1102 else if (ps == CANCELLED) { in acquireWrite()
1286 else if (ps == CANCELLED) { in acquireRead()
1336 node.status = CANCELLED; in cancelWaiter()
1339 if (q.status == CANCELLED) { in cancelWaiter()
1354 succ.status == CANCELLED) { in cancelWaiter()
1357 if (t.status != CANCELLED) in cancelWaiter()
1373 if (pred.status != CANCELLED || (pp = pred.prev) == null) in cancelWaiter()
1384 if ((q = h.next) == null || q.status == CANCELLED) { in cancelWaiter()
DAbstractQueuedLongSynchronizer.java328 node.waitStatus = Node.CANCELLED; in cancelAcquire()
1282 node.waitStatus = Node.CANCELLED; in fullyRelease()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DFutureTask.java113 private static final int CANCELLED = 4; // 0x4 field in FutureTask