Home
last modified time | relevance | path

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

/third_party/boost/libs/coroutine/test/
Dtest_symmetric_coroutine.cpp285 coro::symmetric_coroutine< void >::call_type coro2( empty); in test_move() local
287 BOOST_CHECK( coro2); in test_move()
288 coro1 = boost::move( coro2); in test_move()
290 BOOST_CHECK( ! coro2); in test_move()
334 coro::symmetric_coroutine< int >::call_type coro2( in test_yield() local
336 BOOST_CHECK( coro2); in test_yield()
338 boost::bind( f15, _1, 1, boost::ref( coro2) ) ); in test_yield()
344 BOOST_CHECK( coro2); in test_yield()
349 BOOST_CHECK( coro2); in test_yield()
535 coro::symmetric_coroutine< int >::call_type coro2; in test_move_coro() local
[all …]
Dtest_asymmetric_coroutine.cpp218 coro::asymmetric_coroutine< void >::pull_type coro2( f1); in test_move() local
220 BOOST_CHECK( coro2); in test_move()
221 coro2(); in test_move()
222 coro1 = boost::move( coro2); in test_move()
225 BOOST_CHECK( ! coro2); in test_move()
550 coro::asymmetric_coroutine< int >::push_type coro2; in test_move_coro() local
552 BOOST_CHECK( ! coro2); in test_move_coro()
557 coro2 = boost::move( coro1); in test_move_coro()
559 BOOST_CHECK( coro2); in test_move_coro()
561 coro2( 2); in test_move_coro()
[all …]
/third_party/boost/libs/coroutine/example/symmetric/
Dsimple.cpp40 coro_t::call_type coro2( bar); in main() local
42 c2 = & coro2; in main()
Dunwind.cpp44 coro_t::call_type coro2( bar); in main() local
46 c2 = & coro2; in main()
/third_party/boost/libs/coroutine2/test/
Dtest_coroutine.cpp238 coro::coroutine< int >::pull_type coro2( f16); in test_move() local
240 BOOST_CHECK( coro2); in test_move()
241 BOOST_CHECK_EQUAL( 1, coro2.get() ); in test_move()
242 coro2(); in test_move()
243 BOOST_CHECK_EQUAL( 2, coro2.get() ); in test_move()
244 coro1 = std::move( coro2); in test_move()
246 BOOST_CHECK( ! coro2); in test_move()
249 BOOST_CHECK( ! coro2); in test_move()
/third_party/python/Lib/test/
Dtest_coroutines.py1117 async def coro2(): function
1120 c = coro2()
1125 c = coro2()
/third_party/python/Lib/test/test_asyncio/
Dtest_tasks.py1367 async def coro2(): function
1372 b = self.new_task(self.loop, coro2())
2062 async def coro2(loop): function
2069 task2 = self.new_task(self.loop, coro2(self.loop))
3776 def coro2(): function
3781 return await asyncio.gather(coro1(), coro2())
Dtest_events.py280 async def coro2(): function
289 RuntimeError, self.loop.run_until_complete, coro2())