Home
last modified time | relevance | path

Searched refs:future (Results 1 – 25 of 94) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.unique_future/
Dcopy_ctor.fail.cpp24 std::future<T> f0 = p.get_future(); in main()
25 std::future<T> f = f0; in main()
31 std::future<T> f0; in main()
32 std::future<T> f = f0; in main()
39 std::future<T> f0 = p.get_future(); in main()
40 std::future<T> f = f0; in main()
46 std::future<T> f0; in main()
47 std::future<T> f = std::move(f0); in main()
54 std::future<T> f0 = p.get_future(); in main()
55 std::future<T> f = f0; in main()
[all …]
Dcopy_assign.fail.cpp25 std::future<T> f0 = p.get_future(); in main()
26 std::future<T> f; in main()
33 std::future<T> f0; in main()
34 std::future<T> f; in main()
42 std::future<T> f0 = p.get_future(); in main()
43 std::future<T> f; in main()
50 std::future<T> f0; in main()
51 std::future<T> f; in main()
59 std::future<T> f0 = p.get_future(); in main()
60 std::future<T> f; in main()
[all …]
Dmove_assign.pass.cpp25 std::future<T> f0 = p.get_future(); in main()
26 std::future<T> f; in main()
33 std::future<T> f0; in main()
34 std::future<T> f; in main()
42 std::future<T> f0 = p.get_future(); in main()
43 std::future<T> f; in main()
50 std::future<T> f0; in main()
51 std::future<T> f; in main()
59 std::future<T> f0 = p.get_future(); in main()
60 std::future<T> f; in main()
[all …]
Dmove_ctor.pass.cpp25 std::future<T> f0 = p.get_future(); in main()
26 std::future<T> f = std::move(f0); in main()
32 std::future<T> f0; in main()
33 std::future<T> f = std::move(f0); in main()
40 std::future<T> f0 = p.get_future(); in main()
41 std::future<T> f = std::move(f0); in main()
47 std::future<T> f0; in main()
48 std::future<T> f = std::move(f0); in main()
55 std::future<T> f0 = p.get_future(); in main()
56 std::future<T> f = std::move(f0); in main()
[all …]
Dshare.pass.cpp24 std::future<T> f0 = p.get_future(); in main()
31 std::future<T> f0; in main()
39 std::future<T> f0 = p.get_future(); in main()
46 std::future<T> f0; in main()
54 std::future<T> f0 = p.get_future(); in main()
61 std::future<T> f0; in main()
Ddefault.pass.cpp22 std::future<int> f; in main()
26 std::future<int&> f; in main()
30 std::future<void> f; in main()
Dget.pass.cpp66 std::future<T> f = p.get_future(); in main()
74 std::future<T> f = p.get_future(); in main()
93 std::future<T> f = p.get_future(); in main()
101 std::future<T> f = p.get_future(); in main()
120 std::future<T> f = p.get_future(); in main()
128 std::future<T> f = p.get_future(); in main()
Ddtor.pass.cpp26 std::future<T> f; in main()
40 std::future<T> f; in main()
54 std::future<T> f; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.async/
Dasync.pass.cpp67 std::future<int> f = std::async(f0); in main()
75 std::future<int> f = std::async(std::launch::async, f0); in main()
83 std::future<int> f = std::async(std::launch::any, f0); in main()
91 std::future<int> f = std::async(std::launch::deferred, f0); in main()
100 std::future<int&> f = std::async(f1); in main()
108 std::future<int&> f = std::async(std::launch::async, f1); in main()
116 std::future<int&> f = std::async(std::launch::any, f1); in main()
124 std::future<int&> f = std::async(std::launch::deferred, f1); in main()
133 std::future<void> f = std::async(f2); in main()
141 std::future<void> f = std::async(std::launch::async, f2); in main()
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.shared_future/
Dctor_future.pass.cpp24 std::future<T> f0 = p.get_future(); in main()
31 std::future<T> f0; in main()
39 std::future<T> f0 = p.get_future(); in main()
46 std::future<T> f0; in main()
54 std::future<T> f0 = p.get_future(); in main()
61 std::future<T> f0; in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.promise/
Ddtor.pass.cpp23 std::future<T> f; in main()
33 std::future<T> f; in main()
52 std::future<T> f; in main()
62 std::future<T> f; in main()
80 std::future<T> f; in main()
91 std::future<T> f; in main()
Ddefault.pass.cpp23 std::future<int> f = p.get_future(); in main()
28 std::future<int&> f = p.get_future(); in main()
33 std::future<void> f = p.get_future(); in main()
Dget_future.pass.cpp23 std::future<double> f = p.get_future(); in main()
29 std::future<double> f = p.get_future(); in main()
45 std::future<double> f = p.get_future(); in main()
Dalloc_ctor.pass.cpp28 std::future<int> f = p.get_future(); in main()
36 std::future<int&> f = p.get_future(); in main()
44 std::future<void> f = p.get_future(); in main()
Dswap.pass.cpp32 std::future<int> f = p.get_future(); in main()
46 std::future<int> f = p.get_future(); in main()
60 std::future<int> f = p.get_future(); in main()
74 std::future<int> f = p.get_future(); in main()
Dmove_ctor.pass.cpp29 std::future<int> f = p.get_future(); in main()
48 std::future<int&> f = p.get_future(); in main()
67 std::future<void> f = p.get_future(); in main()
Dcopy_ctor.fail.cpp28 std::future<int> f = p.get_future(); in main()
47 std::future<int&> f = p.get_future(); in main()
66 std::future<void> f = p.get_future(); in main()
Dset_value_const.pass.cpp31 std::future<T> f = p.get_future(); in main()
50 std::future<T> f = p.get_future(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dfuture2 //===--------------------------- future -----------------------------------===//
15 future synopsis
75 future<R> get_future();
105 future<R&> get_future();
133 future<void> get_future();
150 class future
153 future() noexcept;
154 future(future&&) noexcept;
155 future(const future& rhs) = delete;
156 ~future();
[all …]
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/thread/futures/futures.tas/futures.task.members/
Dctor_func.pass.cpp45 std::future<double> f = p.get_future(); in main()
57 std::future<double> f = p.get_future(); in main()
66 std::future<int> f = p.get_future(); in main()
73 std::future<int> f = p.get_future(); in main()
Dget_future.pass.cpp33 std::future<double> f = p.get_future(); in main()
39 std::future<double> f = p.get_future(); in main()
54 std::future<double> f = p.get_future(); in main()
Dctor_func_alloc.pass.cpp49 std::future<double> f = p.get_future(); in main()
64 std::future<double> f = p.get_future(); in main()
78 std::future<int> f = p.get_future(); in main()
90 std::future<int> f = p.get_future(); in main()
Doperator.pass.cpp75 std::future<double> f = p.get_future(); in main()
81 std::future<double> f = p.get_future(); in main()
95 std::future<double> f = p.get_future(); in main()
Dmake_ready_at_thread_exit.pass.cpp75 std::future<double> f = p.get_future(); in main()
81 std::future<double> f = p.get_future(); in main()
95 std::future<double> f = p.get_future(); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/src/
Dfuture.cpp192 future<void>::future(__assoc_sub_state* __state) in future() function in future
203 future<void>::~future() in ~future()
210 future<void>::get() in get()
235 future<void>
242 return future<void>(__state_); in get_future()

1234