Home
last modified time | relevance | path

Searched refs:shared_future (Results 1 – 18 of 18) sorted by relevance

/external/libcxx/test/std/thread/futures/futures.shared_future/
Dcopy_ctor.pass.cpp26 std::shared_future<T> f0 = p.get_future(); in main()
27 std::shared_future<T> f = f0; in main()
33 std::shared_future<T> f0; in main()
34 std::shared_future<T> f = f0; in main()
41 std::shared_future<T> f0 = p.get_future(); in main()
42 std::shared_future<T> f = f0; in main()
48 std::shared_future<T> f0; in main()
49 std::shared_future<T> f = std::move(f0); in main()
56 std::shared_future<T> f0 = p.get_future(); in main()
57 std::shared_future<T> f = f0; in main()
[all …]
Dcopy_assign.pass.cpp27 std::shared_future<T> f0 = p.get_future(); in main()
28 std::shared_future<T> f; in main()
35 std::shared_future<T> f0; in main()
36 std::shared_future<T> f; in main()
44 std::shared_future<T> f0 = p.get_future(); in main()
45 std::shared_future<T> f; in main()
52 std::shared_future<T> f0; in main()
53 std::shared_future<T> f; in main()
61 std::shared_future<T> f0 = p.get_future(); in main()
62 std::shared_future<T> f; in main()
[all …]
Dmove_ctor.pass.cpp26 std::shared_future<T> f0 = p.get_future(); in main()
27 std::shared_future<T> f = std::move(f0); in main()
33 std::shared_future<T> f0; in main()
34 std::shared_future<T> f = std::move(f0); in main()
41 std::shared_future<T> f0 = p.get_future(); in main()
42 std::shared_future<T> f = std::move(f0); in main()
48 std::shared_future<T> f0; in main()
49 std::shared_future<T> f = std::move(f0); in main()
56 std::shared_future<T> f0 = p.get_future(); in main()
57 std::shared_future<T> f = std::move(f0); in main()
[all …]
Dmove_assign.pass.cpp27 std::shared_future<T> f0 = p.get_future(); in main()
28 std::shared_future<T> f; in main()
35 std::shared_future<T> f0; in main()
36 std::shared_future<T> f; in main()
44 std::shared_future<T> f0 = p.get_future(); in main()
45 std::shared_future<T> f; in main()
52 std::shared_future<T> f0; in main()
53 std::shared_future<T> f; in main()
61 std::shared_future<T> f0 = p.get_future(); in main()
62 std::shared_future<T> f; in main()
[all …]
Dctor_future.pass.cpp27 std::shared_future<T> f = std::move(f0); in main()
34 std::shared_future<T> f = std::move(f0); in main()
42 std::shared_future<T> f = std::move(f0); in main()
49 std::shared_future<T> f = std::move(f0); in main()
57 std::shared_future<T> f = std::move(f0); in main()
64 std::shared_future<T> f = std::move(f0); in main()
Dget.pass.cpp68 std::shared_future<T> f = p.get_future(); in main()
76 std::shared_future<T> f = p.get_future(); in main()
95 std::shared_future<T> f = p.get_future(); in main()
103 std::shared_future<T> f = p.get_future(); in main()
122 std::shared_future<T> f = p.get_future(); in main()
130 std::shared_future<T> f = p.get_future(); in main()
Ddefault.pass.cpp24 std::shared_future<int> f; in main()
28 std::shared_future<int&> f; in main()
32 std::shared_future<void> f; in main()
Ddtor.pass.cpp28 std::shared_future<T> f; in main()
42 std::shared_future<T> f; in main()
56 std::shared_future<T> f; in main()
Dwait.pass.cpp49 std::shared_future<T> f = p.get_future(); in main()
63 std::shared_future<T> f = p.get_future(); in main()
77 std::shared_future<T> f = p.get_future(); in main()
Dwait_for.pass.cpp52 std::shared_future<T> f = p.get_future(); in main()
68 std::shared_future<T> f = p.get_future(); in main()
84 std::shared_future<T> f = p.get_future(); in main()
Dwait_until.pass.cpp69 std::shared_future<T> f = p.get_future(); in main()
90 std::shared_future<T> f = p.get_future(); in main()
111 std::shared_future<T> f = p.get_future(); in main()
/external/libcxx/include/
Dfuture159 shared_future<R> share();
186 shared_future<R&> share();
213 shared_future<void> share();
231 class shared_future
234 shared_future() noexcept;
235 shared_future(const shared_future& rhs);
236 shared_future(future<R>&&) noexcept;
237 shared_future(shared_future&& rhs) noexcept;
238 ~shared_future();
239 shared_future& operator=(const shared_future& rhs);
[all …]
/external/libcxx/test/std/thread/futures/futures.unique_future/
Dshare.pass.cpp27 std::shared_future<T> f = std::move(f0.share()); in main()
34 std::shared_future<T> f = std::move(f0.share()); in main()
42 std::shared_future<T> f = std::move(f0.share()); in main()
49 std::shared_future<T> f = std::move(f0.share()); in main()
57 std::shared_future<T> f = std::move(f0.share()); in main()
64 std::shared_future<T> f = std::move(f0.share()); in main()
/external/clang/test/SemaCXX/
Dlinkage2.cpp59 class __attribute__ ((__visibility__("default"))) shared_future;
62 template <class> friend class shared_future;
63 shared_future<_Rp> share();
68 struct shared_future<_Rp&> { struct
69 shared_future(future<_Rp&>&& __f);
75 shared_future<int&> f1 = get_future<int&>(); in f()
/external/libcxx/src/
Dfuture.cpp282 shared_future<void>::~shared_future() in ~shared_future()
288 shared_future<void>&
289 shared_future<void>::operator=(const shared_future& __rhs) in operator =()
/external/llvm/include/llvm/Support/
DThreadPool.h77 inline std::shared_future<VoidTy> async(Function &&F, Args &&... ArgList) { in async()
95 inline std::shared_future<VoidTy> async(Function &&F) { in async()
110 std::shared_future<VoidTy> asyncImpl(TaskTy F);
/external/llvm/lib/Support/
DThreadPool.cpp82 std::shared_future<ThreadPool::VoidTy> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
136 std::shared_future<ThreadPool::VoidTy> ThreadPool::asyncImpl(TaskTy Task) { in asyncImpl()
/external/clang/test/
Dcxx-sections.data1487 30.6.6 [future.shared_future]