Home
last modified time | relevance | path

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

123

/external/libcxx/test/std/thread/futures/futures.shared_future/
Dcopy_ctor.pass.cpp30 std::shared_future<T> f0 = p.get_future(); in main()
31 std::shared_future<T> f = f0; in main()
33 static_assert(noexcept(std::shared_future<T>{f0}), "" ); in main()
40 std::shared_future<T> f0; in main()
41 std::shared_future<T> f = f0; in main()
48 std::shared_future<T> f0 = p.get_future(); in main()
49 std::shared_future<T> f = f0; in main()
55 std::shared_future<T> f0; in main()
56 std::shared_future<T> f = std::move(f0); in main()
63 std::shared_future<T> f0 = p.get_future(); in main()
[all …]
Dcopy_assign.pass.cpp30 std::shared_future<T> f0 = p.get_future(); in main()
31 std::shared_future<T> f; in main()
41 std::shared_future<T> f0; in main()
42 std::shared_future<T> f; in main()
50 std::shared_future<T> f0 = p.get_future(); in main()
51 std::shared_future<T> f; in main()
58 std::shared_future<T> f0; in main()
59 std::shared_future<T> f; in main()
67 std::shared_future<T> f0 = p.get_future(); in main()
68 std::shared_future<T> f; in main()
[all …]
Dmove_ctor.pass.cpp27 std::shared_future<T> f0 = p.get_future(); in main()
28 std::shared_future<T> f = std::move(f0); in main()
34 std::shared_future<T> f0; in main()
35 std::shared_future<T> f = std::move(f0); in main()
42 std::shared_future<T> f0 = p.get_future(); in main()
43 std::shared_future<T> f = std::move(f0); in main()
49 std::shared_future<T> f0; in main()
50 std::shared_future<T> f = std::move(f0); in main()
57 std::shared_future<T> f0 = p.get_future(); in main()
58 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.cpp28 std::shared_future<T> f = std::move(f0); in main()
35 std::shared_future<T> f = std::move(f0); in main()
43 std::shared_future<T> f = std::move(f0); in main()
50 std::shared_future<T> f = std::move(f0); in main()
58 std::shared_future<T> f = std::move(f0); in main()
65 std::shared_future<T> f = std::move(f0); in main()
Dget.pass.cpp71 std::shared_future<T> f = p.get_future(); in main()
80 std::shared_future<T> f = p.get_future(); in main()
100 std::shared_future<T> f = p.get_future(); in main()
109 std::shared_future<T> f = p.get_future(); in main()
129 std::shared_future<T> f = p.get_future(); in main()
138 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()
/external/llvm-project/libcxx/test/std/thread/futures/futures.shared_future/
Dcopy_ctor.pass.cpp29 std::shared_future<T> f0 = p.get_future(); in main()
30 std::shared_future<T> f = f0; in main()
32 static_assert(noexcept(std::shared_future<T>{f0}), "" ); in main()
39 std::shared_future<T> f0; in main()
40 std::shared_future<T> f = f0; in main()
47 std::shared_future<T> f0 = p.get_future(); in main()
48 std::shared_future<T> f = f0; in main()
54 std::shared_future<T> f0; in main()
55 std::shared_future<T> f = std::move(f0); in main()
62 std::shared_future<T> f0 = p.get_future(); in main()
[all …]
Dmove_ctor.pass.cpp28 std::shared_future<T> f0 = p.get_future(); in main()
29 std::shared_future<T> f = std::move(f0); in main()
35 std::shared_future<T> f0; in main()
36 std::shared_future<T> f = std::move(f0); in main()
43 std::shared_future<T> f0 = p.get_future(); in main()
44 std::shared_future<T> f = std::move(f0); in main()
50 std::shared_future<T> f0; in main()
51 std::shared_future<T> f = std::move(f0); in main()
58 std::shared_future<T> f0 = p.get_future(); in main()
59 std::shared_future<T> f = std::move(f0); in main()
[all …]
Dcopy_assign.pass.cpp29 std::shared_future<T> f0 = p.get_future(); in main()
30 std::shared_future<T> f; in main()
40 std::shared_future<T> f0; in main()
41 std::shared_future<T> f; in main()
49 std::shared_future<T> f0 = p.get_future(); in main()
50 std::shared_future<T> f; in main()
57 std::shared_future<T> f0; in main()
58 std::shared_future<T> f; in main()
66 std::shared_future<T> f0 = p.get_future(); in main()
67 std::shared_future<T> f; in main()
[all …]
Dmove_assign.pass.cpp28 std::shared_future<T> f0 = p.get_future(); in main()
29 std::shared_future<T> f; in main()
36 std::shared_future<T> f0; in main()
37 std::shared_future<T> f; in main()
45 std::shared_future<T> f0 = p.get_future(); in main()
46 std::shared_future<T> f; in main()
53 std::shared_future<T> f0; in main()
54 std::shared_future<T> f; in main()
62 std::shared_future<T> f0 = p.get_future(); in main()
63 std::shared_future<T> f; in main()
[all …]
Dctor_future.pass.cpp29 std::shared_future<T> f = std::move(f0); in main()
36 std::shared_future<T> f = std::move(f0); in main()
44 std::shared_future<T> f = std::move(f0); in main()
51 std::shared_future<T> f = std::move(f0); in main()
59 std::shared_future<T> f = std::move(f0); in main()
66 std::shared_future<T> f = std::move(f0); in main()
Dget.pass.cpp71 std::shared_future<T> f = p.get_future(); in main()
80 std::shared_future<T> f = p.get_future(); in main()
100 std::shared_future<T> f = p.get_future(); in main()
109 std::shared_future<T> f = p.get_future(); in main()
129 std::shared_future<T> f = p.get_future(); in main()
138 std::shared_future<T> f = p.get_future(); in main()
Ddefault.pass.cpp25 std::shared_future<int> f; in main()
29 std::shared_future<int&> f; in main()
33 std::shared_future<void> f; in main()
Dwait_for.pass.cpp59 std::shared_future<T> f = p.get_future(); in main()
72 std::shared_future<T> f = p.get_future(); in main()
85 std::shared_future<T> f = p.get_future(); in main()
99 std::shared_future<T> f = p.get_future(); in main()
115 std::shared_future<T> f = p.get_future(); in main()
131 std::shared_future<T> f = p.get_future(); in main()
/external/llvm-project/libcxx/include/
Dfuture158 shared_future<R> share() noexcept;
185 shared_future<R&> share() noexcept;
212 shared_future<void> share() noexcept;
230 class shared_future
233 shared_future() noexcept;
234 shared_future(const shared_future& rhs);
235 shared_future(future<R>&&) noexcept;
236 shared_future(shared_future&& rhs) noexcept;
237 ~shared_future();
238 shared_future& operator=(const shared_future& rhs);
[all …]
/external/libcxx/include/
Dfuture159 shared_future<R> share() noexcept;
186 shared_future<R&> share() noexcept;
213 shared_future<void> share() noexcept;
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/llvm-project/libcxx/test/std/thread/futures/futures.unique_future/
Dshare.pass.cpp30 std::shared_future<T> f = f0.share(); in main()
38 std::shared_future<T> f = f0.share(); in main()
47 std::shared_future<T> f = f0.share(); in main()
55 std::shared_future<T> f = f0.share(); in main()
64 std::shared_future<T> f = f0.share(); in main()
72 std::shared_future<T> f = f0.share(); in main()
/external/libcxx/test/std/thread/futures/futures.unique_future/
Dshare.pass.cpp29 std::shared_future<T> f = f0.share(); in main()
37 std::shared_future<T> f = f0.share(); in main()
46 std::shared_future<T> f = f0.share(); in main()
54 std::shared_future<T> f = f0.share(); in main()
63 std::shared_future<T> f = f0.share(); in main()
71 std::shared_future<T> f = 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/llvm-project/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/llvm-project/llvm/include/llvm/Support/
DThreadPool.h54 inline std::shared_future<void> async(Function &&F, Args &&... ArgList) { in async()
63 inline std::shared_future<void> async(Function &&F) { in async()
78 std::shared_future<void> asyncImpl(TaskTy F);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DThreadPool.h54 inline std::shared_future<void> async(Function &&F, Args &&... ArgList) { in async()
63 inline std::shared_future<void> async(Function &&F) { in async()
74 std::shared_future<void> asyncImpl(TaskTy F);
/external/llvm-project/libcxx/src/
Dfuture.cpp258 shared_future<void>::~shared_future() in ~shared_future()
264 shared_future<void>&
265 shared_future<void>::operator=(const shared_future& __rhs) in operator =()
/external/libcxx/src/
Dfuture.cpp259 shared_future<void>::~shared_future() in ~shared_future()
265 shared_future<void>&
266 shared_future<void>::operator=(const shared_future& __rhs) in operator =()

123