Home
last modified time | relevance | path

Searched refs:coro1 (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/coroutine/test/
Dtest_symmetric_coroutine.cpp284 coro::symmetric_coroutine< void >::call_type coro1; in test_move() local
286 BOOST_CHECK( ! coro1); in test_move()
288 coro1 = boost::move( coro2); in test_move()
289 BOOST_CHECK( coro1); in test_move()
337 coro::symmetric_coroutine< int >::call_type coro1( in test_yield() local
339 BOOST_CHECK( coro1); in test_yield()
342 coro1( 1); in test_yield()
345 BOOST_CHECK( coro1); in test_yield()
347 coro1( 2); in test_yield()
350 BOOST_CHECK( coro1); in test_yield()
[all …]
Dtest_asymmetric_coroutine.cpp217 coro::asymmetric_coroutine< void >::pull_type coro1; in test_move() local
219 BOOST_CHECK( ! coro1); in test_move()
222 coro1 = boost::move( coro2); in test_move()
223 BOOST_CHECK( coro1); in test_move()
224 coro1(); in test_move()
549 coro::asymmetric_coroutine< int >::push_type coro1( f21); in test_move_coro() local
551 BOOST_CHECK( coro1); in test_move_coro()
554 coro1( 1); in test_move_coro()
557 coro2 = boost::move( coro1); in test_move_coro()
558 BOOST_CHECK( ! coro1); in test_move_coro()
[all …]
/third_party/boost/libs/coroutine/example/symmetric/
Dsimple.cpp39 coro_t::call_type coro1( foo); in main() local
41 c1 = & coro1; in main()
43 coro1(); in main()
Dunwind.cpp43 coro_t::call_type coro1( foo); in main() local
45 c1 = & coro1; in main()
47 coro1(); in main()
/third_party/boost/libs/coroutine2/test/
Dtest_coroutine.cpp237 coro::coroutine< int >::pull_type coro1( f20); in test_move() local
239 BOOST_CHECK( ! coro1); in test_move()
244 coro1 = std::move( coro2); in test_move()
245 BOOST_CHECK( coro1); in test_move()
247 coro1(); in test_move()
248 BOOST_CHECK_EQUAL( 3, coro1.get() ); in test_move()
/third_party/python/Lib/test/test_asyncio/
Dtest_tasks.py1364 async def coro1(): function
1371 a = self.new_task(self.loop, coro1())
2056 async def coro1(loop): function
2068 task1 = self.new_task(self.loop, coro1(self.loop))
3771 def coro1(): function
3781 return await asyncio.gather(coro1(), coro2())
Dtest_events.py277 async def coro1(): function
282 self.loop.run_until_complete(coro1())
/third_party/python/Lib/test/
Dtest_coroutines.py1112 async def coro1(): function
1118 return await Wrapper(coro1())