/external/clang/test/SemaCXX/ |
D | coroutines.cpp | 3 struct awaitable { struct 75 awaitable yield_value(int); // expected-note 2{{candidate}} 76 awaitable yield_value(yielded_thing); // expected-note 2{{candidate}} 130 CtorDtor(awaitable a) { in CtorDtor() 168 template void await_template(awaitable); 171 …awaitable operator co_await(indirectly_awaitable); // expected-note {{should be declared prior to}} 189 awaitable yield_value(int()); 199 awaitable f(), f(int); // expected-note 4{{possible target}}
|
/external/llvm-project/clang/test/CodeGenCoroutines/ |
D | coro-newpm-pipeline.cpp | 35 struct awaitable { struct 47 awaitable initial_suspend() { return {}; } in initial_suspend() 48 awaitable final_suspend() noexcept { return {}; } in final_suspend()
|
D | coro-always-inline.cpp | 16 struct awaitable { struct 31 awaitable initial_suspend() { return {}; } in initial_suspend() 32 awaitable final_suspend() noexcept { return {}; } in final_suspend()
|
D | coro-symmetric-transfer-02.cpp | 31 auto await_transform(Awaitable &&awaitable) { in await_transform() 32 return awaitable.co_viaIfAsync(); in await_transform()
|
/external/llvm-project/clang/test/SemaCXX/ |
D | coroutines.cpp | 54 struct awaitable { struct 134 awaitable yield_value(int); // expected-note 2{{candidate}} 135 awaitable yield_value(yielded_thing); // expected-note 2{{candidate}} 300 CtorDtor(awaitable a) { in CtorDtor() 408 awaitable operator co_await(coawait_arg_type) noexcept; 417 template void await_template(awaitable); 420 …awaitable operator co_await(indirectly_awaitable); // expected-note {{should be declared prior to}} 449 awaitable initial_suspend(); 450 awaitable final_suspend() noexcept; 455 awaitable operator co_await(await_arg_1); [all …]
|
D | coreturn-eh.cpp | 9 struct awaitable { struct
|
D | coroutine_handle-addres-return-type.cpp | 60 struct awaitable { struct
|
D | coreturn.cpp | 7 struct awaitable { struct
|
/external/python/cpython3/Lib/test/ |
D | test_asyncgen.py | 14 def awaitable(*, throw=False): function 143 await awaitable() 146 await awaitable() 148 await awaitable() 155 await awaitable() 157 await awaitable() 184 await awaitable() 186 await awaitable(throw=True) 194 await awaitable() 268 await awaitable() [all …]
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | ubsan-coroutines.cpp | 41 struct awaitable { struct 49 awaitable a; in main() argument
|
/external/llvm-project/clang/test/AST/ |
D | coroutine-locals-cleanup.cpp | 31 auto await_transform(Awaitable &&awaitable) { in await_transform() 32 return awaitable.co_viaIfAsync(); in await_transform()
|
/external/llvm-project/llvm/test/Transforms/Coroutines/ |
D | coro-frame-reuse-alloca-01.ll | 6 %struct.awaitable = type { i8 } 14 %ref.tmp7 = alloca %struct.awaitable, align 1 16 %ref.tmp18 = alloca %struct.awaitable, align 1
|
D | coro-frame-reuse-alloca-02.ll | 6 %struct.awaitable = type { i8 } 16 %ref.tmp7 = alloca %struct.awaitable, align 1 18 %ref.tmp18 = alloca %struct.awaitable, align 1
|
/external/python/cpython3/Lib/unittest/ |
D | async_case.py | 100 fut, awaitable = query 102 ret = await awaitable
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testasync.py | 208 awaitable = spec(1, 2, c=3) 210 await awaitable 220 self.assertTrue(asyncio.iscoroutine(awaitable)) 237 awaitable = mock_method(1, 2, c=3) 241 self.assertTrue(asyncio.iscoroutine(awaitable)) 242 self.assertTrue(inspect.isawaitable(awaitable)) 250 await awaitable
|
/external/python/cpython3/Doc/library/ |
D | asyncio-task.rst | 112 We say that an object is an **awaitable** object if it can be used 116 There are three main types of *awaitable* objects: 182 A :class:`Future` is a special **low-level** awaitable object that 324 Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws* 327 If any awaitable in *aws* is a coroutine, it is automatically 408 Protect an :ref:`awaitable object <asyncio-awaitables>` 448 Wait for the *aw* :ref:`awaitable <asyncio-awaitables>` 506 Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws* 551 If any awaitable in *aws* is a coroutine, it is automatically 595 Run :ref:`awaitable objects <asyncio-awaitables>` in the *aws*
|
D | asyncio-future.rst | 48 awaitable (:func:`inspect.isawaitable` is used for the test.) 58 The function accepts any :term:`awaitable` object. 75 Future is an :term:`awaitable` object. Coroutines can await on
|
D | types.rst | 425 :term:`awaitable`. However, it may not necessarily implement 432 will be wrapped in an *awaitable* proxy object. All other types
|
D | collections.abc.rst | 192 ABC for :term:`awaitable` objects, which can be used in :keyword:`await`
|
/external/python/cpython3/Doc/reference/ |
D | expressions.rst | 631 :term:`awaitable` object, and the execution starts when this object 683 Returns an awaitable which when run starts to execute the asynchronous 687 the returned awaitable, which when run will continue to the next yield 691 yielding another value, the awaitable instead raises a 700 Returns an awaitable which when run resumes the execution of the 704 The awaitable returned by the :meth:`asend` method will return the next 715 Returns an awaitable that raises an exception of type ``type`` at the point 720 raised by the awaitable. 722 raises a different exception, then when the awaitable is run that exception 723 propagates to the caller of the awaitable. [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | tasks.py | 681 def _wrap_awaitable(awaitable): argument 687 return (yield from awaitable.__await__())
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0b4.rst | 87 the issue, __aiter__ returning an awaitable should result in
|
D | 3.9.0a2.rst | 518 AsyncMock fix for return values that are awaitable types. This also covers 519 side_effect iterable values that happened to be awaitable, and wraps 520 callables that return an awaitable type. Before these awaitables were being
|
D | 3.9.0rc2.rst | 200 itself and the completion of the wrapped awaitable.
|
D | 3.7.0b4.rst | 60 ``__aexit__()`` return non-awaitable object.
|