Home
last modified time | relevance | path

Searched refs:_add_reader (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dselector_events.py106 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,
Dunix_events.py448 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/
Dutils.py362 def _add_reader(self, fd, callback, *args): member in TestLoop
427 return self._add_reader(fd, callback, *args)
Dtest_base_events.py1262 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
Dtest_selector_events.py73 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)