/external/libcxx/test/std/thread/futures/futures.promise/ |
uses_allocator.pass.cpp | 14 // class promise<R> 17 // struct uses_allocator<promise<R>, Alloc> 25 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), ""); 26 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), ""); 27 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
|
default.pass.cpp | 14 // class promise<R> 16 // promise(); 24 std::promise<int> p; 29 std::promise<int&> p; 34 std::promise<void> p;
|
set_lvalue_at_thread_exit.pass.cpp | 14 // class promise<R> 16 // void promise<R&>::set_value_at_thread_exit(R& r); 24 void func(std::promise<int&> p) 33 std::promise<int&> p;
|
set_value_at_thread_exit_const.pass.cpp | 14 // class promise<R> 16 // void promise::set_value_at_thread_exit(const R& r); 21 void func(std::promise<int> p) 30 std::promise<int> p;
|
set_value_at_thread_exit_void.pass.cpp | 14 // class promise<R> 16 // void promise<void>::set_value_at_thread_exit(); 24 void func(std::promise<void> p) 33 std::promise<void> p;
|
alloc_ctor.pass.cpp | 14 // class promise<R> 17 // promise(allocator_arg_t, const Allocator& a); 29 std::promise<int> p(std::allocator_arg, test_allocator<int>()); 37 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); 45 std::promise<void> p(std::allocator_arg, test_allocator<void>()); 54 std::promise<int> p(std::allocator_arg, bare_allocator<void>()); 59 std::promise<int&> p(std::allocator_arg, bare_allocator<void>()); 64 std::promise<void> p(std::allocator_arg, bare_allocator<void>()); 70 std::promise<int> p(std::allocator_arg, min_allocator<void>()); 75 std::promise<int&> p(std::allocator_arg, min_allocator<void>()) [all...] |
get_future.pass.cpp | 14 // class promise<R> 24 std::promise<double> p; 30 std::promise<double> p; 43 std::promise<double> p; 44 std::promise<double> p0 = std::move(p);
|
set_exception_at_thread_exit.pass.cpp | 14 // class promise<R> 16 // void promise::set_exception_at_thread_exit(exception_ptr p); 21 void func(std::promise<int> p) 31 std::promise<T> p;
|
set_rvalue_at_thread_exit.pass.cpp | 14 // class promise<R> 16 // void promise::set_value_at_thread_exit(R&& r); 24 void func(std::promise<std::unique_ptr<int>> p) 35 std::promise<std::unique_ptr<int>> p;
|
copy_assign.fail.cpp | 12 // class promise<R> 14 // promise& operator=(const promise& rhs) = delete; 25 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); 26 std::promise<int> p(std::allocator_arg, test_allocator<int>()); 46 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); 47 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); 67 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); 68 std::promise<void> p(std::allocator_arg, test_allocator<void>());
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
uses_allocator.pass.cpp | 12 // class promise<R> 15 // struct uses_allocator<promise<R>, Alloc> 23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), ""); 24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), ""); 25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), "");
|
default.pass.cpp | 12 // class promise<R> 14 // promise(); 22 std::promise<int> p; 27 std::promise<int&> p; 32 std::promise<void> p;
|
set_lvalue_at_thread_exit.pass.cpp | 12 // class promise<R> 14 // void promise<R&>::set_value_at_thread_exit(R& r); 22 void func(std::promise<int&> p) 31 std::promise<int&> p;
|
set_value_at_thread_exit_const.pass.cpp | 12 // class promise<R> 14 // void promise::set_value_at_thread_exit(const R& r); 19 void func(std::promise<int> p) 28 std::promise<int> p;
|
set_value_at_thread_exit_void.pass.cpp | 12 // class promise<R> 14 // void promise<void>::set_value_at_thread_exit(); 22 void func(std::promise<void> p) 31 std::promise<void> p;
|
get_future.pass.cpp | 12 // class promise<R> 22 std::promise<double> p; 28 std::promise<double> p; 41 std::promise<double> p; 42 std::promise<double> p0 = std::move(p);
|
set_exception_at_thread_exit.pass.cpp | 12 // class promise<R> 14 // void promise::set_exception_at_thread_exit(exception_ptr p); 19 void func(std::promise<int> p) 29 std::promise<T> p;
|
set_rvalue_at_thread_exit.pass.cpp | 12 // class promise<R> 14 // void promise::set_value_at_thread_exit(R&& r); 22 void func(std::promise<std::unique_ptr<int>> p) 33 std::promise<std::unique_ptr<int>> p;
|
alloc_ctor.pass.cpp | 12 // class promise<R> 15 // promise(allocator_arg_t, const Allocator& a); 26 std::promise<int> p(std::allocator_arg, test_allocator<int>()); 34 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); 42 std::promise<void> p(std::allocator_arg, test_allocator<void>());
|
/external/v8/test/mjsunit/es6/debug-promises/ |
events.js | 13 function updatePromise(promise, parentPromise, status, value) { 16 if (result[i].promise === promise) { 30 assertTrue(event_data.promise().isPromise()); 32 // New promise. 33 assertEquals("pending", event_data.promise().status()); 34 result.push({ promise: event_data.promise().value(), status: 0 }); 37 // Resolve/reject promise. 38 updatePromise(event_data.promise().value() [all...] |
/external/v8/src/ |
promise.js | 28 var promiseStatus = GLOBAL_PRIVATE("Promise#status"); 29 var promiseValue = GLOBAL_PRIVATE("Promise#value"); 30 var promiseOnResolve = GLOBAL_PRIVATE("Promise#onResolve"); 31 var promiseOnReject = GLOBAL_PRIVATE("Promise#onReject"); 32 var promiseRaw = GLOBAL_PRIVATE("Promise#raw"); 33 var promiseDebug = GLOBAL_PRIVATE("Promise#debug"); 38 var $Promise = function Promise(resolver) { 43 var promise = PromiseInit(this); 45 %DebugPushPromise(promise); [all...] |
/external/libcxx/test/std/thread/futures/futures.shared_future/ |
get.pass.cpp | 23 void func1(std::promise<int> p) 29 void func2(std::promise<int> p) 37 void func3(std::promise<int&> p) 44 void func4(std::promise<int&> p) 50 void func5(std::promise<void> p) 56 void func6(std::promise<void> p) 67 std::promise<T> p; 75 std::promise<T> p; 94 std::promise<T> p; 102 std::promise<T> p [all...] |
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
get.pass.cpp | 23 void func1(std::promise<int> p) 29 void func2(std::promise<int> p) 37 void func3(std::promise<int&> p) 44 void func4(std::promise<int&> p) 50 void func5(std::promise<void> p) 56 void func6(std::promise<void> p) 67 std::promise<T> p; 75 std::promise<T> p; 94 std::promise<T> p; 102 std::promise<T> p [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/ |
get.pass.cpp | 21 void func1(std::promise<int> p) 27 void func2(std::promise<int> p) 35 void func3(std::promise<int&> p) 42 void func4(std::promise<int&> p) 48 void func5(std::promise<void> p) 54 void func6(std::promise<void> p) 65 std::promise<T> p; 73 std::promise<T> p; 92 std::promise<T> p; 100 std::promise<T> p [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
get.pass.cpp | 21 void func1(std::promise<int> p) 27 void func2(std::promise<int> p) 35 void func3(std::promise<int&> p) 42 void func4(std::promise<int&> p) 48 void func5(std::promise<void> p) 54 void func6(std::promise<void> p) 65 std::promise<T> p; 73 std::promise<T> p; 92 std::promise<T> p; 100 std::promise<T> p [all...] |