Searched refs:Coroutine (Results 1 - 13 of 13) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Coroutine.hpp | 50 // Stream is the interface to a running Coroutine instance. 51 // A Coroutine may Yield() values of type T, which can be retrieved with 69 class Coroutine; 71 // Coroutine constructs a reactor Coroutine function. 72 // rr::Coroutine is similar to rr::Function in that it builds a new 78 // (3) The template argument T to Coroutine<T> is a C-style function 80 // (4) Coroutine::operator() returns a rr::Stream<T> instead of an 83 // (6) operator() uses the Coroutine's template function signature to 89 // Coroutine<in 115 class Coroutine<Return(Arguments...)> global() class 156 Coroutine<Return(Arguments...)>::Coroutine() Coroutine() function in rr::Coroutine [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/ReactorBenchmarks/ |
H A D | ReactorBenchmarks.cpp | 15 #include "Coroutine.hpp" 41 Coroutine<int()> function; in BENCHMARK_DEFINE_F()
|
/third_party/python/Lib/asyncio/ |
H A D | coroutines.py | 30 collections.abc.Coroutine)
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | ComputeProgram.hpp | 20 #include "Reactor/Coroutine.hpp" 39 class ComputeProgram : public Coroutine<SpirvShader::YieldResult(
|
H A D | ComputeProgram.cpp | 268 using Coroutine = std::unique_ptr<rr::Stream<SpirvShader::YieldResult>>; in run() 269 std::queue<Coroutine> coroutines; in run()
|
/third_party/python/Lib/test/ |
H A D | test_collections.py | 21 from collections.abc import Awaitable, Coroutine namespace 797 class MinimalCoro(Coroutine): 828 Coroutine.register(CoroLike) 849 class MinimalCoro(Coroutine): 857 self.validate_abstract_methods(Coroutine, '__await__', 'send', 'throw') 861 self.assertNotIsInstance(x, Coroutine) 862 self.assertFalse(issubclass(type(x), Coroutine), repr(type(x))) 872 # of Coroutine. Use inspect.isawaitable to detect them. 873 self.assertNotIsInstance(c, Coroutine) 876 self.assertIsInstance(c, Coroutine) [all...] |
H A D | test_genericalias.py | 101 Awaitable, Coroutine,
|
H A D | test_typing.py | 5658 self.assertIsInstance(g, typing.Coroutine) 5660 isinstance(g, typing.Coroutine[int]) 5661 self.assertNotIsInstance(foo, typing.Coroutine) 6087 self.assertEqual(typing.Coroutine | typing.Hashable, Union[typing.Coroutine, typing.Hashable]) 7954 typing.Coroutine: 'Coroutine', 7993 typing.Coroutine[Any, Any, Any]: 'Coroutine',
|
H A D | test_types.py | 1937 self.assertIsInstance(wrapper, collections.abc.Coroutine)
|
/third_party/python/Lib/ |
H A D | _collections_abc.py | 18 __all__ = ["Awaitable", "Coroutine", 122 class Coroutine(Awaitable): class 158 if cls is Coroutine: 163 Coroutine.register(coroutine)
|
H A D | types.py | 287 not isinstance(coro, _collections_abc.Coroutine)): 290 # collections.abc.Coroutine). 292 # 'coro' is either an instance of collections.abc.Coroutine or
|
H A D | typing.py | 84 'Coroutine', 2675 Coroutine = _alias(collections.abc.Coroutine, 3) variable
|
/third_party/skia/third_party/externals/swiftshader/tests/ReactorUnitTests/ |
H A D | ReactorUnitTests.cpp | 16 #include "Coroutine.hpp" 2499 Coroutine<int()> function; 2533 Coroutine<uint8_t(uint8_t * data, int count)> function; 2575 Coroutine<int()> function; 2612 Coroutine<int()> function; 2635 Coroutine<int()> function; 3450 Coroutine<int(int, int)> function;
|
Completed in 29 milliseconds