Home
last modified time | relevance | path

Searched refs:set_event_loop (Results 1 – 25 of 39) sorted by relevance

12

/external/python/cpython3/Lib/asyncio/
Drunners.py41 events.set_event_loop(loop)
51 events.set_event_loop(None)
Devents.py602 def set_event_loop(self, loop): member in AbstractEventLoopPolicy
653 self.set_event_loop(self.new_event_loop())
661 def set_event_loop(self, loop): member in BaseDefaultEventLoopPolicy
775 def set_event_loop(loop): function
777 get_event_loop_policy().set_event_loop(loop)
D__main__.py94 asyncio.set_event_loop(loop)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_threads.py19 asyncio.set_event_loop(self.loop)
25 asyncio.set_event_loop(None)
Dtest_tasks.py203 self.set_event_loop(loop)
234 asyncio.set_event_loop(self.loop)
235 self.addCleanup(asyncio.set_event_loop, None)
271 asyncio.set_event_loop(self.loop)
272 self.addCleanup(asyncio.set_event_loop, None)
292 self.set_event_loop(loop)
313 self.set_event_loop(loop)
336 self.set_event_loop(loop)
582 self.set_event_loop(loop)
611 self.set_event_loop(loop)
[all …]
Dutils.py533 def set_event_loop(self, loop, *, cleanup=True): member in TestCase
537 events.set_event_loop(None)
543 self.set_event_loop(loop)
550 events.set_event_loop(None)
Dfunctional.py27 asyncio.set_event_loop(None)
42 asyncio.set_event_loop(None)
Dtest_events.py60 asyncio.set_event_loop(loop)
265 self.set_event_loop(self.loop)
2250 self.set_event_loop(loop)
2555 self.assertRaises(NotImplementedError, policy.set_event_loop, object())
2577 wraps=policy.set_event_loop) as m_set_event_loop:
2590 policy.set_event_loop(None)
2615 self.assertRaises(AssertionError, policy.set_event_loop, object())
2618 policy.set_event_loop(loop)
2667 asyncio.set_event_loop(self.loop)
2682 asyncio.set_event_loop(None)
[all …]
Dtest_streams.py33 self.set_event_loop(self.loop)
74 asyncio.set_event_loop(None)
768 self.addCleanup(asyncio.set_event_loop, None)
769 asyncio.set_event_loop(self.loop)
796 self.addCleanup(asyncio.set_event_loop, None)
797 asyncio.set_event_loop(self.loop)
Dtest_unix_events.py61 self.set_event_loop(self.loop)
284 self.set_event_loop(self.loop)
490 self.set_event_loop(self.loop)
1723 policy.set_event_loop(policy.new_event_loop())
1754 policy.set_event_loop(new_loop)
1758 policy.set_event_loop(None)
1770 asyncio.set_event_loop(self.loop)
1774 asyncio.set_event_loop(None)
Dtest_subprocess.py46 self.set_event_loop(self.loop)
649 self.set_event_loop(self.loop)
709 self.set_event_loop(self.loop)
Dtest_runners.py25 def set_event_loop(self, loop): member in TestPolicy
Dtest_futures.py162 asyncio.set_event_loop(self.loop)
163 self.addCleanup(asyncio.set_event_loop, None)
521 asyncio.set_event_loop(self.loop)
522 self.addCleanup(asyncio.set_event_loop, None)
Dtest_pep492.py40 self.set_event_loop(self.loop)
Dtest_base_events.py158 self.set_event_loop(self.loop)
318 asyncio.set_event_loop(loop2)
321 asyncio.set_event_loop(None)
685 asyncio.set_event_loop(loop)
794 self.set_event_loop(loop)
1079 self.set_event_loop(self.loop)
1936 asyncio.set_event_loop(self.loop)
2020 self.set_event_loop(self.loop)
Dtest_queues.py262 asyncio.set_event_loop(self.loop)
505 asyncio.set_event_loop(self.loop)
Dtest_windows_events.py87 self.set_event_loop(self.loop)
/external/python/cpython3/Lib/unittest/
Dasync_case.py113 asyncio.set_event_loop(loop)
151 asyncio.set_event_loop(None)
/external/pigweed/pw_console/py/pw_console/
Dplugin_mixin.py118 asyncio.set_event_loop(self.plugin_event_loop)
/external/pigweed/pw_transfer/py/pw_transfer/
Dclient.py94 asyncio.set_event_loop(self._loop)
222 asyncio.set_event_loop(self._loop)
/external/pandora/avatar/avatar/
Dpandora_server.py78 asyncio.set_event_loop(avatar.aio.loop)
/external/python/cpython3/Doc/library/
Dasyncio-platforms.rst105 asyncio.set_event_loop(loop)
Dasyncio-policy.rst19 :func:`get_event_loop`, :func:`set_event_loop`, and
63 .. method:: set_event_loop(loop)
/external/python/cpython3/Lib/test/
Dtest_contextlib_async.py18 asyncio.set_event_loop(loop)
418 asyncio.set_event_loop(self.loop)
/external/python/portpicker/src/
Dportserver.py368 asyncio.set_event_loop(asyncio.ProactorEventLoop())

12