Home
last modified time | relevance | path

Searched refs:ASYNC (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/util/concurrent/
DLinkedTransferQueue.java579 private static final int ASYNC = 1; // for offer, put, add field in LinkedTransferQueue
615 if (how == ASYNC) return e; in xfer()
1188 xfer(e, true, ASYNC, 0L); in put()
1201 xfer(e, true, ASYNC, 0L); in offer()
1213 xfer(e, true, ASYNC, 0L); in offer()
1226 xfer(e, true, ASYNC, 0L); in add()
DCompletableFuture.java437 static final int ASYNC = 1; field in CompletableFuture
458 public final void run() { tryFire(ASYNC); } in run()
459 public final boolean exec() { tryFire(ASYNC); return false; } in exec()
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCompletableFutureTest.java722 ASYNC {
1311 ExecutionMode.ASYNC, in testRunAsync_normalCompletion()
1328 ExecutionMode.ASYNC, in testRunAsync_exceptionalCompletion()
1357 ExecutionMode.ASYNC, in testSupplyAsync_normalCompletion()
1375 ExecutionMode.ASYNC, in testSupplyAsync_exceptionalCompletion()
5002 new ExceptionalCompletableFutureFunction(ExecutionMode.ASYNC); in testDefaultExceptionallyComposeAsync_normalCompletion()
5023 new ExceptionalCompletableFutureFunction(ExecutionMode.ASYNC); in testDefaultExceptionallyComposeAsync_exceptionalCompletion()
5046 = new FailingExceptionalCompletableFutureFunction(ExecutionMode.ASYNC); in testDefaultExceptionallyComposeAsync_actionFailed()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java654 ASYNC {
1214 ExecutionMode.ASYNC, in testRunAsync_normalCompletion()
1231 ExecutionMode.ASYNC, in testRunAsync_exceptionalCompletion()
1247 ExecutionMode.ASYNC, in testSupplyAsync_normalCompletion()
1265 ExecutionMode.ASYNC, in testSupplyAsync_exceptionalCompletion()