Searched refs:_add_reader (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Lib/asyncio/ |
D | selector_events.py | 106 self._add_reader(self._ssock.fileno(), self._read_from_self) 142 self._add_reader(sock.fileno(), self._accept_connection, 247 def _add_reader(self, fd, callback, *args): member in BaseSelectorEventLoop 324 return self._add_reader(fd, callback, *args) 701 def _add_reader(self, fd, callback, *args): member in _SelectorTransport 705 self._loop._add_reader(fd, callback, *args) 729 self._loop.call_soon(self._add_reader, 759 self._add_reader(self._sock_fd, self._read_ready) 940 self._loop.call_soon(self._add_reader,
|
D | unix_events.py | 448 self._loop.call_soon(self._loop._add_reader, 498 self._loop._add_reader(self._fileno, self._read_ready) 580 self._loop.call_soon(self._loop._add_reader,
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | utils.py | 362 def _add_reader(self, fd, callback, *args): member in TestLoop 427 return self._add_reader(fd, callback, *args)
|
D | test_base_events.py | 1262 self.loop._add_reader = mock.Mock() 1263 self.loop._add_reader._is_coroutine = False 1308 self.loop._add_reader = mock.Mock() 1309 self.loop._add_reader._is_coroutine = False 1763 self.loop._add_reader = mock.Mock() 1764 self.loop._add_reader._is_coroutine = False
|
D | test_selector_events.py | 73 self.loop._add_reader = mock.Mock() 74 self.loop._add_reader._is_coroutine = False 832 self.loop._add_reader(7, mock.sentinel) 877 tr._add_reader(7, mock.sentinel) 886 tr._add_reader(7, mock.sentinel)
|