/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.tas/futures.task.members/ |
assign_move.pass.cpp | 10 // <future> 16 #include <future> 37 std::future<double> f = p.get_future();
|
make_ready_at_thread_exit.pass.cpp | 10 // <future> 16 #include <future> 75 std::future<double> f = p.get_future(); 81 std::future<double> f = p.get_future(); 95 std::future<double> f = p.get_future();
|
operator.pass.cpp | 10 // <future> 16 #include <future> 75 std::future<double> f = p.get_future(); 81 std::future<double> f = p.get_future(); 95 std::future<double> 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();
|
/external/libcxx/test/thread/futures/futures.promise/ |
copy_assign.fail.cpp | 10 // <future> 16 #include <future> 30 std::future<int> f = p.get_future(); 51 std::future<int&> f = p.get_future(); 72 std::future<void> f = p.get_future();
|
copy_ctor.fail.cpp | 10 // <future> 16 #include <future> 28 std::future<int> f = p.get_future(); 47 std::future<int&> f = p.get_future(); 66 std::future<void> f = p.get_future();
|
move_assign.pass.cpp | 10 // <future> 16 #include <future> 31 std::future<int> f = p.get_future(); 52 std::future<int&> f = p.get_future(); 73 std::future<void> f = p.get_future();
|
move_ctor.pass.cpp | 10 // <future> 16 #include <future> 29 std::future<int> f = p.get_future(); 48 std::future<int&> f = p.get_future(); 67 std::future<void> f = p.get_future();
|
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();
|
/external/libcxx/test/thread/futures/futures.tas/futures.task.members/ |
make_ready_at_thread_exit.pass.cpp | 10 // <future> 16 #include <future> 75 std::future<double> f = p.get_future(); 81 std::future<double> f = p.get_future(); 95 std::future<double> f = p.get_future();
|
operator.pass.cpp | 10 // <future> 16 #include <future> 75 std::future<double> f = p.get_future(); 81 std::future<double> f = p.get_future(); 95 std::future<double> f = p.get_future();
|
ctor_func.pass.cpp | 10 // <future> 17 #include <future> 43 std::future<double> f = p.get_future(); 55 std::future<double> f = p.get_future();
|
ctor_func_alloc.pass.cpp | 10 // <future> 17 #include <future> 47 std::future<double> f = p.get_future(); 62 std::future<double> f = p.get_future();
|
/frameworks/volley/src/com/android/volley/toolbox/ |
AndroidAuthenticator.java | 75 AccountManagerFuture<Bundle> future = accountManager.getAuthToken(mAccount, local 79 result = future.getResult(); 84 if (future.isDone() && !future.isCancelled()) {
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
copy_assign.fail.cpp | 10 // <future> 16 #include <future> 30 std::future<int> f = p.get_future(); 51 std::future<int&> f = p.get_future(); 72 std::future<void> f = p.get_future();
|
copy_ctor.fail.cpp | 10 // <future> 16 #include <future> 28 std::future<int> f = p.get_future(); 47 std::future<int&> f = p.get_future(); 66 std::future<void> f = p.get_future();
|
move_assign.pass.cpp | 10 // <future> 16 #include <future> 31 std::future<int> f = p.get_future(); 52 std::future<int&> f = p.get_future(); 73 std::future<void> f = p.get_future();
|
move_ctor.pass.cpp | 10 // <future> 16 #include <future> 29 std::future<int> f = p.get_future(); 48 std::future<int&> f = p.get_future(); 67 std::future<void> f = p.get_future();
|
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();
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
MoreExecutorsTest.java | 35 import java.util.concurrent.Future; 72 Future<?> future = executor.submit(incrementTask); 73 assertTrue(future.isDone()); 83 ListenableFuture<?> future = executor.submit(incrementTask); local 84 assertTrue(future.isDone()); 85 assertListenerRunImmediately(future); 113 List<Future<Integer>> futures = 117 Future<Integer> future = futures.get(i) local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
BitmapLoader.java | 22 import com.android.gallery3d.util.Future; 45 private Future<Bitmap> mTask; 49 public void onFutureDone(Future<Bitmap> future) { 52 mBitmap = future.get(); 60 if (future.isCancelled() && mBitmap == null) { 106 abstract protected Future<Bitmap> submitBitmapTask(FutureListener<Bitmap> l);
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
future_test.py | 10 from future import All, Future, Race 16 self.assertRaises(ValueError, Future) 19 future = Future(value=42) 20 self.assertEqual(42, future.Get()) 21 self.assertEqual(42, future.Get()) 29 future = Future(callback=callback) 30 self.assertEqual(42, future.Get() [all...] |
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
ResourceRunner.java | 14 import java.util.concurrent.Future; 36 private volatile Future<?> future; field in class:ResourceRunner 63 if (future != null) { 64 future.cancel(false); 70 future = diskCacheService.submit(this); 92 future = resizeService.submit(sourceRunner);
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
Futures.java | 47 import java.util.concurrent.Future; 56 * Static utility methods pertaining to the {@link Future} interface. 75 * See {@link Future#get()} for details on the exceptions thrown. 80 ListenableFuture<V> future, Function<Exception, X> mapper) { 81 return new MappingCheckedFuture<V, X>(checkNotNull(future), mapper); 86 * construction. The getters just return the value. This {@code Future} can't 91 SettableFuture<V> future = SettableFuture.create(); local 92 future.set(value); 93 return future; 100 * <p>The returned {@code Future} can't be cancelled, and its {@code isDone() 106 SettableFuture<V> future = SettableFuture.create(); local [all...] |
/external/libcxx/test/thread/futures/futures.unique_future/ |
get.pass.cpp | 10 // <future> 12 // class future<R> 14 // R future::get(); 15 // R& future<R&>::get(); 16 // void future<void>::get(); 18 #include <future> 66 std::future<T> f = p.get_future(); 74 std::future<T> f = p.get_future(); 93 std::future<T> f = p.get_future(); 101 std::future<T> f = p.get_future() [all...] |