/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/ |
D | get.pass.cpp | 21 void func1(std::promise<int> p) in func1() 27 void func2(std::promise<int> p) in func2() 35 void func3(std::promise<int&> p) in func3() 42 void func4(std::promise<int&> p) in func4() 48 void func5(std::promise<void> p) in func5() 54 void func6(std::promise<void> p) in func6() 65 std::promise<T> p; in main() 73 std::promise<T> p; in main() 92 std::promise<T> p; in main() 100 std::promise<T> p; in main() [all …]
|
D | wait.pass.cpp | 19 void func1(std::promise<int> p) in func1() 27 void func3(std::promise<int&> p) in func3() 34 void func5(std::promise<void> p) in func5() 46 std::promise<T> p; in main() 60 std::promise<T> p; in main() 74 std::promise<T> p; in main()
|
D | wait_for.pass.cpp | 23 void func1(std::promise<int> p) in func1() 31 void func3(std::promise<int&> p) in func3() 38 void func5(std::promise<void> p) in func5() 49 std::promise<T> p; in main() 65 std::promise<T> p; in main() 81 std::promise<T> p; in main()
|
D | wait_until.pass.cpp | 23 void func1(std::promise<int> p) in func1() 31 void func3(std::promise<int&> p) in func3() 38 void func5(std::promise<void> p) in func5() 49 std::promise<T> p; in main() 65 std::promise<T> p; in main() 81 std::promise<T> p; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/ |
D | get.pass.cpp | 21 void func1(std::promise<int> p) in func1() 27 void func2(std::promise<int> p) in func2() 35 void func3(std::promise<int&> p) in func3() 42 void func4(std::promise<int&> p) in func4() 48 void func5(std::promise<void> p) in func5() 54 void func6(std::promise<void> p) in func6() 65 std::promise<T> p; in main() 73 std::promise<T> p; in main() 92 std::promise<T> p; in main() 100 std::promise<T> p; in main() [all …]
|
D | wait.pass.cpp | 19 void func1(std::promise<int> p) in func1() 27 void func3(std::promise<int&> p) in func3() 34 void func5(std::promise<void> p) in func5() 46 std::promise<T> p; in main() 60 std::promise<T> p; in main() 74 std::promise<T> p; in main()
|
D | wait_for.pass.cpp | 23 void func1(std::promise<int> p) in func1() 31 void func3(std::promise<int&> p) in func3() 38 void func5(std::promise<void> p) in func5() 49 std::promise<T> p; in main() 65 std::promise<T> p; in main() 81 std::promise<T> p; in main()
|
D | wait_until.pass.cpp | 23 void func1(std::promise<int> p) in func1() 31 void func3(std::promise<int&> p) in func3() 38 void func5(std::promise<void> p) in func5() 49 std::promise<T> p; in main() 65 std::promise<T> p; in main() 81 std::promise<T> p; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/ |
D | swap.pass.cpp | 27 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 28 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main() 41 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 42 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main() 55 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 56 std::promise<int> p; in main() 69 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 70 std::promise<int> p; in main()
|
D | move_ctor.pass.cpp | 26 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 27 std::promise<int> p(std::move(p0)); in main() 45 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); in main() 46 std::promise<int&> p(std::move(p0)); in main() 64 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); in main() 65 std::promise<void> p(std::move(p0)); in main()
|
D | dtor.pass.cpp | 25 std::promise<T> p; in main() 35 std::promise<T> p; in main() 54 std::promise<T> p; in main() 64 std::promise<T> p; in main() 82 std::promise<T> p; in main() 93 std::promise<T> p; in main()
|
D | copy_ctor.fail.cpp | 25 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 26 std::promise<int> p(p0); in main() 44 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); in main() 45 std::promise<int&> p(p0); in main() 63 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); in main() 64 std::promise<void> p(p0); in main()
|
D | get_future.pass.cpp | 22 std::promise<double> p; in main() 28 std::promise<double> p; in main() 41 std::promise<double> p; in main() 42 std::promise<double> p0 = std::move(p); in main()
|
D | uses_allocator.pass.cpp | 23 static_assert((std::uses_allocator<std::promise<int>, test_allocator<int> >::value), ""); in main() 24 static_assert((std::uses_allocator<std::promise<int&>, test_allocator<int> >::value), ""); in main() 25 static_assert((std::uses_allocator<std::promise<void>, test_allocator<void> >::value), ""); in main()
|
D | move_assign.pass.cpp | 26 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 27 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main() 47 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); in main() 48 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); in main() 68 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); in main() 69 std::promise<void> p(std::allocator_arg, test_allocator<void>()); in main()
|
D | copy_assign.fail.cpp | 25 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main() 26 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main() 46 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); in main() 47 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); in main() 67 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); in main() 68 std::promise<void> p(std::allocator_arg, test_allocator<void>()); in main()
|
D | default.pass.cpp | 22 std::promise<int> p; in main() 27 std::promise<int&> p; in main() 32 std::promise<void> p; in main()
|
D | alloc_ctor.pass.cpp | 26 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main() 34 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); in main() 42 std::promise<void> p(std::allocator_arg, test_allocator<void>()); in main()
|
D | set_value_at_thread_exit_const.pass.cpp | 19 void func(std::promise<int> p) in func() 28 std::promise<int> p; in main()
|
D | set_value_at_thread_exit_void.pass.cpp | 22 void func(std::promise<void> p) in func() 31 std::promise<void> p; in main()
|
D | set_lvalue_at_thread_exit.pass.cpp | 22 void func(std::promise<int&> p) in func() 31 std::promise<int&> p; in main()
|
D | set_exception_at_thread_exit.pass.cpp | 19 void func(std::promise<int> p) in func() 29 std::promise<T> p; in main()
|
D | set_rvalue_at_thread_exit.pass.cpp | 22 void func(std::promise<std::unique_ptr<int>> p) in func() 33 std::promise<std::unique_ptr<int>> p; in main()
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/ |
D | future | 59 class promise 62 promise(); 64 promise(allocator_arg_t, const Allocator& a); 65 promise(promise&& rhs) noexcept; 66 promise(const promise& rhs) = delete; 67 ~promise(); 70 promise& operator=(promise&& rhs) noexcept; 71 promise& operator=(const promise& rhs) = delete; 72 void swap(promise& other) noexcept; 89 class promise<R&> [all …]
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/ |
D | future.cpp | 218 promise<void>::promise() in promise() function in promise 223 promise<void>::~promise() in ~promise() 236 promise<void>::get_future() in get_future() 246 promise<void>::set_value() in set_value() 256 promise<void>::set_exception(exception_ptr __p) in set_exception() 266 promise<void>::set_value_at_thread_exit() in set_value_at_thread_exit() 276 promise<void>::set_exception_at_thread_exit(exception_ptr __p) in set_exception_at_thread_exit()
|