Home
last modified time | relevance | path

Searched refs:run_async (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_coroutines.py31 def run_async(coro): function
519 self.assertEqual(run_async(f), ([], 10))
533 run_async(foo())
636 self.assertEqual(run_async(bar()), ([], 'spam'))
947 run_async(foo())
953 run_async(foo())
959 self.assertEqual(run_async(foo()), ([1, 2, 3], None))
969 self.assertEqual(run_async(foo()), ([], 42))
982 run_async(foo())
992 self.assertEqual(run_async(foo()), ([52], None))
[all …]
Dtest_collections.py1266 def run_async(coro): function
1279 self.assertIs(run_async(mgen.asend(None)), run_async(mgen.__anext__()))
1280 self.assertEqual(2, run_async(mgen.asend(2)))
1281 self.assertIsNone(run_async(mgen.aclose()))
1283 run_async(mgen.athrow(ValueError))
1290 run_async(FailOnClose().aclose())
1297 run_async(IgnoreGeneratorExit().aclose())
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/
Dtest_ticket_crypter.cc70 void TestTicketCrypter::SetRunCallbacksAsync(bool run_async) { in SetRunCallbacksAsync() argument
71 run_async_ = run_async; in SetRunCallbacksAsync()
Dtest_ticket_crypter.h27 void SetRunCallbacksAsync(bool run_async);
/external/tensorflow/tensorflow/python/eager/
Drun_eager_op_as_function_test.py243 run_async = test_util.TestDelta("pflr_runsync", "async")
251 assert run_async.Get() == 0
262 run_async = test_util.TestDelta("pflr_runsync", "async")
271 assert run_async.Get() == 0
/external/pigweed/pw_cli/py/pw_cli/
Dprocess.py145 async def run_async( function
210 return asyncio.run(run_async(program, *args, **kwargs))
/external/python/bumble/apps/
Dconsole.py267 async def run_async(self, device_config, transport): member in ConsoleApp
291 await self.ui.run_async()
1027 asyncio.run(app.run_async(device_config, transport))
/external/crosvm/devices/src/virtio/video/
Dworker.rs383 pub async fn run_async( in run_async() method
/external/pigweed/pw_unit_test/py/pw_unit_test/
Dtest_runner.py207 process = await pw_cli.process.run_async(
/external/pigweed/pw_console/py/pw_console/
Dconsole_app.py1193 unused_result = await self.application.run_async(