/external/python/cpython3/Lib/asyncio/ |
D | runners.py | 41 events.set_event_loop(loop) 51 events.set_event_loop(None)
|
D | events.py | 588 def set_event_loop(self, loop): member in AbstractEventLoopPolicy 639 self.set_event_loop(self.new_event_loop()) 647 def set_event_loop(self, loop): member in BaseDefaultEventLoopPolicy 754 def set_event_loop(loop): function 756 get_event_loop_policy().set_event_loop(loop)
|
D | __main__.py | 94 asyncio.set_event_loop(loop)
|
D | unix_events.py | 1430 def set_event_loop(self, loop): member in _UnixDefaultEventLoopPolicy 1438 super().set_event_loop(loop)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_threads.py | 19 asyncio.set_event_loop(self.loop) 25 asyncio.set_event_loop(None)
|
D | test_tasks.py | 196 self.set_event_loop(loop) 214 self.set_event_loop(loop) 231 self.set_event_loop(loop) 252 self.set_event_loop(loop) 275 self.set_event_loop(loop) 521 self.set_event_loop(loop) 550 self.set_event_loop(loop) 609 self.set_event_loop(loop) 643 self.set_event_loop(loop) 667 self.set_event_loop(loop) [all …]
|
D | utils.py | 531 def set_event_loop(self, loop, *, cleanup=True): member in TestCase 534 events.set_event_loop(None) 540 self.set_event_loop(loop) 554 events.set_event_loop(None)
|
D | functional.py | 27 asyncio.set_event_loop(None) 47 asyncio.set_event_loop(None)
|
D | test_streams.py | 33 self.set_event_loop(self.loop) 83 asyncio.set_event_loop(None) 775 self.addCleanup(asyncio.set_event_loop, None) 776 asyncio.set_event_loop(self.loop) 784 self.addCleanup(asyncio.set_event_loop, None) 785 asyncio.set_event_loop(self.loop)
|
D | test_events.py | 59 asyncio.set_event_loop(loop) 244 self.set_event_loop(self.loop) 2227 self.set_event_loop(loop) 2532 self.assertRaises(NotImplementedError, policy.set_event_loop, object()) 2554 wraps=policy.set_event_loop) as m_set_event_loop: 2567 policy.set_event_loop(None) 2592 self.assertRaises(AssertionError, policy.set_event_loop, object()) 2595 policy.set_event_loop(loop) 2644 asyncio.set_event_loop(self.loop) 2659 asyncio.set_event_loop(None) [all …]
|
D | test_runners.py | 21 def set_event_loop(self, loop): member in TestPolicy
|
D | test_subprocess.py | 45 self.set_event_loop(self.loop) 668 self.set_event_loop(self.loop) 726 self.set_event_loop(self.loop)
|
D | test_locks.py | 40 asyncio.set_event_loop(self.loop) 72 self.set_event_loop(loop) 326 asyncio.set_event_loop(self.loop) 459 asyncio.set_event_loop(self.loop) 824 asyncio.set_event_loop(self.loop)
|
D | test_unix_events.py | 52 self.set_event_loop(self.loop) 275 self.set_event_loop(self.loop) 481 self.set_event_loop(self.loop) 1853 policy.set_event_loop(policy.new_event_loop()) 1884 policy.set_event_loop(new_loop) 1888 policy.set_event_loop(None) 1900 asyncio.set_event_loop(self.loop) 1904 asyncio.set_event_loop(None)
|
D | test_pep492.py | 40 self.set_event_loop(self.loop)
|
D | test_base_events.py | 157 self.set_event_loop(self.loop) 317 asyncio.set_event_loop(loop2) 320 asyncio.set_event_loop(None) 684 asyncio.set_event_loop(loop) 793 self.set_event_loop(loop) 1059 self.set_event_loop(self.loop) 1916 asyncio.set_event_loop(self.loop) 2000 self.set_event_loop(self.loop)
|
D | test_windows_events.py | 87 self.set_event_loop(self.loop)
|
D | test_sock_lowlevel.py | 56 self.set_event_loop(self.loop)
|
D | test_proactor_events.py | 692 self.set_event_loop(self.loop) 934 self.set_event_loop(self.loop)
|
D | test_sendfile.py | 114 self.set_event_loop(self.loop)
|
/external/python/cpython3/Lib/unittest/ |
D | async_case.py | 114 asyncio.set_event_loop(loop) 152 asyncio.set_event_loop(None)
|
/external/python/cpython3/Lib/test/ |
D | test_contextlib_async.py | 16 asyncio.set_event_loop(loop) 318 asyncio.set_event_loop(self.loop)
|
/external/python/cpython3/Doc/library/ |
D | asyncio-platforms.rst | 105 asyncio.set_event_loop(loop)
|
D | asyncio-policy.rst | 19 :func:`get_event_loop`, :func:`set_event_loop`, and 63 .. method:: set_event_loop(loop)
|
D | asyncio-llapi-index.rst | 24 * - :func:`asyncio.set_event_loop`
|