Home
last modified time | relevance | path

Searched refs:error_received (Results 1 – 11 of 11) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Dinterface_ptr_unittest.cc523 bool error_received = false; in TEST() local
532 &SetFlagAndRunClosure, &error_received, run_loop.QuitClosure())); in TEST()
546 EXPECT_FALSE(error_received); in TEST()
554 EXPECT_TRUE(error_received); in TEST()
561 bool* error_received, in WeakMathCalculatorImpl() argument
564 : error_received_(error_received), in WeakMathCalculatorImpl()
597 bool error_received = false; in TEST() local
602 &error_received, &destroyed, in TEST()
620 EXPECT_FALSE(error_received); in TEST()
628 EXPECT_TRUE(error_received); in TEST()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_proactor_events.py609 self.assertTrue(self.protocol.error_received.called)
667 self.assertTrue(self.protocol.error_received.called)
674 self.assertFalse(self.protocol.error_received.called)
842 self.assertFalse(self.protocol.error_received.called)
867 self.assertFalse(self.protocol.error_received.called)
876 tr._protocol.error_received = mock.Mock()
878 tr._protocol.error_received.assert_called_with(err)
886 tr._protocol.error_received = mock.Mock()
889 tr._protocol.error_received.assert_called_with(err)
Dtest_protocols.py45 self.assertIsNone(dp.error_received(f))
Dtest_selector_events.py1127 self.protocol.error_received.assert_called_with(err)
1252 self.assertTrue(self.protocol.error_received.called)
1348 self.assertTrue(self.protocol.error_received.called)
1355 self.assertFalse(self.protocol.error_received.called)
1365 self.assertFalse(self.protocol.error_received.called)
Dtest_base_events.py1044 def error_received(self, exc): member in MyDatagramProto
Dtest_events.py135 def error_received(self, exc): member in MyDatagramProto
/external/python/cpython3/Lib/asyncio/
Dprotocols.py174 def error_received(self, exc): member in DatagramProtocol
Dselector_events.py1023 self._protocol.error_received(exc)
1061 self._protocol.error_received(exc)
1086 self._protocol.error_received(exc)
Dproactor_events.py530 self._protocol.error_received(exc)
569 self._protocol.error_received(exc)
/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst464 * - ``callback`` :meth:`error_received() <DatagramProtocol.error_received>`
Dasyncio-protocol.rst659 .. method:: DatagramProtocol.error_received(exc)
678 :meth:`DatagramProtocol.error_received` but otherwise ignored.
892 def error_received(self, exc):