/external/python/cpython3/Lib/test/test_asyncio/ |
D | test_futures.py | 172 fut.add_done_callback(lambda f: None) 303 f_one_callbacks.add_done_callback(_fakefunc) 313 f_two_callbacks.add_done_callback(first_cb) 314 f_two_callbacks.add_done_callback(last_cb) 322 f_many_callbacks.add_done_callback(first_cb) 324 f_many_callbacks.add_done_callback(_fakefunc) 325 f_many_callbacks.add_done_callback(last_cb) 619 f.add_done_callback(cb1) 620 f.add_done_callback(cb2) 621 f.add_done_callback(cb3) [all …]
|
D | test_tasks.py | 289 t.add_done_callback(Dummy()) 363 t.add_done_callback(Dummy()) 1474 def add_done_callback(self, *args, **kwargs): member in BaseTaskTests.test_step_result_future.Fut 1476 super().add_done_callback(*args, **kwargs) 2150 fut.add_done_callback(cancelling_callback) 2331 fut.add_done_callback(fut_on_done) 2393 def add_done_callback(self, *args, **kwargs): member in add_subclass_tests.CommonFuture 2395 return super().add_done_callback(*args, **kwargs) 2826 fut.add_done_callback(cb) 2848 fut.add_done_callback(cb) [all …]
|
D | test_proactor_events.py | 157 self.loop._proactor.send.return_value.add_done_callback.\ 781 self.proactor.recv.return_value.add_done_callback.assert_called_with( 789 self.proactor.recv.return_value.add_done_callback.assert_called_with(
|
/external/python/futures/ |
D | test_futures.py | 544 f.add_done_callback(fn) 554 f.add_done_callback(fn) 564 f.add_done_callback(fn) 589 f.add_done_callback(raising_fn) 590 f.add_done_callback(raising_old_style_fn) 591 f.add_done_callback(fn) 606 f.add_done_callback(fn) 616 f.add_done_callback(fn) 626 f.add_done_callback(fn) 769 f.add_done_callback(fn)
|
/external/python/cpython3/Lib/asyncio/ |
D | tasks.py | 258 result.add_done_callback( 404 fut.add_done_callback(cb) 453 f.add_done_callback(_on_completion) 476 fut.add_done_callback(cb) 536 f.add_done_callback(_on_completion) 731 fut.add_done_callback(_done_callback) 792 inner.add_done_callback(_done_callback)
|
D | futures.py | 196 def add_done_callback(self, fn, *, context=None): member in Future 364 destination.add_done_callback(_call_check_cancel) 365 source.add_done_callback(_call_set_state)
|
D | proactor_events.py | 290 self._read_fut.add_done_callback(self._loop_reading) 374 self._write_fut.add_done_callback(self._loop_writing) 377 self._write_fut.add_done_callback(self._loop_writing) 410 self._read_fut.add_done_callback(self._pipe_closed) 634 f.add_done_callback(self._loop_self_reading) 684 f.add_done_callback(loop)
|
D | windows_events.py | 360 f.add_done_callback(loop_accept_pipe) 826 f.add_done_callback(callback)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/ |
D | _channel_ready_future_test.py | 49 ready_future.add_done_callback(callback.accept_value) 71 ready_future.add_done_callback(callback.accept_value)
|
D | _rpc_test.py | 591 response_future.add_done_callback(callback) 662 response_future.add_done_callback(callback) 727 response_future.add_done_callback(callback) 783 response_future.add_done_callback(callback)
|
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/beta/ |
D | _utilities_test.py | 52 ready_future.add_done_callback(callback.accept_value) 74 ready_future.add_done_callback(callback.accept_value)
|
/external/python/cpython3/Lib/test/ |
D | test_concurrent_futures.py | 992 f.add_done_callback(fn) 1003 f.add_done_callback(fn) 1014 f.add_done_callback(fn) 1033 f.add_done_callback(raising_fn) 1034 f.add_done_callback(fn) 1048 f.add_done_callback(fn) 1059 f.add_done_callback(fn) 1070 f.add_done_callback(fn)
|
D | test_contextlib_async.py | 267 f.add_done_callback(lambda f: loop.stop())
|
/external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/ |
D | future.py | 209 def add_done_callback(self, fn): member in Future
|
/external/grpc-grpc/examples/python/interceptors/default_value/ |
D | default_value_client_interceptor.py | 47 def add_done_callback(self, fn): member in _ConcreteValue
|
/external/grpc-grpc/src/python/grpcio/grpc/ |
D | _auth.py | 62 future.add_done_callback(_create_get_token_callback(callback))
|
D | _utilities.py | 145 def add_done_callback(self, fn): member in _ChannelReadyFuture
|
D | _interceptor.py | 127 def add_done_callback(self, fn): member in _FailureOutcome 185 def add_done_callback(self, fn): member in _UnaryOutcome
|
/external/python/cpython3/Doc/library/ |
D | asyncio-future.rst | 134 .. method:: add_done_callback(callback, *, context=None) 152 fut.add_done_callback( 244 - Callbacks registered with :meth:`asyncio.Future.add_done_callback`
|
/external/grpc-grpc/src/python/grpcio/grpc/beta/ |
D | utilities.py | 114 def add_done_callback(self, fn): member in _ChannelReadyFuture
|
D | _client_adaptations.py | 123 def add_done_callback(self, fn): member in _Rendezvous 124 self._future.add_done_callback(lambda ignored_callback: fn(self))
|
/external/grpc-grpc/src/python/grpcio_tests/tests/qps/ |
D | benchmark_client.py | 126 response_future.add_done_callback(
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/ |
D | _time.py | 124 def add_done_callback(self, fn): member in _Future
|
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/ |
D | _invocation.py | 214 def add_done_callback(self, fn): member in _FutureCall
|
/external/python/cpython3/Lib/concurrent/futures/ |
D | _base.py | 388 def add_done_callback(self, fn): member in Future
|