Home
last modified time | relevance | path

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

/external/libcxx/test/std/thread/futures/futures.tas/futures.task.members/
Doperator.pass.cpp36 void func0(std::packaged_task<double(int, char)> p) in func0()
42 void func1(std::packaged_task<double(int, char)> p) in func1()
48 void func2(std::packaged_task<double(int, char)> p) in func2()
61 void func3(std::packaged_task<double(int, char)> p) in func3()
76 std::packaged_task<double(int, char)> p(A(5)); in main()
82 std::packaged_task<double(int, char)> p(A(5)); in main()
96 std::packaged_task<double(int, char)> p(A(5)); in main()
103 std::packaged_task<double(int, char)> p; in main()
Dmake_ready_at_thread_exit.pass.cpp36 void func0(std::packaged_task<double(int, char)> p) in func0()
42 void func1(std::packaged_task<double(int, char)> p) in func1()
48 void func2(std::packaged_task<double(int, char)> p) in func2()
61 void func3(std::packaged_task<double(int, char)> p) in func3()
76 std::packaged_task<double(int, char)> p(A(5)); in main()
82 std::packaged_task<double(int, char)> p(A(5)); in main()
96 std::packaged_task<double(int, char)> p(A(5)); in main()
102 std::packaged_task<double(int, char)> p; in main()
Dctor_copy.fail.cpp32 std::packaged_task<double(int, char)> p0(A(5)); in main()
33 std::packaged_task<double(int, char)> p(p0); in main()
41 std::packaged_task<double(int, char)> p0; in main()
42 std::packaged_task<double(int, char)> p(p0); in main()
Dassign_copy.fail.cpp32 std::packaged_task<double(int, char)> p0(A(5)); in main()
33 std::packaged_task<double(int, char)> p; in main()
42 std::packaged_task<double(int, char)> p0; in main()
43 std::packaged_task<double(int, char)> p; in main()
Dswap.pass.cpp34 std::packaged_task<double(int, char)> p0(A(5)); in main()
35 std::packaged_task<double(int, char)> p; in main()
44 std::packaged_task<double(int, char)> p0; in main()
45 std::packaged_task<double(int, char)> p; in main()
Dctor_move.pass.cpp34 std::packaged_task<double(int, char)> p0(A(5)); in main()
35 std::packaged_task<double(int, char)> p = std::move(p0); in main()
43 std::packaged_task<double(int, char)> p0; in main()
44 std::packaged_task<double(int, char)> p = std::move(p0); in main()
Dassign_move.pass.cpp34 std::packaged_task<double(int, char)> p0(A(5)); in main()
35 std::packaged_task<double(int, char)> p; in main()
44 std::packaged_task<double(int, char)> p0; in main()
45 std::packaged_task<double(int, char)> p; in main()
Ddtor.pass.cpp31 void func(std::packaged_task<double(int, char)> p) in func()
35 void func2(std::packaged_task<double(int, char)> p) in func2()
43 std::packaged_task<double(int, char)> p(A(5)); in main()
57 std::packaged_task<double(int, char)> p(A(5)); in main()
Dctor_func_alloc.pass.cpp48 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
63 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
78 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), &func); in main()
90 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), func); in main()
101 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
113 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
Dctor_func.pass.cpp45 std::packaged_task<double(int, char)> p(A(5)); in main()
57 std::packaged_task<double(int, char)> p(a); in main()
66 std::packaged_task<int(int)> p(&func); in main()
73 std::packaged_task<int(int)> p(func); in main()
Dget_future.pass.cpp34 std::packaged_task<double(int, char)> p(A(5)); in main()
40 std::packaged_task<double(int, char)> p(A(5)); in main()
53 std::packaged_task<double(int, char)> p; in main()
Dctor1.fail.cpp22 typedef std::packaged_task<A(int, char)> PT;
23 typedef volatile std::packaged_task<A(int, char)> VPT;
Dctor2.fail.cpp24 typedef std::packaged_task<A(int, char)> PT;
25 typedef volatile std::packaged_task<A(int, char)> VPT;
Dreset.pass.cpp39 std::packaged_task<double(int, char)> p(A(5)); in main()
49 std::packaged_task<double(int, char)> p; in main()
Dctor_default.pass.cpp25 std::packaged_task<A(int, char)> p; in main()
/external/libcxx/test/std/thread/futures/futures.tas/futures.task.nonmembers/
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()
Duses_allocator.pass.cpp25 …static_assert((std::uses_allocator<std::packaged_task<double(int, char)>, test_allocator<int> >::v… in main()
/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 explicit 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 …]
/external/libcxx/test/std/thread/futures/futures.tas/
Dtypes.pass.cpp27 static_assert((std::is_same<std::packaged_task<A(int, char)>::result_type, A>::value), ""); in main()
/external/clang/test/SemaTemplate/
Dfriend-template.cpp256 int packaged_task; member
258 template<typename> friend class packaged_task;