/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.traits/ |
D | promise_type.pass.cpp | 17 template <class T, class = typename T::promise_type> 25 using promise_type = A*; typedef 32 using promise_type = void; typedef 39 using promise_type = int*; typedef 43 using promise_type = B*; typedef 47 using promise_type = void; typedef 55 static_assert(std::is_same<typename Traits::promise_type, Expect>::value, ""); in check_type()
|
/external/libcxx/test/support/ |
D | coroutine_types.h | 17 struct promise_type { struct 31 std::experimental::coroutine_handle<promise_type> _Coro; 34 iterator(std::experimental::coroutine_handle<promise_type> Coro, bool Done) in iterator() 69 explicit generator(promise_type *p) in generator() 70 : p(std::experimental::coroutine_handle<promise_type>::from_promise(*p)) {} in generator() 72 std::experimental::coroutine_handle<promise_type> p;
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/ |
D | void_handle.pass.cpp | 18 using promise_type = A*; typedef 27 using promise_type = int*; typedef 31 using promise_type = B*; typedef 35 using promise_type = void; typedef 41 using P = typename coro::coroutine_traits<T, Args...>::promise_type ; in check_type()
|
/external/libcxx/test/libcxx/experimental/language.support/support.coroutines/ |
D | dialect_support.sh.cpp | 28 struct promise_type { struct 29 typedef coro::coroutine_handle<promise_type> HandleT; argument 40 typedef promise_type::HandleT HandleT; 44 coro::coroutine_handle<promise_type> p;
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/end.to.end/ |
D | bool_await_suspend.pass.cpp | 22 struct promise_type { struct 24 return coroutine_handle<promise_type>::from_promise(*this); in get_return_object() 31 coro_t(coroutine_handle<promise_type> hh) : h(hh) {} in coro_t() 32 coroutine_handle<promise_type> h;
|
D | generator.pass.cpp | 25 struct promise_type { struct 52 explicit minig(promise_type *p) in minig() 53 : p(coroutine_handle<promise_type>::from_promise(*p)) {} in minig() 55 coroutine_handle<promise_type> p;
|
D | oneshot_func.pass.cpp | 23 struct promise_type { struct 64 func(promise_type *promise) in func() 65 : h(coroutine_handle<promise_type>::from_promise(*promise)) {} in func() 66 coroutine_handle<promise_type> h;
|
D | multishot_func.pass.cpp | 23 struct promise_type { struct 73 func(promise_type *promise) in func() 74 : h(coroutine_handle<promise_type>::from_promise(*promise)) {} in func() 75 coroutine_handle<promise_type> h;
|
D | await_result.pass.cpp | 19 struct promise_type { struct 21 coroutine_handle<promise_type>{}; in get_return_object()
|
D | expected.pass.cpp | 38 struct promise_type { struct 49 void await_suspend(coroutine_handle<promise_type> h) { in await_suspend()
|
D | go.pass.cpp | 43 struct promise_type struct 61 coroutine_handle<goroutine::promise_type> workaround; argument
|
D | fullexpr-dtor.pass.cpp | 47 struct promise_type { struct
|
/external/clang/test/SemaCXX/ |
D | coroutines.cpp | 32 using promise_type = Promise; typedef 45 template<> struct std::coroutine_traits<double, double> { typedef int promise_type; }; typedef 51 struct promise_type {}; struct 58 template<typename ...T> struct std::coroutine_traits<void, T...> { using promise_type = promise; }; typedef 187 struct promise_type { struct
|
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.prom/ |
D | promise.pass.cpp | 32 struct promise_type { struct 45 using CH = coro::coroutine_handle<promise_type>; in do_runtime_test() 46 using CCH = coro::coroutine_handle<const promise_type>; in do_runtime_test()
|
/external/libcxx/include/experimental/ |
D | coroutine | 79 _Tp, typename __void_t<typename _Tp::promise_type>::type> 81 using promise_type = typename _Tp::promise_type; 240 "coroutine_handle<promise_type>::from_address cannot be called with " 247 "coroutine_handle<promise_type>::from_address cannot be used with "
|
/external/clang/include/clang/Basic/ |
D | DiagnosticSemaKinds.td | 8443 "this function cannot be a coroutine: %q0 has no member named 'promise_type'">;
|