Home
last modified time | relevance | path

Searched refs:_selector (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/
Dselectors.py64 self._selector = selector
67 return len(self._selector._fd_to_key)
71 fd = self._selector._fileobj_lookup(fileobj)
72 return self._selector._fd_to_key[fd]
77 return iter(self._selector._fd_to_key)
349 self._selector = self._selector_cls()
359 self._selector.register(key.fd, poller_events)
368 self._selector.unregister(key.fd)
389 self._selector.modify(key.fd, selector_events)
415 fd_event_list = self._selector.poll(timeout)
[all …]
/external/skia/tools/
Dusing_skia_and_harfbuzz.cpp34 BaseOption(std::string _selector, std::string _description) in BaseOption()
35 : selector(_selector), description(_description) {} in BaseOption()
45 Option(std::string _selector, std::string _description, T defaultValue) in Option()
46 : BaseOption(_selector, _description), value(defaultValue) {} in Option()
86 DoubleOption(std::string _selector, in DoubleOption()
89 : Option<double>(_selector, _description, defaultValue) {} in DoubleOption()
95 StringOption(std::string _selector, in StringOption()
98 : Option<std::string>(_selector, _description, defaultValue) {} in StringOption()
/external/skqp/tools/
Dusing_skia_and_harfbuzz.cpp34 BaseOption(std::string _selector, std::string _description) in BaseOption()
35 : selector(_selector), description(_description) {} in BaseOption()
45 Option(std::string _selector, std::string _description, T defaultValue) in Option()
46 : BaseOption(_selector, _description), value(defaultValue) {} in Option()
86 DoubleOption(std::string _selector, in DoubleOption()
89 : Option<double>(_selector, _description, defaultValue) {} in DoubleOption()
95 StringOption(std::string _selector, in StringOption()
98 : Option<std::string>(_selector, _description, defaultValue) {} in StringOption()
/external/python/cpython3/Lib/asyncio/
Dselector_events.py54 self._selector = selector
88 if self._selector is not None:
89 self._selector.close()
90 self._selector = None
251 key = self._selector.get_key(fd)
253 self._selector.register(fd, selectors.EVENT_READ,
257 self._selector.modify(fd, mask | selectors.EVENT_READ,
266 key = self._selector.get_key(fd)
273 self._selector.unregister(fd)
275 self._selector.modify(fd, mask, (None, writer))
[all …]
Dproactor_events.py487 self._selector = proactor # convenient alias
539 self._selector = None
Dbase_events.py1720 event_list = self._selector.select(timeout)
1739 event_list = self._selector.select(timeout)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py135 self.loop._selector.close()
136 self.loop._selector = selector = mock.Mock()
141 self.assertIsNone(self.loop._selector)
165 self.loop._selector.close()
166 self.loop._selector = None
168 self.assertIsNone(self.loop._selector)
594 self.loop._selector.get_key.side_effect = KeyError
598 self.assertTrue(self.loop._selector.register.called)
599 fd, mask, (r, w) = self.loop._selector.register.call_args[0]
608 self.loop._selector.get_key.return_value = selectors.SelectorKey(
[all …]
Dtest_runners.py33 loop._selector = mock.Mock()
34 loop._selector.select.return_value = ()
Dtest_pep492.py35 self.loop._selector = mock.Mock()
36 self.loop._selector.select.return_value = ()
Dtest_base_events.py151 self.loop._selector = mock.Mock()
152 self.loop._selector.select.return_value = ()
347 t = self.loop._selector.select.call_args[0][0]
370 self.loop._selector.select = slow_select
379 self.loop._selector.select = fast_select
680 _selector = mock.Mock() variable in BaseEventLoopTests.test_default_exc_handler_broken.Loop
876 self.loop._selector.select.return_value = ()
879 self.loop._selector.select.return_value = (event_sentinel,)
908 self.loop._selector.select.assert_called_once_with(0)
Dtest_unix_events.py553 self.loop._selector.get_key(sock)
566 self.loop._selector.get_key(sock)
577 key = self.loop._selector.get_key(sock)
590 self.loop._selector.get_key(sock)
607 self.loop._selector.get_key(sock)
624 self.loop._selector.get_key(sock)
Dutils.py336 self._selector = TestSelector()
Dtest_events.py1771 'selector': self.loop._selector.__class__.__name__})
/external/ImageMagick/www/assets/
Dmagick.js6_selector=s,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,th…
/external/swiftshader/third_party/llvm-7.0/llvm/docs/
DCodeGenerator.rst923 .. _selector:
/external/llvm/docs/
DCodeGenerator.rst923 .. _selector: