Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py78 self.loop._add_writer = mock.Mock()
433 self.loop._add_writer(7, mock.sentinel)
788 self.loop._add_writer(7, transport._write_ready)
800 self.loop._add_writer(7, transport._write_ready)
818 self.loop._add_writer(7, transport._write_ready)
829 self.loop._add_writer(7, transport._write_ready)
839 self.loop._add_writer(7, transport._write_ready)
1276 self.loop._add_writer(7, transport._sendto_ready)
1290 self.loop._add_writer(7, transport._sendto_ready)
1299 self.loop._add_writer(7, transport._sendto_ready)
[all …]
Dutils.py399 def _add_writer(self, fd, callback, *args): member in TestLoop
448 return self._add_writer(fd, callback, *args)
Dtest_base_events.py1277 self.loop._add_writer = mock.Mock()
1278 self.loop._add_writer._is_coroutine = False
1321 self.loop._add_writer = mock.Mock()
1322 self.loop._add_writer._is_coroutine = False
1350 self.loop._add_writer = mock.Mock()
1351 self.loop._add_writer._is_coroutine = False
/external/python/cpython3/Lib/asyncio/
Dselector_events.py294 def _add_writer(self, fd, callback, *args): member in BaseSelectorEventLoop
346 self._add_writer(fd, callback, *args)
458 handle = self._add_writer(fd, self._sock_sendall, fut, sock,
514 handle = self._add_writer(
931 self._loop._add_writer(self._sock_fd, self._write_ready)
1059 self._loop._add_writer(self._sock_fd, self._sendto_ready)
Dunix_events.py678 self._loop._add_writer(self._fileno, self._write_ready)