Home
last modified time | relevance | path

Searched refs:add_writer (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Doc/library/
Dasyncio-platforms.rst19 * :meth:`loop.add_reader` and :meth:`loop.add_writer`
40 * :meth:`loop.add_reader` and :meth:`loop.add_writer` only accept
55 * The :meth:`loop.add_reader` and :meth:`loop.add_writer`
Dasyncio-llapi-index.rst210 * - :meth:`loop.add_writer`
Dasyncio-eventloop.rst746 .. method:: loop.add_writer(fd, callback, \*args)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py113 self.loop.add_writer = mock.Mock()
161 self.assertRaises(RuntimeError, self.loop.add_writer, fd, callback)
303 self.loop.add_writer = mock.Mock()
309 callback = self.loop.add_writer.call_args[0][1]
310 params = self.loop.add_writer.call_args[0][2:]
349 self.loop.add_writer = mock.Mock()
353 self.loop.add_writer.call_args[0])
361 self.loop.add_writer = mock.Mock()
365 self.loop.add_writer.call_args[0])
394 self.loop.add_writer = mock.Mock()
[all …]
Dtest_unix_events.py848 self.loop.add_writer(5, tr._write_ready)
913 self.loop.add_writer(5, tr._write_ready)
923 self.loop.add_writer(5, tr._write_ready)
933 self.loop.add_writer(5, tr._write_ready)
944 self.loop.add_writer(5, tr._write_ready)
956 self.loop.add_writer(5, tr._write_ready)
976 self.loop.add_writer(5, tr._write_ready)
990 self.loop.add_writer(5, tr._write_ready)
1892 self.loop.add_writer(object(), cb)
1923 self.loop.add_writer(rsock, cb)
[all …]
Dutils.py434 def add_writer(self, fd, callback, *args): member in TestLoop
Dtest_events.py407 self.loop.add_writer(w.fileno(), writer, data)
1780 loop.add_writer(w, callback)
1795 loop.add_writer(w, callback)
3000 NotImplementedError, loop.add_writer, 1, f)
/external/python/cpython3/Lib/asyncio/
Dselector_events.py331 def add_writer(self, fd, callback, *args): member in BaseSelectorEventLoop
447 self.add_writer(fd, self._sock_sendall, fut, fd, sock, data)
477 self.add_writer(fd, self._sock_connect_cb, fut, sock, address)
Dunix_events.py365 self.add_writer(fd, self._sock_sendfile_native_impl, fut,
405 self.add_writer(fd, self._sock_sendfile_native_impl, fut,
Devents.py510 def add_writer(self, fd, callback, *args): member in AbstractEventLoop
/external/python/cpython3/Misc/NEWS.d/
D3.6.0b2.rst655 Raise RuntimeError when transport's FD is used with add_reader, add_writer,
D3.5.3rc1.rst1560 Raise RuntimeError when transport's FD is used with add_reader, add_writer,
D3.7.0a1.rst4662 Raise RuntimeError when transport's FD is used with add_reader, add_writer,