Home
last modified time | relevance | path

Searched defs:future (Results 1 – 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/sun/nio/ch/
DInvoker.java280 static <V,A> void invokeUnchecked(PendingFuture<V,A> future) { in invokeUnchecked()
296 static <V,A> void invoke(PendingFuture<V,A> future) { in invoke()
312 static <V,A> void invokeIndirectly(PendingFuture<V,A> future) { in invokeIndirectly()
DUnixAsynchronousServerSocketChannelImpl.java111 PendingFuture<AsynchronousSocketChannel,Object> future; in implClose() local
201 PendingFuture<AsynchronousSocketChannel,Object> future = acceptFuture; in onEvent() local
DUnixAsynchronousSocketChannelImpl.java297 PendingFuture<Void,Object> future = connectFuture; in finishConnect() local
402 PendingFuture<Number,Object> future = readFuture; in finishRead() local
597 PendingFuture<Number,Object> future = this.writeFuture; in finishWrite() local
/libcore/jsr166-tests/src/test/java/jsr166/
DForkJoinPoolTest.java232 Future<?> future = p.submit(task); in testGetPoolSize() local
430 Future<?> future = e.submit(new CheckedRunnable() { in testExecuteRunnable() local
448 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
461 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
474 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
549 Future<?> future = e.submit((Runnable) null); in testExecuteNullRunnable() local
562 Future<String> future = e.submit((Callable) null); in testSubmitNullCallable() local
DAbstractExecutorServiceTest.java70 Future<?> future = e.submit(new CheckedRunnable() { in testExecuteRunnable() local
86 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
96 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
106 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DScheduledExecutorTest.java835 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
847 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
859 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DScheduledExecutorSubclassTest.java886 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
898 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
910 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DThreadPoolExecutorTest.java1443 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
1458 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
1473 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DThreadPoolExecutorSubclassTest.java1436 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
1451 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
1466 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
/libcore/ojluni/src/test/java/util/concurrent/tck/
DForkJoinPoolTest.java250 Future<?> future = p.submit(task); in testGetPoolSize() local
448 Future<?> future = e.submit(new CheckedRunnable() { in testExecuteRunnable() local
466 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
479 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
492 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
567 Future<?> future = e.submit((Runnable) null); in testExecuteNullRunnable() local
580 Future<String> future = e.submit((Callable) null); in testSubmitNullCallable() local
DAbstractExecutorServiceTest.java93 Future<?> future = e.submit(new CheckedRunnable() { in testExecuteRunnable() local
109 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
119 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
129 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DScheduledExecutorTest.java856 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
868 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
880 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DScheduledExecutorSubclassTest.java908 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
920 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
932 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DThreadPoolExecutorTest.java1460 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
1475 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
1490 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
DThreadPoolExecutorSubclassTest.java1458 Future<String> future = e.submit(new StringTask()); in testSubmitCallable() local
1473 Future<?> future = e.submit(new NoOpRunnable()); in testSubmitRunnable() local
1488 Future<String> future = e.submit(new NoOpRunnable(), TEST_STRING); in testSubmitRunnable2() local
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DAbstractExecutorServiceTest.java76 Future<Integer> future = service.submit(() -> didRun.set(true), value); in testSubmitRunnableWithValue() local
DCopyOnWriteArrayListTest.java190 Future<?> future = executor.submit(new Runnable() { in testAddAllIsAtomic() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DWriterTesterTest.java110 private Future<char[]> future; field in WriterTesterTest.PipedWriterCharSinkTester
DOutputStreamTesterTest.java117 private Future<byte[]> future; field in OutputStreamTesterTest.PipedOutputStreamSinkTester
/libcore/ojluni/src/main/java/java/io/
DObjectStreamClass.java340 EntryFuture future = null; in lookup() local
2251 EntryFuture future = null; in getReflector() local