Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dselectors.py65 self._selector = selector
68 return len(self._selector._fd_to_key)
72 fd = self._selector._fileobj_lookup(fileobj)
73 return self._selector._fd_to_key[fd]
78 return iter(self._selector._fd_to_key)
350 self._selector = self._selector_cls()
360 self._selector.register(key.fd, poller_events)
369 self._selector.unregister(key.fd)
390 self._selector.modify(key.fd, selector_events)
416 fd_event_list = self._selector.poll(timeout)
[all …]
/third_party/skia/tools/
Dusing_skia_and_harfbuzz.cpp34 BaseOption(std::string _selector, std::string _description) in BaseOption()
35 : selector(_selector), description(_description) {} in BaseOption()
48 Option(std::string _selector, std::string _description, T defaultValue) in Option()
49 : BaseOption(_selector, _description), value(defaultValue) {} in Option()
89 DoubleOption(std::string _selector, in DoubleOption()
92 : Option<double>(_selector, _description, defaultValue) {} in DoubleOption()
98 StringOption(std::string _selector, in StringOption()
101 : Option<std::string>(_selector, _description, defaultValue) {} in StringOption()
/third_party/python/Lib/test/test_asyncio/
Dtest_selector_events.py138 self.loop._selector.close()
139 self.loop._selector = selector = mock.Mock()
144 self.assertIsNone(self.loop._selector)
168 self.loop._selector.close()
169 self.loop._selector = None
171 self.assertIsNone(self.loop._selector)
192 self.loop._selector.get_key.side_effect = KeyError
196 self.assertTrue(self.loop._selector.register.called)
197 fd, mask, (r, w) = self.loop._selector.register.call_args[0]
206 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.py38 self.loop._selector = mock.Mock()
39 self.loop._selector.select.return_value = ()
Dtest_unix_events.py577 self.loop._selector.get_key(sock)
590 self.loop._selector.get_key(sock)
601 key = self.loop._selector.get_key(sock)
614 self.loop._selector.get_key(sock)
631 self.loop._selector.get_key(sock)
648 self.loop._selector.get_key(sock)
Dtest_base_events.py156 self.loop._selector = mock.Mock()
157 self.loop._selector.select.return_value = ()
369 t = self.loop._selector.select.call_args[0][0]
674 _selector = mock.Mock() variable in BaseEventLoopTests.test_default_exc_handler_broken.Loop
894 self.loop._selector.select.return_value = ()
897 self.loop._selector.select.return_value = (event_sentinel,)
926 self.loop._selector.select.assert_called_once_with(0)
Dutils.py348 self._selector = TestSelector()
Dtest_events.py1674 'selector': self.loop._selector.__class__.__name__})
/third_party/mesa3d/src/freedreno/perfcntrs/
Dfreedreno_perfcntr.h112 #define COUNTABLE(_selector, _query_type, _result_type) { \ argument
113 .name = #_selector, .selector = _selector, \
/third_party/python/Lib/asyncio/
Dselector_events.py60 self._selector = selector
94 if self._selector is not None:
95 self._selector.close()
96 self._selector = None
261 key = self._selector.get_key(fd)
263 self._selector.register(fd, selectors.EVENT_READ,
267 self._selector.modify(fd, mask | selectors.EVENT_READ,
277 key = self._selector.get_key(fd)
284 self._selector.unregister(fd)
286 self._selector.modify(fd, mask, (None, writer))
[all …]
Dproactor_events.py627 self._selector = proactor # convenient alias
689 self._selector = None
Dbase_events.py1845 event_list = self._selector.select(timeout)
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/selectors/
Dconstructors.js13 var _selector = _interopRequireDefault(require("./selector")); variable
51 return new _selector["default"](opts);
/third_party/node/deps/npm/node_modules/postcss-selector-parser/dist/
Dparser.js6 var _selector = _interopRequireDefault(require("./selectors/selector")); variable
113 var selector = new _selector["default"]({
577 var selector = new _selector["default"]({
647 var selector = new _selector["default"]({
/third_party/jsframework/runtime/main/model/
Dindex.ts623 public get _selector() { method in Vm
Ddirective.ts92 vm._selector,