/external/pandora/avatar/avatar/ |
D | aio.py | 19 from typing import Any, Awaitable, Callable, TypeVar 41 def run_until_complete(coro: Awaitable[_T]) -> _T: 47 def asynchronous(func: Callable[..., Awaitable[_T]]) -> Callable[..., _T]:
|
/external/python/python-api-core/google/api_core/operations_v1/transports/ |
D | base.py | 17 from typing import Awaitable, Callable, Optional, Sequence, Union 199 Awaitable[operations_pb2.ListOperationsResponse], 209 Union[operations_pb2.Operation, Awaitable[operations_pb2.Operation]], 218 Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]], 227 Union[empty_pb2.Empty, Awaitable[empty_pb2.Empty]],
|
/external/pigweed/pw_transfer/integration_test/ |
D | proxy.py | 31 from typing import Any, Awaitable, Callable, Iterable, List, Optional 76 def __init__(self, send_data: Callable[[bytes], Awaitable[None]]): 100 def __init__(self, send_data: Callable[[bytes], Awaitable[None]]): 118 send_data: Callable[[bytes], Awaitable[None]], 167 send_data: Callable[[bytes], Awaitable[None]], 204 self, send_data: Callable[[bytes], Awaitable[None]], rate: float 225 send_data: Callable[[bytes], Awaitable[None]], 296 send_data: Callable[[bytes], Awaitable[None]], 339 send_data: Callable[[bytes], Awaitable[None]], 385 send_data: Callable[[bytes], Awaitable[None]],
|
/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 222 ExprResult Awaitable = buildOperatorCoawaitCall(*this, S, Loc, E); in ActOnCoawaitExpr() local 223 if (Awaitable.isInvalid()) in ActOnCoawaitExpr() 225 return BuildCoawaitExpr(Loc, Awaitable.get()); in ActOnCoawaitExpr() 282 ExprResult Awaitable = in ActOnCoyieldExpr() local 284 if (Awaitable.isInvalid()) in ActOnCoyieldExpr() 288 Awaitable = buildOperatorCoawaitCall(*this, S, Loc, Awaitable.get()); in ActOnCoyieldExpr() 289 if (Awaitable.isInvalid()) in ActOnCoyieldExpr() 292 return BuildCoyieldExpr(Loc, Awaitable.get()); in ActOnCoyieldExpr()
|
/external/python/bumble/bumble/ |
D | utils.py | 23 from typing import Awaitable, Set, TypeVar 72 def abort_on(self, event: str, awaitable: Awaitable[_T]) -> Awaitable[_T]: 161 running_tasks: Set[Awaitable] = set()
|
/external/python/pyee/pyee/ |
D | trio.py | 5 from typing import Any, AsyncGenerator, Awaitable, Callable, Dict, Optional, Tuple, Type 74 ) -> Callable[[], Awaitable[None]]:
|
/external/python/cpython3/Lib/test/ |
D | test_coroutines.py | 972 class Awaitable: class 977 return (await Awaitable()) 985 class Awaitable: class 990 return (await Awaitable()) 995 class Awaitable: class 1001 return (await Awaitable()) 1006 class Awaitable: class 1009 async def foo(): return await Awaitable() 1070 class Awaitable: class 1075 return await Awaitable() [all …]
|
D | test_collections.py | 21 from collections.abc import Awaitable, Coroutine 793 self.assertNotIsInstance(x, Awaitable) 794 self.assertFalse(issubclass(type(x), Awaitable), repr(type(x))) 798 self.assertIsInstance(x, Awaitable) 799 self.assertTrue(issubclass(type(x), Awaitable)) 805 self.assertNotIsInstance(c, Awaitable) 808 self.assertIsInstance(c, Awaitable) 813 self.assertTrue(isinstance(CoroLike(), Awaitable)) 814 self.assertTrue(issubclass(CoroLike, Awaitable)) 848 self.assertIsInstance(x, Awaitable) [all …]
|
D | test_genericalias.py | 60 Awaitable, Coroutine,
|
D | test_types.py | 1807 class Awaitable: class 1810 aw = Awaitable() 1897 self.assertIsInstance(wrapper, collections.abc.Awaitable)
|
D | test_typing.py | 3480 self.assertIsInstance(g, typing.Awaitable) 3481 self.assertNotIsInstance(foo, typing.Awaitable) 3925 self.assertEqual(typing.Sized | typing.Awaitable, Union[typing.Sized, typing.Awaitable]) 5115 typing.Awaitable: 'Awaitable', 5154 typing.Awaitable[Any]: 'Awaitable',
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_pep492.py | 127 class Awaitable: class 134 return Awaitable()
|
/external/python/cpython3/Doc/library/ |
D | collections.abc.rst | 175 :class:`Awaitable` [1]_ ``__await__`` 176 :class:`Coroutine` [1]_ :class:`Awaitable` ``send``, ``throw`` ``close`` 292 .. class:: Awaitable 305 Using ``isinstance(gencoro, Awaitable)`` for them will return ``False``. 317 :class:`Awaitable`. See also the definition of :term:`coroutine`.
|
/external/python/cpython3/Lib/asyncio/ |
D | staggered.py | 15 coro_fns: typing.Iterable[typing.Callable[[], typing.Awaitable]], argument
|
D | coroutines.py | 135 if isinstance(res, collections.abc.Awaitable):
|
/external/pigweed/pw_console/py/pw_console/ |
D | repl_pane.py | 24 Awaitable, 86 stdout_check_task: Optional[Awaitable] = None
|
/external/python/cpython3/Lib/ |
D | _collections_abc.py | 105 class Awaitable(metaclass=ABCMeta): class 115 if cls is Awaitable: 122 class Coroutine(Awaitable):
|
D | typing.py | 2093 Awaitable = _alias(collections.abc.Awaitable, 1) variable
|
/external/python/typing/typing_extensions/ |
D | README.rst | 95 - ``Awaitable``
|
D | __init__.py | 431 Awaitable = typing.Awaitable variable
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0b3.rst | 42 instance of collections.abc.Generator; collections.abc.Awaitable and
|
D | 3.6.0a2.rst | 271 Also classes for :pep:`492` (Awaitable, AsyncIterable, AsyncIterator) have been
|
/external/python/typing/typing_extensions/src/ |
D | typing_extensions.py | 259 Awaitable = typing.Awaitable variable
|
D | test_typing_extensions.py | 23 from typing_extensions import Awaitable, AsyncIterator, AsyncContextManager, Required, NotRequired 446 class AwaitableWrapper(Awaitable[T_a]): 718 self.assertIsInstance(g, typing_extensions.Awaitable) 719 self.assertNotIsInstance(foo, typing_extensions.Awaitable)
|
/external/python/setuptools/setuptools/_vendor/ |
D | typing_extensions.py | 360 Awaitable = typing.Awaitable variable
|