Home
last modified time | relevance | path

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

/third_party/python/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.py400 def _add_writer(self, fd, callback, *args): member in TestLoop
450 return self._add_writer(fd, callback, *args)
Dtest_base_events.py1284 self.loop._add_writer = mock.Mock()
1285 self.loop._add_writer._is_coroutine = False
1328 self.loop._add_writer = mock.Mock()
1329 self.loop._add_writer._is_coroutine = False
1357 self.loop._add_writer = mock.Mock()
1358 self.loop._add_writer._is_coroutine = False
/third_party/python/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.py688 self._loop._add_writer(self._fileno, self._write_ready)