/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/ |
D | make_ready_at_thread_exit.pass.cpp | 39 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()
|
D | operator.pass.cpp | 39 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()
|
D | ctor_move.pass.cpp | 35 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()
|
D | swap.pass.cpp | 35 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()
|
D | assign_move.pass.cpp | 35 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()
|
D | ctor_func_alloc.pass.cpp | 51 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()
|
D | dtor.pass.cpp | 34 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()
|
D | ctor_func.pass.cpp | 46 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()
|
D | get_future.pass.cpp | 37 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()
|
D | ctor_copy.fail.cpp | 25 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()
|
D | ctor2.fail.cpp | 27 typedef std::packaged_task<A(int, char)> PT; 28 typedef volatile std::packaged_task<A(int, char)> VPT;
|
D | ctor1.fail.cpp | 25 typedef std::packaged_task<A(int, char)> PT; 26 typedef volatile std::packaged_task<A(int, char)> VPT;
|
D | reset.pass.cpp | 40 std::packaged_task<double(int, char)> p(A(5)); in main() 51 std::packaged_task<double(int, char)> p; in main()
|
D | assign_copy.fail.cpp | 24 std::packaged_task<double(int, char)> p0, p; in main()
|
D | ctor_default.pass.cpp | 26 std::packaged_task<A(int, char)> p; in main()
|
/external/libcxx/test/std/thread/futures/futures.task/futures.task.nonmembers/ |
D | swap.pass.cpp | 37 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()
|
D | uses_allocator.pass.cpp | 33 …static_assert((std::uses_allocator<std::packaged_task<double(int, char)>, test_allocator<int> >::v… in main()
|
/external/libcxx/include/ |
D | future | 319 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 …]
|
/external/llvm/include/llvm/Support/ |
D | ThreadPool.h | 56 using PackagedTaskTy = std::packaged_task<void()>; 62 using PackagedTaskTy = std::packaged_task<bool(bool)>;
|
/external/libcxx/test/libcxx/thread/futures/futures.task/ |
D | types.pass.cpp | 30 static_assert((std::is_same<std::packaged_task<A(int, char)>::result_type, A>::value), ""); in main()
|
/external/clang/test/SemaTemplate/ |
D | friend-template.cpp | 256 int packaged_task; member 258 template<typename> friend class packaged_task;
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | ThreadPool.h | 40 using PackagedTaskTy = std::packaged_task<void()>;
|