/external/libcxx/test/libcxx/thread/futures/futures.promise/ |
set_exception.pass.cpp | 24 // void set_exception(exception_ptr p); 42 p.set_exception(std::exception_ptr()); 51 p.set_exception(std::exception_ptr());
|
/external/libcxx/test/std/thread/futures/futures.promise/ |
set_exception.pass.cpp | 18 // void set_exception(exception_ptr p); 29 p.set_exception(std::make_exception_ptr(3)); 41 p.set_exception(std::make_exception_ptr(3));
|
/external/libcxx/src/ |
future.cpp | 112 __assoc_sub_state::set_exception(exception_ptr __p) function in class:__assoc_sub_state 211 __state_->set_exception(make_exception_ptr( 236 promise<void>::set_exception(exception_ptr __p) function in class:promise 240 __state_->set_exception(__p);
|
/external/libcxx/test/std/thread/futures/futures.shared_future/ |
get.pass.cpp | 35 p.set_exception(std::make_exception_ptr(3)); 50 p.set_exception(std::make_exception_ptr(3.5)); 62 p.set_exception(std::make_exception_ptr('c'));
|
/external/libcxx/test/std/thread/futures/futures.unique_future/ |
get.pass.cpp | 35 p.set_exception(std::make_exception_ptr(3)); 50 p.set_exception(std::make_exception_ptr(3.5)); 62 p.set_exception(std::make_exception_ptr('c'));
|
/external/python/cpython3/Lib/test/test_asyncio/ |
test_futures.py | 67 def set_exception(self, exception): member in class: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...] |
test_buffered_proto.py | 23 self.con_lost_fut.set_exception(exc)
|
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()) 561 # The following line fails if set_exception() isn't careful. 562 stream.set_exception(RuntimeError('message')) 824 stream.set_exception(exc) [all...] |
test_tasks.py | [all...] |
/external/python/cpython3/Lib/asyncio/ |
futures.py | 95 # set_exception() was not called, or result() or exception() 239 def set_exception(self, exception): member in class:Future 300 concurrent.set_exception(exception) 320 dest.set_exception(exception)
|
tasks.py | 136 def set_exception(self, exception): member in class:Task 137 raise RuntimeError('Task does not support set_exception operation') 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 [all...] |
windows_events.py | 81 def set_exception(self, exception): member in class:_OverlappedFuture 82 super().set_exception(exception) 155 def set_exception(self, exception): member in class:_BaseWaitHandleFuture 157 super().set_exception(exception) 182 def set_exception(self, exception): member in class:_WaitCancelFuture 183 super().set_exception(exception) 672 f.set_exception(e) 746 f.set_exception(e)
|
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 class:StreamReader 400 waiter.set_exception(exc)
|
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) [all...] |
subprocess.py | 90 reader.set_exception(exc)
|
unix_events.py | 388 fut.set_exception(err) 391 fut.set_exception(exc) 394 fut.set_exception(exc) [all...] |
base_subprocess.py | 188 waiter.set_exception(exc)
|
sslproto.py | 468 self._waiter.set_exception(exc)
|
/external/antlr/runtime/Cpp/include/ |
antlr3recognizersharedstate.hpp | 245 void set_exception( ExceptionBaseType* exception );
|
/external/python/cpython3/Lib/concurrent/futures/ |
thread.py | 59 self.future.set_exception(exc) 196 work_item.future.set_exception(BrokenThreadPool(self._broken))
|
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)
|
_base.py | 491 or set_exception() was called. 523 def set_exception(self, exception): member in class:Future
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
_metadata_code_details_test.py | 157 def set_exception(self): member in class:_Servicer 519 self._servicer.set_exception() 541 self._servicer.set_exception() 565 self._servicer.set_exception() 589 self._servicer.set_exception()
|
/external/python/futures/concurrent/futures/ |
process.py | 214 work_item.future.set_exception(result_item.exception)
|
/external/python/futures/ |
test_futures.py | 555 f.set_exception(Exception('test')) 615 f.set_exception(Exception('test'))
|