Home
last modified time | relevance | path

Searched refs:Coroutine (Results 1 – 25 of 31) sorted by relevance

12

/external/clang/lib/Sema/
DSemaCoroutine.cpp228 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/
Dfcmp.py3 from Coroutine import *
15 co = Coroutine()
31 co1 = Coroutine(); f1 = co1.create(fringe, co1, l1)
32 co2 = Coroutine(); f2 = co2.create(fringe, co2, l2)
Dsquasher.py43 from Coroutine import *
95 co = Coroutine()
DREADME9 Coroutine.py Coroutines using threads, by Tim Peters (22 May 94)
DCoroutine.py99 class Coroutine: class
/external/python/cpython3/Doc/c-api/
Dcoro.rst5 Coroutine Objects
10 Coroutine objects are what functions declared with an ``async`` keyword
/external/python/cpython3/Doc/library/
Dcollections.abc.rst93 :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``.
Dtyping.rst651 .. 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]
Dasyncio-dev.rst169 Coroutine created at (most recent call last)
Dtypes.rst355 Coroutine Utility Functions
Dasyncio-stream.rst430 Coroutine waiting until a socket receives data using the
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b3.rst39 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/
Dtest_collections.py21 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 …]
Dtest_typing.py1933 self.assertIsInstance(g, typing.Coroutine)
1935 isinstance(g, typing.Coroutine[int])
1936 self.assertNotIsInstance(foo, typing.Coroutine)
Dtest_types.py1445 self.assertIsInstance(wrapper, collections.abc.Coroutine)
/external/ltp/testcases/kernel/syscalls/epoll/
DREADME.1ST20 Portable Coroutine Library (PCL) http://www.xmailserver.org/libpcl.html
/external/python/cpython3/Lib/
D_collections_abc.py114 class Coroutine(Awaitable): class
150 if cls is Coroutine:
155 Coroutine.register(coroutine)
Dtypes.py283 not isinstance(coro, _collections_abc.Coroutine)):
Dtyping.py1195 Coroutine = _alias(collections.abc.Coroutine, (T_co, T_contra, V_co)) variable
/external/python/cpython3/Lib/asyncio/
Dcoroutines.py169 collections.abc.Coroutine, CoroWrapper)
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIntrinsics.td772 //===------------------------ 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/
DCoroutines.rst70 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/
Dno-suspend.ll4 ; Coroutine with no-suspends will turn into:
/external/python/cpython3/Doc/reference/
Ddatamodel.rst628 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/
D3.5.rst176 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`,

12