/external/llvm-project/libcxx/test/libcxx/thread/futures/futures.promise/ |
D | set_exception.pass.cpp | 37 EXPECT_DEATH( p.set_exception(std::exception_ptr()) ); in main() 43 EXPECT_DEATH( p.set_exception(std::exception_ptr()) ); in main()
|
/external/python/cpython3/Lib/asyncio/ |
D | __main__.py | 39 future.set_exception(ex) 42 future.set_exception(ex) 53 future.set_exception(exc)
|
D | tasks.py | 168 def set_exception(self, exception): member in Task 271 super().set_exception(exc) 274 super().set_exception(exc) 777 outer.set_exception(exc) 782 outer.set_exception(exc) 812 outer.set_exception(exc) 895 outer.set_exception(exc) 925 future.set_exception(exc)
|
D | windows_events.py | 82 def set_exception(self, exception): member in _OverlappedFuture 83 super().set_exception(exception) 156 def set_exception(self, exception): member in _BaseWaitHandleFuture 158 super().set_exception(exception) 183 def set_exception(self, exception): member in _WaitCancelFuture 184 super().set_exception(exception) 740 f.set_exception(e) 814 f.set_exception(e)
|
D | streams.py | 186 waiter.set_exception(exc) 272 reader.set_exception(exc) 277 self._closed.set_exception(exc) 437 def set_exception(self, exc): member in StreamReader 444 waiter.set_exception(exc)
|
D | futures.py | 263 def set_exception(self, exception): member in Future 336 concurrent.set_exception(_convert_future_exc(exception)) 356 dest.set_exception(_convert_future_exc(exception))
|
D | selector_events.py | 391 fut.set_exception(exc) 429 fut.set_exception(exc) 476 fut.set_exception(exc) 521 fut.set_exception(exc) 544 fut.set_exception(exc) 576 fut.set_exception(exc) 953 self._empty_waiter.set_exception(exc) 980 self._empty_waiter.set_exception(
|
D | subprocess.py | 84 self._stdin_closed.set_exception(exc) 96 reader.set_exception(exc)
|
/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/llvm-project/libcxx/test/std/thread/futures/futures.promise/ |
D | set_exception.pass.cpp | 30 p.set_exception(std::make_exception_ptr(3)); in main() 42 p.set_exception(std::make_exception_ptr(3)); in main()
|
/external/llvm-project/libcxx/src/ |
D | future.cpp | 111 __assoc_sub_state::set_exception(exception_ptr __p) in set_exception() function in __assoc_sub_state 210 __state_->set_exception(make_exception_ptr( in ~promise() 235 promise<void>::set_exception(exception_ptr __p) in set_exception() function in promise 239 __state_->set_exception(__p); in set_exception()
|
/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/python/cpython3/Lib/test/test_asyncio/ |
D | test_futures.py | 71 def set_exception(self, exception): member in DuckFuture 168 fut.set_exception(Exception) 233 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 246 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 256 f.set_exception, StopIteration) 258 f.set_exception(exc) 264 self.assertRaises(asyncio.InvalidStateError, f.set_exception, None) 269 f.set_exception(RuntimeError) 316 f_exception.set_exception(exc) 371 f_exception.set_exception(RuntimeError()) [all …]
|
D | test_buffered_proto.py | 27 self.con_lost_fut.set_exception(exc)
|
D | test_streams.py | 221 stream.set_exception(ValueError()) 390 stream.set_exception(ValueError()) 545 stream.set_exception(ValueError()) 554 stream.set_exception(exc) 561 stream.set_exception(ValueError()) 578 stream.set_exception(RuntimeError('message')) 859 stream.set_exception(exc)
|
/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/llvm-project/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.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/llvm-project/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/llvm-project/libcxx/include/ |
D | future | 79 void set_exception(exception_ptr p); 108 void set_exception(exception_ptr p); 136 void set_exception(exception_ptr p); 575 void set_exception(exception_ptr __p); 871 this->set_exception(current_exception()); 913 this->set_exception(current_exception()); 954 this->set_exception(current_exception()); 1004 this->set_exception(current_exception()); 1308 void set_exception(exception_ptr __p); 1341 __state_->set_exception(make_exception_ptr( [all …]
|
/external/python/cpython3/Lib/concurrent/futures/ |
D | thread.py | 54 self.future.set_exception(exc) 208 work_item.future.set_exception(BrokenThreadPool(self._broken))
|
D | process.py | 178 work_item.future.set_exception(e) 416 work_item.future.set_exception(result_item.exception) 455 work_item.future.set_exception(bpe)
|
/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()
|