Searched refs:EVENT_READ (Results 1 – 18 of 18) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_selectors.py | 65 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 …]
|
D | test_readline.py | 305 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/ |
D | selectors.py | 17 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 …]
|
D | telnetlib.py | 313 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)
|
D | socketserver.py | 229 selector.register(self, selectors.EVENT_READ) 291 selector.register(self, selectors.EVENT_READ)
|
D | subprocess.py | 1963 selector.register(self.stdout, selectors.EVENT_READ) 1965 selector.register(self.stderr, selectors.EVENT_READ)
|
/external/libkmsxx/py/tests/ |
D | cam.py | 80 sel.register(cap.fd, selectors.EVENT_READ, readvid) 81 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
|
D | db.py | 89 sel.register(card.fd, selectors.EVENT_READ, readdrm) 90 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
|
D | wb-m2m-crop.py | 113 sel.register(vid.fd, selectors.EVENT_READ, readvid) 114 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
|
D | modeset_event.py | 25 sel.register(card.fd, selectors.EVENT_READ, readdrm)
|
D | sync.py | 217 sel.register(card.fd, selectors.EVENT_READ, readdrm) 218 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
|
D | big_fb.py | 272 sel.register(card.fd, selectors.EVENT_READ, readdrm) 273 sel.register(sys.stdin, selectors.EVENT_READ, readkey)
|
/external/python/cpython3/Lib/multiprocessing/ |
D | forkserver.py | 211 selector.register(listener, selectors.EVENT_READ) 212 selector.register(alive_r, selectors.EVENT_READ) 213 selector.register(sig_r, selectors.EVENT_READ)
|
D | connection.py | 930 selector.register(obj, selectors.EVENT_READ)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_selector_events.py | 199 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/ |
D | selectors.rst | 62 | :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/ |
D | selector_events.py | 263 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)
|
D | unix_events.py | 480 selector, self._fileno, selectors.EVENT_READ)
|