HomeSort by relevance Sort by last modified time
    Searched full:future (Results 176 - 200 of 6981) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/libcxx/src/
future.cpp 1 //===------------------------- future.cpp ---------------------------------===//
14 #include "future"
30 return "future";
51 return string("The future has already been retrieved from "
189 future<void>::future(__assoc_sub_state* __state) function in class:future
200 future<void>::~future()
207 future<void>::get()
232 future<void
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
future.cpp 1 //===------------------------- future.cpp ---------------------------------===//
10 #include "future"
28 return "future";
49 return string("The future has already been retrieved from "
192 future<void>::future(__assoc_sub_state* __state) function in class:future
203 future<void>::~future()
210 future<void>::get()
235 future<void
    [all...]
  /external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/
p2.cpp 10 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
15 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
28 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
32 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
41 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
45 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
49 // expected-warning@-2 {{'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases}}
  /external/guice/extensions/service/src/com/google/inject/service/
CompositeService.java 30 import java.util.concurrent.Future;
80 public Future<State> start() {
81 final List<Future<State>> tasks = Lists.newArrayList();
89 public Future<State> stop() {
90 final List<Future<State>> tasks = Lists.newArrayList();
104 private FutureTask<Service.State> futureGet(final List<Future<Service.State>> tasks,
109 for (Future<Service.State> task : tasks) {
  /external/strace/linux/
ptp_clock.h 53 int rsv[15]; /* Reserved for future use. */
59 unsigned int rsv[2]; /* Reserved for future use. */
66 unsigned int flags; /* Reserved for future use. */
67 unsigned int rsv[4]; /* Reserved for future use. */
74 unsigned int rsv[3]; /* Reserved for future use. */
94 unsigned int flags; /* Reserved for future use. */
95 unsigned int rsv[2]; /* Reserved for future use. */
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
MoreExecutorsTest.java 68 import java.util.concurrent.Future;
113 Future<?> future = executor.submit(incrementTask);
114 assertTrue(future.isDone());
124 ListenableFuture<?> future = executor.submit(incrementTask); local
125 assertTrue(future.isDone());
126 assertListenerRunImmediately(future);
154 List<Future<Integer>> futures =
158 Future<Integer> future = futures.get(i) local
309 ListenableFuture<?> future = local
327 ListenableFuture<?> future = local
338 ListenableFuture<?> future; local
357 ListenableFuture<?> future; local
    [all...]
FuturesTransformAsyncFunctionTest.java 83 fail("Result future must throw CancellationException"
84 + " if input future is cancelled.");
94 fail("Result future must throw CancellationException"
95 + " if function output future is cancelled.");
106 fail("Result future is cancelled and should have thrown a"
119 fail("Result future is cancelled and should have thrown a"
141 fail("Result future is cancelled and should have thrown a"
148 fail("The function output future is cancelled and should have thrown a"
167 fail("Future.get must throw an exception when the input future fails.")
    [all...]
WrappingExecutorServiceTest.java 35 import java.util.concurrent.Future;
74 Future<?> f = testExecutor.submit(doNothing());
81 Future<String> f = testExecutor.submit(doNothing(), RESULT_VALUE);
89 Future<String> f = testExecutor.submit(task);
100 List<Future<String>> futures = testExecutor.invokeAll(tasks);
109 List<Future<String>> futures = testExecutor.invokeAll(tasks, timeout, unit);
135 private static void checkResults(List<Future<String>> futures)
213 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks)
221 public <T> List<Future<T>> invokeAll(
272 public <T> Future<T> submit(Callable<T> task)
    [all...]
  /external/guava/guava/src/com/google/common/util/concurrent/
Uninterruptibles.java 28 import java.util.concurrent.Future;
120 * Invokes {@code future.}{@link Future#get() get()} uninterruptibly.
125 * with other exceptions, see {@link Futures#get(Future, Class) Futures.get}
131 public static <V> V getUninterruptibly(Future<V> future)
137 return future.get();
151 * {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)}
155 * with other exceptions, see {@link Futures#get(Future, Class) Futures.get
    [all...]
ForwardingExecutorService.java 26 import java.util.concurrent.Future;
54 public <T> List<Future<T>> invokeAll(
60 public <T> List<Future<T>> invokeAll(
104 public <T> Future<T> submit(Callable<T> task) {
109 public Future<?> submit(Runnable task) {
114 public <T> Future<T> submit(Runnable task, T result) {
ForwardingListenableFuture.java 25 * future. Subclasses should override one or more methods to modify the behavior
26 * of the backing future as desired per the <a
31 * @param <V> The result type returned by this Future's {@code get} method
  /prebuilts/ndk/current/sources/cxx-stl/gnu-libstdc++/4.9/include/
future 0 // <future> -*- C++ -*-
25 /** @file include/future
114 class future;
171 future<typename result_of<_Fn(_Args...)>::type>
175 future<typename result_of<_Fn(_Args...)>::type>
224 // Return lvalue, future will add const or rvalue-reference
394 // Called when this object is passed to a future.
573 /// Common implementation for future and shared_future.
632 // Construction of a future by promise::get_future()
648 // Move construction from a future
    [all...]
  /packages/apps/Camera2/src/com/android/camera/device/
MultiCameraDeviceLifecycle.java 34 import java.util.concurrent.Future;
51 * open this device next" requests. However, if the previous future
53 * create a new future that will then get returned.
56 * Then create a new request and return the future and begin the shutdown
122 * Returns a future to an API2 Camera device. The future will only
124 * be opened, the future will be canceled or provided with an exception
148 * This returns a future to a CameraProxy device in auto mode and does not
149 * make any guarantees about the backing API version. The future will only
151 * be opened, the future will be canceled or provided with an exceptio
    [all...]
  /external/dagger2/producers/src/test/java/dagger/producers/internal/
AbstractProducerTest.java 95 ListenableFuture<Integer> future = producer.get(); local
96 assertThat(future.isDone()).isFalse();
99 assertThat(future.get()).isEqualTo(-42);
109 ListenableFuture<Integer> future = producer.get(); local
110 assertThat(future.isDone()).isFalse();
115 future.get();
  /external/libcxx/test/std/thread/futures/futures.promise/
swap.pass.cpp 12 // <future>
20 #include <future>
34 std::future<int> f = p.get_future();
48 std::future<int> f = p.get_future();
62 std::future<int> f = p.get_future();
76 std::future<int> f = p.get_future();
  /external/libcxx/test/std/thread/futures/futures.tas/futures.task.members/
ctor_func.pass.cpp 12 // <future>
19 #include <future>
47 std::future<double> f = p.get_future();
59 std::future<double> f = p.get_future();
68 std::future<int> f = p.get_future();
75 std::future<int> f = p.get_future();
  /external/libcxx/test/std/thread/futures/futures.unique_future/
wait.pass.cpp 12 // <future>
14 // class future<R>
18 #include <future>
49 std::future<T> f = p.get_future();
63 std::future<T> f = p.get_future();
77 std::future<T> f = p.get_future();
wait_for.pass.cpp 12 // <future>
14 // class future<R>
20 #include <future>
52 std::future<T> f = p.get_future();
68 std::future<T> f = p.get_future();
84 std::future<T> f = p.get_future();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/
swap.pass.cpp 10 // <future>
18 #include <future>
32 std::future<int> f = p.get_future();
46 std::future<int> f = p.get_future();
60 std::future<int> f = p.get_future();
74 std::future<int> f = p.get_future();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.tas/futures.task.members/
ctor_func.pass.cpp 10 // <future>
17 #include <future>
45 std::future<double> f = p.get_future();
57 std::future<double> f = p.get_future();
66 std::future<int> f = p.get_future();
73 std::future<int> f = p.get_future();
ctor_func_alloc.pass.cpp 10 // <future>
17 #include <future>
49 std::future<double> f = p.get_future();
64 std::future<double> f = p.get_future();
78 std::future<int> f = p.get_future();
90 std::future<int> f = p.get_future();
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
wait.pass.cpp 10 // <future>
12 // class future<R>
16 #include <future>
47 std::future<T> f = p.get_future();
61 std::future<T> f = p.get_future();
75 std::future<T> f = p.get_future();
wait_for.pass.cpp 10 // <future>
12 // class future<R>
18 #include <future>
50 std::future<T> f = p.get_future();
66 std::future<T> f = p.get_future();
82 std::future<T> f = p.get_future();
wait_until.pass.cpp 10 // <future>
12 // class future<R>
18 #include <future>
50 std::future<T> f = p.get_future();
66 std::future<T> f = p.get_future();
82 std::future<T> f = p.get_future();
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
DetailsAddressResolver.java 26 import com.android.gallery3d.util.Future;
36 private Future<Address> mAddressLookupJob;
68 public void onFutureDone(final Future<Address> future) {
70 if (!future.isCancelled()) {
74 updateLocation(future.get());

Completed in 515 milliseconds

1 2 3 4 5 6 78 91011>>