Home
last modified time | relevance | path

Searched refs:packaged_task (Results 1 – 25 of 54) sorted by relevance

123

/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/
Dmake_ready_at_thread_exit.pass.cpp39 void func0(std::packaged_task<double(int, char)> p) in func0()
45 void func1(std::packaged_task<double(int, char)> p) in func1()
51 void func2(std::packaged_task<double(int, char)> p) in func2()
68 void func3(std::packaged_task<double(int, char)> p) in func3()
87 std::packaged_task<double(int, char)> p(A(5)); in main()
94 std::packaged_task<double(int, char)> p(A(5)); in main()
108 std::packaged_task<double(int, char)> p(A(5)); in main()
114 std::packaged_task<double(int, char)> p; in main()
Doperator.pass.cpp39 void func0(std::packaged_task<double(int, char)> p) in func0()
45 void func1(std::packaged_task<double(int, char)> p) in func1()
51 void func2(std::packaged_task<double(int, char)> p) in func2()
68 void func3(std::packaged_task<double(int, char)> p) in func3()
87 std::packaged_task<double(int, char)> p(A(5)); in main()
94 std::packaged_task<double(int, char)> p(A(5)); in main()
108 std::packaged_task<double(int, char)> p(A(5)); in main()
115 std::packaged_task<double(int, char)> p; in main()
Dswap.pass.cpp35 std::packaged_task<double(int, char)> p0(A(5)); in main()
36 std::packaged_task<double(int, char)> p; in main()
45 std::packaged_task<double(int, char)> p0; in main()
46 std::packaged_task<double(int, char)> p; in main()
Dctor_move.pass.cpp35 std::packaged_task<double(int, char)> p0(A(5)); in main()
36 std::packaged_task<double(int, char)> p = std::move(p0); in main()
44 std::packaged_task<double(int, char)> p0; in main()
45 std::packaged_task<double(int, char)> p = std::move(p0); in main()
Dassign_move.pass.cpp35 std::packaged_task<double(int, char)> p0(A(5)); in main()
36 std::packaged_task<double(int, char)> p; in main()
45 std::packaged_task<double(int, char)> p0; in main()
46 std::packaged_task<double(int, char)> p; in main()
Ddtor.pass.cpp34 void func(std::packaged_task<double(int, char)>) in func()
38 void func2(std::packaged_task<double(int, char)> p) in func2()
47 std::packaged_task<double(int, char)> p(A(5)); in main()
63 std::packaged_task<double(int, char)> p(A(5)); in main()
Dctor_func_alloc.pass.cpp51 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
66 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
81 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), &func); in main()
93 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), func); in main()
104 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
116 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
Dctor_func.pass.cpp46 std::packaged_task<double(int, char)> p(A(5)); in main()
58 std::packaged_task<double(int, char)> p(a); in main()
67 std::packaged_task<int(int)> p(&func); in main()
74 std::packaged_task<int(int)> p(func); in main()
Dget_future.pass.cpp37 std::packaged_task<double(int, char)> p(A(5)); in main()
44 std::packaged_task<double(int, char)> p(A(5)); in main()
57 std::packaged_task<double(int, char)> p; in main()
Dctor_copy.fail.cpp25 std::packaged_task<double(int, char)> p0; in main()
26 …std::packaged_task<double(int, char)> p(p0); // expected-error {{call to deleted constructor of 's… in main()
Dctor2.fail.cpp27 typedef std::packaged_task<A(int, char)> PT;
28 typedef volatile std::packaged_task<A(int, char)> VPT;
/external/llvm-project/libcxx/test/std/thread/futures/futures.task/futures.task.members/
Doperator.pass.cpp39 void func0(std::packaged_task<double(int, char)> p) in func0()
45 void func1(std::packaged_task<double(int, char)> p) in func1()
51 void func2(std::packaged_task<double(int, char)> p) in func2()
68 void func3(std::packaged_task<double(int, char)> p) in func3()
87 std::packaged_task<double(int, char)> p(A(5)); in main()
94 std::packaged_task<double(int, char)> p(A(5)); in main()
108 std::packaged_task<double(int, char)> p(A(5)); in main()
115 std::packaged_task<double(int, char)> p; in main()
Dmake_ready_at_thread_exit.pass.cpp39 void func0(std::packaged_task<double(int, char)> p) in func0()
45 void func1(std::packaged_task<double(int, char)> p) in func1()
51 void func2(std::packaged_task<double(int, char)> p) in func2()
68 void func3(std::packaged_task<double(int, char)> p) in func3()
87 std::packaged_task<double(int, char)> p(A(5)); in main()
94 std::packaged_task<double(int, char)> p(A(5)); in main()
108 std::packaged_task<double(int, char)> p(A(5)); in main()
114 std::packaged_task<double(int, char)> p; in main()
Dctor_move.pass.cpp36 std::packaged_task<double(int, char)> p0(A(5)); in main()
37 std::packaged_task<double(int, char)> p = std::move(p0); in main()
45 std::packaged_task<double(int, char)> p0; in main()
46 std::packaged_task<double(int, char)> p = std::move(p0); in main()
Dswap.pass.cpp36 std::packaged_task<double(int, char)> p0(A(5)); in main()
37 std::packaged_task<double(int, char)> p; in main()
46 std::packaged_task<double(int, char)> p0; in main()
47 std::packaged_task<double(int, char)> p; in main()
Dassign_move.pass.cpp36 std::packaged_task<double(int, char)> p0(A(5)); in main()
37 std::packaged_task<double(int, char)> p; in main()
46 std::packaged_task<double(int, char)> p0; in main()
47 std::packaged_task<double(int, char)> p; in main()
Ddtor.pass.cpp34 void func(std::packaged_task<double(int, char)>) in func()
38 void func2(std::packaged_task<double(int, char)> p) in func2()
47 std::packaged_task<double(int, char)> p(A(5)); in main()
63 std::packaged_task<double(int, char)> p(A(5)); in main()
Dctor_func_alloc.pass.cpp51 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
66 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
81 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), &func); in main()
93 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), func); in main()
104 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
116 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
Dctor_func.pass.cpp47 std::packaged_task<double(int, char)> p(A(5)); in main()
59 std::packaged_task<double(int, char)> p(a); in main()
68 std::packaged_task<int(int)> p(&func); in main()
75 std::packaged_task<int(int)> p(func); in main()
Dget_future.pass.cpp36 std::packaged_task<double(int, char)> p(A(5)); in main()
43 std::packaged_task<double(int, char)> p(A(5)); in main()
56 std::packaged_task<double(int, char)> p; in main()
Dctor_copy.fail.cpp24 std::packaged_task<double(int, char)> p0; in main()
25 …std::packaged_task<double(int, char)> p(p0); // expected-error {{call to deleted constructor of 's… in main()
/external/libcxx/test/std/thread/futures/futures.task/futures.task.nonmembers/
Dswap.pass.cpp37 std::packaged_task<double(int, char)> p0(A(5)); in main()
38 std::packaged_task<double(int, char)> p; in main()
47 std::packaged_task<double(int, char)> p0; in main()
48 std::packaged_task<double(int, char)> p; in main()
/external/llvm-project/libcxx/test/std/thread/futures/futures.task/futures.task.nonmembers/
Dswap.pass.cpp38 std::packaged_task<double(int, char)> p0(A(5)); in main()
39 std::packaged_task<double(int, char)> p; in main()
48 std::packaged_task<double(int, char)> p0; in main()
49 std::packaged_task<double(int, char)> p; in main()
/external/llvm-project/libcxx/include/
Dfuture318 template <class> class packaged_task; // undefined
321 class packaged_task<R(ArgTypes...)>
327 packaged_task() noexcept;
329 explicit packaged_task(F&& f);
331 packaged_task(allocator_arg_t, const Allocator& a, F&& f);
332 ~packaged_task();
335 packaged_task(const packaged_task&) = delete;
336 packaged_task& operator=(const packaged_task&) = delete;
339 packaged_task(packaged_task&& other) noexcept;
340 packaged_task& operator=(packaged_task&& other) noexcept;
[all …]
/external/libcxx/include/
Dfuture319 template <class> class packaged_task; // undefined
322 class packaged_task<R(ArgTypes...)>
328 packaged_task() noexcept;
330 explicit packaged_task(F&& f);
332 packaged_task(allocator_arg_t, const Allocator& a, F&& f);
333 ~packaged_task();
336 packaged_task(const packaged_task&) = delete;
337 packaged_task& operator=(const packaged_task&) = delete;
340 packaged_task(packaged_task&& other) noexcept;
341 packaged_task& operator=(packaged_task&& other) noexcept;
[all …]

123