/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 228 auto *Coroutine = checkCoroutineContext(*this, Loc, "co_await"); in BuildCoawaitExpr() local 229 if (!Coroutine) in BuildCoawaitExpr() 240 Coroutine->CoroutineStmts.push_back(Res); in BuildCoawaitExpr() 256 Coroutine->CoroutineStmts.push_back(Res); in BuildCoawaitExpr() 260 static ExprResult buildPromiseCall(Sema &S, FunctionScopeInfo *Coroutine, in buildPromiseCall() argument 263 assert(Coroutine->CoroutinePromise && "no promise for coroutine"); in buildPromiseCall() 266 auto *Promise = Coroutine->CoroutinePromise; in buildPromiseCall() 277 auto *Coroutine = checkCoroutineContext(*this, Loc, "co_yield"); in ActOnCoyieldExpr() local 278 if (!Coroutine) in ActOnCoyieldExpr() 283 buildPromiseCall(*this, Coroutine, Loc, "yield_value", E); in ActOnCoyieldExpr() [all …]
|
/external/python/cpython2/Demo/threads/ |
D | fcmp.py | 3 from Coroutine import * 15 co = Coroutine() 31 co1 = Coroutine(); f1 = co1.create(fringe, co1, l1) 32 co2 = Coroutine(); f2 = co2.create(fringe, co2, l2)
|
D | squasher.py | 43 from Coroutine import * 95 co = Coroutine()
|
D | README | 9 Coroutine.py Coroutines using threads, by Tim Peters (22 May 94)
|
D | Coroutine.py | 99 class Coroutine: class
|
/external/python/cpython3/Doc/c-api/ |
D | coro.rst | 5 Coroutine Objects 10 Coroutine objects are what functions declared with an ``async`` keyword
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 93 :class:`Coroutine` :class:`Awaitable` ``send``, ``throw`` ``close`` 188 :term:`Coroutine` objects and instances of the 189 :class:`~collections.abc.Coroutine` ABC are all instances of this ABC. 200 .. class:: Coroutine 206 :meth:`__await__`. All :class:`Coroutine` instances are also instances of 213 Using ``isinstance(gencoro, Coroutine)`` for them will return ``False``.
|
D | typing.rst | 651 .. class:: Coroutine(Awaitable[V_co], Generic[T_co T_contra, V_co]) 653 A generic version of :class:`collections.abc.Coroutine`. 657 from typing import List, Coroutine 658 c = None # type: Coroutine[List[str], str, int]
|
D | asyncio-dev.rst | 169 Coroutine created at (most recent call last)
|
D | types.rst | 355 Coroutine Utility Functions
|
D | asyncio-stream.rst | 430 Coroutine waiting until a socket receives data using the
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b3.rst | 39 coroutines; inspect.iscoroutine no longer uses collections.abc.Coroutine, 43 collections.abc.Coroutine can no longer be used to detect generator-based
|
/external/python/cpython3/Lib/test/ |
D | test_collections.py | 21 from collections.abc import Awaitable, Coroutine 617 class MinimalCoro(Coroutine): 646 Coroutine.register(CoroLike) 667 class MinimalCoro(Coroutine): 677 self.assertNotIsInstance(x, Coroutine) 678 self.assertFalse(issubclass(type(x), Coroutine), repr(type(x))) 689 self.assertNotIsInstance(c, Coroutine) 692 self.assertIsInstance(c, Coroutine) 704 self.assertTrue(isinstance(CoroLike(), Coroutine)) 705 self.assertTrue(issubclass(CoroLike, Coroutine)) [all …]
|
D | test_typing.py | 1933 self.assertIsInstance(g, typing.Coroutine) 1935 isinstance(g, typing.Coroutine[int]) 1936 self.assertNotIsInstance(foo, typing.Coroutine)
|
D | test_types.py | 1445 self.assertIsInstance(wrapper, collections.abc.Coroutine)
|
/external/ltp/testcases/kernel/syscalls/epoll/ |
D | README.1ST | 20 Portable Coroutine Library (PCL) http://www.xmailserver.org/libpcl.html
|
/external/python/cpython3/Lib/ |
D | _collections_abc.py | 114 class Coroutine(Awaitable): class 150 if cls is Coroutine: 155 Coroutine.register(coroutine)
|
D | types.py | 283 not isinstance(coro, _collections_abc.Coroutine)):
|
D | typing.py | 1195 Coroutine = _alias(collections.abc.Coroutine, (T_co, T_contra, V_co)) variable
|
/external/python/cpython3/Lib/asyncio/ |
D | coroutines.py | 169 collections.abc.Coroutine, CoroWrapper)
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Intrinsics.td | 772 //===------------------------ Coroutine Intrinsics ---------------===// 775 // Coroutine Structure Intrinsics. 800 // Coroutine Manipulation Intrinsics. 810 // Coroutine Lowering Intrinsics. Used internally by coroutine passes.
|
/external/swiftshader/third_party/llvm-7.0/llvm/docs/ |
D | Coroutines.rst | 70 Coroutine Representation 142 Coroutine Transformation 403 Coroutine Promise 560 Coroutine Manipulation Intrinsics 724 Coroutine Structure Intrinsics 1264 Coroutine Transformation Passes
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Coroutines/ |
D | no-suspend.ll | 4 ; Coroutine with no-suspends will turn into:
|
/external/python/cpython3/Doc/reference/ |
D | datamodel.rst | 628 Coroutine functions 2555 :term:`Coroutine` objects returned from :keyword:`async def` functions 2577 Coroutine Objects 2580 :term:`Coroutine` objects are :term:`awaitable` objects. 2627 Coroutine objects are automatically closed using the above process when
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 176 Coroutine functions are declared using the new :keyword:`async def` syntax:: 247 Coroutine functions are intended to be run inside a compatible event loop, 948 New :class:`~collections.abc.Awaitable`, :class:`~collections.abc.Coroutine`,
|