Home
last modified time | relevance | path

Searched refs:_add_callback (Results 1 – 5 of 5) sorted by relevance

/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_invocation.py37 def _add_callback(handler, callback): function
75 return _add_callback(self._handler, callback)
105 return _add_callback(self._handler, callback)
224 return _add_callback(self._handler, callback)
312 return _add_callback(self._handler, callback)
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py722 self.loop._add_callback = mock.Mock()
727 self.assertTrue(self.loop._add_callback.called)
728 self.loop._add_callback.assert_called_with(reader)
745 self.loop._add_callback = mock.Mock()
750 self.loop._add_callback.assert_called_with(writer)
Dtest_base_events.py197 self.loop._add_callback(h)
205 self.loop._add_callback(h)
/external/python/cpython3/Lib/asyncio/
Dselector_events.py554 self._add_callback(reader)
559 self._add_callback(writer)
Dbase_events.py1661 def _add_callback(self, handle): member in BaseEventLoop
1671 self._add_callback(handle)