Searched refs:_selector (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython3/Lib/asyncio/ |
D | selector_events.py | 66 self._selector = selector 112 if self._selector is not None: 113 self._selector.close() 114 self._selector = None 264 key = self._selector.get_key(fd) 266 self._selector.register(fd, selectors.EVENT_READ, 270 self._selector.modify(fd, mask | selectors.EVENT_READ, 279 key = self._selector.get_key(fd) 286 self._selector.unregister(fd) 288 self._selector.modify(fd, mask, (None, writer)) [all …]
|
D | proactor_events.py | 385 self._selector = proactor # convenient alias 438 self._selector = None
|
D | test_utils.py | 299 self._selector = TestSelector()
|
D | base_events.py | 1370 event_list = self._selector.select(timeout) 1389 event_list = self._selector.select(timeout)
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_selector_events.py | 125 self.loop._selector.close() 126 self.loop._selector = selector = mock.Mock() 131 self.assertIsNone(self.loop._selector) 155 self.loop._selector.close() 156 self.loop._selector = None 158 self.assertIsNone(self.loop._selector) 515 self.loop._selector.get_key.side_effect = KeyError 519 self.assertTrue(self.loop._selector.register.called) 520 fd, mask, (r, w) = self.loop._selector.register.call_args[0] 529 self.loop._selector.get_key.return_value = selectors.SelectorKey( [all …]
|
D | test_pep492.py | 23 self.loop._selector = mock.Mock() 24 self.loop._selector.select.return_value = ()
|
D | test_base_events.py | 166 self.loop._selector = mock.Mock() 167 self.loop._selector.select.return_value = () 390 t = self.loop._selector.select.call_args[0][0] 413 self.loop._selector.select = slow_select 422 self.loop._selector.select = fast_select 702 _selector = mock.Mock() variable in BaseEventLoopTests.test_default_exc_handler_broken.Loop 891 self.loop._selector.select.return_value = () 894 self.loop._selector.select.return_value = (event_sentinel,) 923 self.loop._selector.select.assert_called_once_with(0)
|
D | test_events.py | 1782 'selector': self.loop._selector.__class__.__name__})
|
/external/python/cpython3/Lib/ |
D | selectors.py | 63 self._selector = selector 66 return len(self._selector._fd_to_key) 70 fd = self._selector._fileobj_lookup(fileobj) 71 return self._selector._fd_to_key[fd] 76 return iter(self._selector._fd_to_key)
|
/external/skqp/tools/shape/ |
D | using_skia_and_harfbuzz.cpp | 34 BaseOption(std::string _selector, std::string _description) in BaseOption() 35 : selector(_selector), description(_description) {} in BaseOption()
|
/external/skia/tools/shape/ |
D | using_skia_and_harfbuzz.cpp | 34 BaseOption(std::string _selector, std::string _description) in BaseOption() 35 : selector(_selector), description(_description) {} in BaseOption()
|
/external/llvm/docs/ |
D | CodeGenerator.rst | 923 .. _selector:
|