/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_futures.py | 67 def set_exception(self, exception): member in DuckFuture 164 fut.set_exception(Exception) 208 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 221 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 231 f.set_exception, StopIteration) 233 f.set_exception(exc) 239 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 244 f.set_exception(RuntimeError) 291 f_exception.set_exception(exc) 346 f_exception.set_exception(RuntimeError()) [all …]
|
D | test_streams.py | 205 stream.set_exception(ValueError()) 374 stream.set_exception(ValueError()) 528 stream.set_exception(ValueError()) 537 stream.set_exception(exc) 545 stream.set_exception(ValueError()) 562 stream.set_exception(RuntimeError('message')) 824 stream.set_exception(exc)
|
D | test_buffered_proto.py | 23 self.con_lost_fut.set_exception(exc)
|
D | test_tasks.py | 1450 task.set_exception(ValueError()) 1744 inner.set_exception(exc) 2478 Future.set_exception(task, MyExc()) 2851 b.set_exception(exc) 2859 e.set_exception(RuntimeError()) 2871 c.set_exception(exc) 2875 d.set_exception(exc2) 2969 e.set_exception(RuntimeError()) 2980 b.set_exception(zde) 2987 f.set_exception(rte)
|
/external/python/cpython3/Lib/asyncio/ |
D | tasks.py | 136 def set_exception(self, exception): member in Task 230 super().set_exception(futures.CancelledError()) 236 super().set_exception(exc) 238 super().set_exception(exc) 680 outer.set_exception(exc) 685 outer.set_exception(exc) 709 outer.set_exception(futures.CancelledError()) 788 outer.set_exception(exc) 810 future.set_exception(exc)
|
D | windows_events.py | 81 def set_exception(self, exception): member in _OverlappedFuture 82 super().set_exception(exception) 155 def set_exception(self, exception): member in _BaseWaitHandleFuture 157 super().set_exception(exception) 182 def set_exception(self, exception): member in _WaitCancelFuture 183 super().set_exception(exception) 672 f.set_exception(e) 746 f.set_exception(e)
|
D | streams.py | 198 waiter.set_exception(exc) 246 self._stream_reader.set_exception(exc) 251 self._closed.set_exception(exc) 393 def set_exception(self, exc): member in StreamReader 400 waiter.set_exception(exc)
|
D | futures.py | 239 def set_exception(self, exception): member in Future 300 concurrent.set_exception(exception) 320 dest.set_exception(exception)
|
D | selector_events.py | 371 fut.set_exception(exc) 405 fut.set_exception(exc) 438 fut.set_exception(exc) 479 fut.set_exception(exc) 499 fut.set_exception(exc) 529 fut.set_exception(exc) 888 self._empty_waiter.set_exception(exc) 915 self._empty_waiter.set_exception(
|
D | unix_events.py | 388 fut.set_exception(err) 391 fut.set_exception(exc) 394 fut.set_exception(exc)
|
D | subprocess.py | 90 reader.set_exception(exc)
|
D | base_subprocess.py | 188 waiter.set_exception(exc)
|
/external/libcxx/src/ |
D | future.cpp | 112 __assoc_sub_state::set_exception(exception_ptr __p) in set_exception() function in __assoc_sub_state 211 __state_->set_exception(make_exception_ptr( in ~promise() 236 promise<void>::set_exception(exception_ptr __p) in set_exception() function in promise 240 __state_->set_exception(__p); in set_exception()
|
/external/libcxx/test/libcxx/thread/futures/futures.promise/ |
D | set_exception.pass.cpp | 42 p.set_exception(std::exception_ptr()); in main() 51 p.set_exception(std::exception_ptr()); in main()
|
/external/libcxx/test/std/thread/futures/futures.promise/ |
D | set_exception.pass.cpp | 29 p.set_exception(std::make_exception_ptr(3)); in main() 41 p.set_exception(std::make_exception_ptr(3)); in main()
|
/external/libcxx/test/std/thread/futures/futures.shared_future/ |
D | get.pass.cpp | 35 p.set_exception(std::make_exception_ptr(3)); in func2() 50 p.set_exception(std::make_exception_ptr(3.5)); in func4() 62 p.set_exception(std::make_exception_ptr('c')); in func6()
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
D | get.pass.cpp | 35 p.set_exception(std::make_exception_ptr(3)); in func2() 50 p.set_exception(std::make_exception_ptr(3.5)); in func4() 62 p.set_exception(std::make_exception_ptr('c')); in func6()
|
/external/python/cpython3/Lib/concurrent/futures/ |
D | thread.py | 59 self.future.set_exception(exc) 196 work_item.future.set_exception(BrokenThreadPool(self._broken))
|
D | process.py | 168 work_item.future.set_exception(e) 386 work_item.future.set_exception(bpe) 410 work_item.future.set_exception(result_item.exception)
|
/external/libcxx/include/ |
D | future | 80 void set_exception(exception_ptr p); 109 void set_exception(exception_ptr p); 137 void set_exception(exception_ptr p); 578 void set_exception(exception_ptr __p); 896 this->set_exception(current_exception()); 944 this->set_exception(current_exception()); 991 this->set_exception(current_exception()); 1047 this->set_exception(current_exception()); 1411 void set_exception(exception_ptr __p); 1446 __state_->set_exception(make_exception_ptr( [all …]
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _metadata_code_details_test.py | 157 def set_exception(self): member in _Servicer 519 self._servicer.set_exception() 541 self._servicer.set_exception() 565 self._servicer.set_exception() 589 self._servicer.set_exception()
|
/external/python/cpython3/Doc/library/ |
D | asyncio-future.rst | 94 :meth:`set_exception` method, this method raises the exception. 109 .. method:: set_exception(exception) 122 :meth:`set_exception` calls.
|
/external/antlr/runtime/Cpp/include/ |
D | antlr3recognizersharedstate.hpp | 245 void set_exception( ExceptionBaseType* exception );
|
/external/python/futures/concurrent/futures/ |
D | process.py | 214 work_item.future.set_exception(result_item.exception)
|
/external/python/futures/ |
D | test_futures.py | 555 f.set_exception(Exception('test')) 615 f.set_exception(Exception('test'))
|