Home
last modified time | relevance | path

Searched refs:EVENT_READ (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_selectors.py65 key = s.register(rd, selectors.EVENT_READ, "data")
69 self.assertEqual(key.events, selectors.EVENT_READ)
76 self.assertRaises(ValueError, s.register, -10, selectors.EVENT_READ)
79 self.assertRaises(KeyError, s.register, rd, selectors.EVENT_READ)
83 selectors.EVENT_READ)
91 s.register(rd, selectors.EVENT_READ)
105 s.register(r, selectors.EVENT_READ)
118 s.register(r, selectors.EVENT_READ)
134 s.register(rd, selectors.EVENT_READ)
147 key = s.register(rd, selectors.EVENT_READ)
[all …]
Dtest_readline.py305 sel.register(master, selectors.EVENT_READ | selectors.EVENT_WRITE)
309 if events & selectors.EVENT_READ:
329 sel.modify(master, selectors.EVENT_READ)
/external/python/cpython3/Lib/
Dselectors.py17 EVENT_READ = (1 << 0) variable
236 if (not events) or (events & ~(EVENT_READ | EVENT_WRITE)):
301 if events & EVENT_READ:
332 events |= EVENT_READ
355 if events & EVENT_READ:
385 if events & EVENT_READ:
424 events |= EVENT_READ
477 events |= EVENT_READ
520 if events & EVENT_READ:
535 if key.events & EVENT_READ:
[all …]
Dtelnetlib.py313 selector.register(self, selectors.EVENT_READ)
534 selector.register(self, selectors.EVENT_READ)
543 selector.register(self, selectors.EVENT_READ)
544 selector.register(sys.stdin, selectors.EVENT_READ)
618 selector.register(self, selectors.EVENT_READ)
Dsocketserver.py229 selector.register(self, selectors.EVENT_READ)
291 selector.register(self, selectors.EVENT_READ)
Dsubprocess.py1963 selector.register(self.stdout, selectors.EVENT_READ)
1965 selector.register(self.stderr, selectors.EVENT_READ)
/external/libkmsxx/py/tests/
Dcam.py80 sel.register(cap.fd, selectors.EVENT_READ, readvid)
81 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
Ddb.py89 sel.register(card.fd, selectors.EVENT_READ, readdrm)
90 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
Dwb-m2m-crop.py113 sel.register(vid.fd, selectors.EVENT_READ, readvid)
114 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
Dmodeset_event.py25 sel.register(card.fd, selectors.EVENT_READ, readdrm)
Dsync.py217 sel.register(card.fd, selectors.EVENT_READ, readdrm)
218 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
Dbig_fb.py272 sel.register(card.fd, selectors.EVENT_READ, readdrm)
273 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
/external/python/cpython3/Lib/multiprocessing/
Dforkserver.py211 selector.register(listener, selectors.EVENT_READ)
212 selector.register(alive_r, selectors.EVENT_READ)
213 selector.register(sig_r, selectors.EVENT_READ)
Dconnection.py930 selector.register(obj, selectors.EVENT_READ)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py199 self.assertEqual(selectors.EVENT_READ, mask)
216 self.assertEqual(selectors.EVENT_WRITE | selectors.EVENT_READ, mask)
231 self.assertEqual(selectors.EVENT_WRITE | selectors.EVENT_READ, mask)
237 1, 1, selectors.EVENT_READ, (None, None))
246 1, 1, selectors.EVENT_READ | selectors.EVENT_WRITE,
277 1, 1, selectors.EVENT_READ, (reader, writer))
286 self.assertEqual(selectors.EVENT_WRITE | selectors.EVENT_READ, mask)
301 1, 1, selectors.EVENT_READ | selectors.EVENT_WRITE,
308 (1, selectors.EVENT_READ, (reader, None)),
323 1, 1, selectors.EVENT_READ, (reader, None)),
[all …]
/external/python/cpython3/Doc/library/
Dselectors.rst62 | :const:`EVENT_READ` | Available for read |
255 sel.register(conn, selectors.EVENT_READ, read)
271 sel.register(sock, selectors.EVENT_READ, accept)
/external/python/cpython3/Lib/asyncio/
Dselector_events.py263 self._selector.register(fd, selectors.EVENT_READ,
267 self._selector.modify(fd, mask | selectors.EVENT_READ,
282 mask &= ~selectors.EVENT_READ
597 if mask & selectors.EVENT_READ and reader is not None:
661 self._sock_fd, selectors.EVENT_READ)
Dunix_events.py480 selector, self._fileno, selectors.EVENT_READ)