Home
last modified time | relevance | path

Searched refs:promise (Results 1 – 25 of 46) sorted by relevance

12

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
Dget.pass.cpp21 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 …]
Dwait.pass.cpp19 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()
Dwait_for.pass.cpp23 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()
Dwait_until.pass.cpp23 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/
Dget.pass.cpp21 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 …]
Dwait.pass.cpp19 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()
Dwait_for.pass.cpp23 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()
Dwait_until.pass.cpp23 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/
Dswap.pass.cpp27 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()
Dmove_ctor.pass.cpp26 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()
Ddtor.pass.cpp25 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()
Dcopy_ctor.fail.cpp25 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()
Dget_future.pass.cpp22 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()
Duses_allocator.pass.cpp23 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()
Dmove_assign.pass.cpp26 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()
Dcopy_assign.fail.cpp25 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()
Ddefault.pass.cpp22 std::promise<int> p; in main()
27 std::promise<int&> p; in main()
32 std::promise<void> p; in main()
Dalloc_ctor.pass.cpp26 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()
Dset_value_at_thread_exit_const.pass.cpp19 void func(std::promise<int> p) in func()
28 std::promise<int> p; in main()
Dset_value_at_thread_exit_void.pass.cpp22 void func(std::promise<void> p) in func()
31 std::promise<void> p; in main()
Dset_lvalue_at_thread_exit.pass.cpp22 void func(std::promise<int&> p) in func()
31 std::promise<int&> p; in main()
Dset_exception_at_thread_exit.pass.cpp19 void func(std::promise<int> p) in func()
29 std::promise<T> p; in main()
Dset_rvalue_at_thread_exit.pass.cpp22 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/
Dfuture59 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/
Dfuture.cpp218 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()

12