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.py112 self._add_reader(self._ssock.fileno(), self._read_from_self)
150 self._add_reader(sock.fileno(), self._accept_connection,
257 def _add_reader(self, fd, callback, *args): member in BaseSelectorEventLoop
336 self._add_reader(fd, callback, *args)
370 handle = self._add_reader(fd, self._sock_recv, fut, sock, n)
411 handle = self._add_reader(fd, self._sock_recv_into, fut, sock, buf)
570 handle = self._add_reader(fd, self._sock_accept, fut, sock)
750 def _add_reader(self, fd, callback, *args): member in _SelectorTransport
754 self._loop._add_reader(fd, callback, *args)
778 self._loop.call_soon(self._add_reader,
[all …]
Dunix_events.py463 self._loop.call_soon(self._loop._add_reader,
521 self._loop._add_reader(self._fileno, self._read_ready)
604 self._loop.call_soon(self._loop._add_reader,
927 self._loop._add_reader(pidfd, self._do_wait, pid)
/external/python/cpython3/Lib/test/test_asyncio/
Dutils.py373 def _add_reader(self, fd, callback, *args): member in TestLoop
438 return self._add_reader(fd, callback, *args)
Dtest_base_events.py1275 self.loop._add_reader = mock.Mock()
1276 self.loop._add_reader._is_coroutine = False
1319 self.loop._add_reader = mock.Mock()
1320 self.loop._add_reader._is_coroutine = False
1348 self.loop._add_reader = mock.Mock()
1349 self.loop._add_reader._is_coroutine = False
1841 self.loop._add_reader = mock.Mock()
1842 self.loop._add_reader._is_coroutine = False
Dtest_selector_events.py76 self.loop._add_reader = mock.Mock()
77 self.loop._add_reader._is_coroutine = False
432 self.loop._add_reader(7, mock.sentinel)
490 tr._add_reader(7, mock.sentinel)
499 tr._add_reader(7, mock.sentinel)