/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
move_ctor.pass.cpp | 10 // <future> 12 // class future<R> 14 // future(future&& rhs); 16 #include <future> 25 std::future<T> f0 = p.get_future(); 26 std::future<T> f = std::move(f0); 32 std::future<T> f0; 33 std::future<T> f = std::move(f0); 40 std::future<T> f0 = p.get_future() [all...] |
/external/libcxx/test/thread/futures/futures.errors/ |
future_category.pass.cpp | 10 // <future> 14 #include <future> 21 assert(std::strcmp(ec.name(), "future") == 0);
|
equivalent_error_code_int.pass.cpp | 10 // <future> 16 #include <future>
|
/external/libcxx/test/thread/futures/futures.future_error/ |
types.pass.cpp | 10 // <future> 14 #include <future>
|
/external/libcxx/test/thread/futures/futures.tas/futures.task.members/ |
ctor_default.pass.cpp | 10 // <future> 16 #include <future>
|
/external/libcxx/test/thread/futures/futures.tas/ |
types.pass.cpp | 10 // <future> 18 #include <future>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.errors/ |
future_category.pass.cpp | 10 // <future> 14 #include <future> 21 assert(std::strcmp(ec.name(), "future") == 0);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.future_error/ |
types.pass.cpp | 10 // <future> 14 #include <future>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.tas/futures.task.members/ |
ctor_default.pass.cpp | 10 // <future> 16 #include <future>
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.tas/ |
types.pass.cpp | 10 // <future> 18 #include <future>
|
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
AbstractListenableFutureTest.java | 29 import java.util.concurrent.Future; 44 protected ListenableFuture<Boolean> future; field in class:AbstractListenableFutureTest 49 // Create a latch and a future that waits on the latch. 51 future = createListenableFuture(Boolean.TRUE, null, latch); 62 * Constructs a listenable future with a value available after the latch 69 * Tests that the {@link Future#get()} method blocks until a value is 74 assertFalse(future.isDone()); 75 assertFalse(future.isCancelled()); 80 // Wait on the future in a separate thread. 85 assertSame(Boolean.TRUE, future.get()) [all...] |
MockFutureListener.java | 39 private final ListenableFuture<?> future; field in class:MockFutureListener 41 public MockFutureListener(ListenableFuture<?> future) { 43 this.future = future; 45 future.addListener(this, MoreExecutors.sameThreadExecutor()); 55 * Asserts that the future returns the expected data. 64 Assert.assertEquals(expectedData, future.get()); 72 * Asserts that the future throws an {@code ExecutableException} and that the 80 future.get();
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
persistent_object_store.py | 8 from future import Future 26 [future.wait() for future in futures] 34 return dict((key, future.get_result().GetValue()) 35 for key, future in db_futures.iteritems() 36 if future.get_result() is not None) 37 return Future(callback=resolve) 47 [future.wait() for future in futures [all...] |
/external/libcxx/test/thread/futures/futures.promise/ |
set_lvalue_at_thread_exit.pass.cpp | 10 // <future> 16 #include <future> 32 std::future<int&> f = p.get_future();
|
set_value_at_thread_exit_const.pass.cpp | 10 // <future> 16 #include <future> 29 std::future<int> f = p.get_future();
|
set_value_at_thread_exit_void.pass.cpp | 10 // <future> 16 #include <future> 32 std::future<void> f = p.get_future();
|
set_value_void.pass.cpp | 10 // <future> 16 #include <future> 24 std::future<T> f = p.get_future();
|
alloc_ctor.pass.cpp | 10 // <future> 17 #include <future> 28 std::future<int> f = p.get_future(); 36 std::future<int&> f = p.get_future(); 44 std::future<void> f = p.get_future();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
set_lvalue_at_thread_exit.pass.cpp | 10 // <future> 16 #include <future> 32 std::future<int&> f = p.get_future();
|
set_value_at_thread_exit_const.pass.cpp | 10 // <future> 16 #include <future> 29 std::future<int> f = p.get_future();
|
set_value_at_thread_exit_void.pass.cpp | 10 // <future> 16 #include <future> 32 std::future<void> f = p.get_future();
|
set_value_void.pass.cpp | 10 // <future> 16 #include <future> 24 std::future<T> f = p.get_future();
|
/frameworks/base/core/tests/coretests/src/android/animation/ |
AutoCancelTest.java | 59 private void setupAnimators(long startDelay, boolean startLater, final FutureWaiter future) 82 future.set(false); 96 future.set(false); 103 // Release future if not done already via failures during start 104 future.release(); 125 final FutureWaiter future = new FutureWaiter(); local 130 setupAnimators(0, false, future); 132 future.setException(e); 136 assertTrue(future.get(FUTURE_TIMEOUT, TimeUnit.MILLISECONDS)); 141 final FutureWaiter future = new FutureWaiter() local 157 final FutureWaiter future = new FutureWaiter(); local 173 final FutureWaiter future = new FutureWaiter(); local [all...] |
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
RealMediaPlayerTest.java | 40 FutureTask<MediaPlayer> future = new FutureTask<MediaPlayer>(callable); local 41 getInstrumentation().runOnMainSync(future); 42 return DynamicProxy.dynamicProxy(MediaPlayerProxy.class, future.get(1, TimeUnit.SECONDS));
|
/external/libcxx/test/thread/futures/futures.overview/ |
future_status.pass.cpp | 10 // <future> 19 #include <future>
|