Home
last modified time | relevance | path

Searched refs:get_loop (Results 1 – 25 of 28) sorted by relevance

12

/third_party/nghttp2/src/
Dshrpx_accept_handler.cc53 ev_io_start(conn_hnr_->get_loop(), &wev_); in AcceptHandler()
57 ev_io_stop(conn_hnr_->get_loop(), &wev_); in ~AcceptHandler()
105 void AcceptHandler::enable() { ev_io_start(conn_hnr_->get_loop(), &wev_); } in enable()
107 void AcceptHandler::disable() { ev_io_stop(conn_hnr_->get_loop(), &wev_); } in disable()
DHttpServer.cc129 ev_timer_stop(hd->get_loop(), &stream->rtimer); in stream_timeout_cb()
130 ev_timer_stop(hd->get_loop(), &stream->wtimer); in stream_timeout_cb()
150 ev_timer_again(hd->get_loop(), &stream->rtimer); in add_stream_read_timeout()
158 ev_timer_again(hd->get_loop(), &stream->rtimer); in add_stream_read_timeout_if_pending()
166 ev_timer_again(hd->get_loop(), &stream->wtimer); in add_stream_write_timeout()
173 ev_timer_stop(hd->get_loop(), &stream->rtimer); in remove_stream_read_timeout()
180 ev_timer_stop(hd->get_loop(), &stream->wtimer); in remove_stream_write_timeout()
290 struct ev_loop *get_loop() const { in get_loop() function in nghttp2::Sessions
482 auto loop = handler->get_loop(); in ~Stream()
550 auto loop = sessions_->get_loop(); in Http2Handler()
[all …]
Dshrpx_downstream.cc180 auto loop = upstream_->get_client_handler()->get_loop(); in ~Downstream()
987 auto loop = upstream_->get_client_handler()->get_loop(); in reset_upstream_rtimer()
992 auto loop = upstream_->get_client_handler()->get_loop(); in reset_upstream_wtimer()
1007 auto loop = upstream_->get_client_handler()->get_loop(); in ensure_upstream_wtimer()
1015 auto loop = upstream_->get_client_handler()->get_loop(); in disable_upstream_rtimer()
1023 auto loop = upstream_->get_client_handler()->get_loop(); in disable_upstream_wtimer()
1031 auto loop = upstream_->get_client_handler()->get_loop(); in reset_downstream_rtimer()
1036 auto loop = upstream_->get_client_handler()->get_loop(); in reset_downstream_wtimer()
1051 auto loop = upstream_->get_client_handler()->get_loop(); in ensure_downstream_wtimer()
1059 auto loop = upstream_->get_client_handler()->get_loop(); in disable_downstream_rtimer()
[all …]
Dshrpx_quic_listener.cc43 ev_io_start(worker_->get_loop(), &rev_);
47 ev_io_stop(worker_->get_loop(), &rev_); in ~QUICListener()
Dshrpx_quic_connection_handler.cc58 ev_timer_stop(worker_->get_loop(), &stateless_reset_bucket_regen_timer_); in ~QUICConnectionHandler()
595 ev_timer_again(worker_->get_loop(), &stateless_reset_bucket_regen_timer_); in send_stateless_reset()
696 ev_timer_stop(worker_->get_loop(), &stateless_reset_bucket_regen_timer_); in on_stateless_reset_bucket_regen()
728 ev_timer_start(worker->get_loop(), &timer);
732 auto loop = worker->get_loop(); in ~CloseWait()
Dshrpx_http2_upstream.cc154 ev_timer_start(handler_->get_loop(), &settings_timer_); in start_settings_timer()
158 ev_timer_stop(handler_->get_loop(), &settings_timer_); in stop_settings_timer()
935 ev_prepare_stop(handler_->get_loop(), &prep_); in check_shutdown()
955 ev_timer_start(handler_->get_loop(), &shutdown_timer_); in start_graceful_shutdown()
1113 ev_prepare_start(handler_->get_loop(), &prep_); in Http2Upstream()
1142 ev_prepare_stop(handler_->get_loop(), &prep_); in ~Http2Upstream()
1143 ev_timer_stop(handler_->get_loop(), &shutdown_timer_); in ~Http2Upstream()
1144 ev_timer_stop(handler_->get_loop(), &settings_timer_); in ~Http2Upstream()
Dshrpx_client_handler.h97 struct ev_loop *get_loop() const;
Dshrpx_http2_session.h159 struct ev_loop *get_loop() const;
DHttpServer.h206 struct ev_loop *get_loop() const;
Dshrpx_connection_handler.h151 struct ev_loop *get_loop() const;
Dshrpx_http3_upstream.cc137 ev_prepare_start(handler_->get_loop(), &prep_);
141 auto loop = handler_->get_loop(); in ~Http3Upstream()
1897 ev_io_stop(handler_->get_loop(), &conn->wev); in signal_write_upstream_addr()
1966 auto loop = handler_->get_loop(); in reset_timer()
2774 ev_prepare_stop(handler_->get_loop(), &prep_); in check_shutdown()
2799 ev_timer_start(handler_->get_loop(), &shutdown_timer_); in start_graceful_shutdown()
Dshrpx_worker.h340 struct ev_loop *get_loop() const;
Dshrpx_connection_handler.cc467 ev_async_send(get_loop(), &thread_join_asyncev_); in graceful_shutdown_worker()
546 struct ev_loop *ConnectionHandler::get_loop() const { in get_loop() function in shrpx::ConnectionHandler
Dshrpx_worker_process.cc129 ev_break(conn_handler->get_loop()); in graceful_shutdown()
Dshrpx_client_handler.cc445 conn_(worker->get_loop(), fd, ssl, worker->get_mcpool(), in ClientHandler()
590 struct ev_loop *ClientHandler::get_loop() const { in get_loop() function in shrpx::ClientHandler
Dshrpx_worker.cc604 struct ev_loop *Worker::get_loop() const { in get_loop() function in shrpx::Worker
/third_party/python/Lib/asyncio/
Dfutures.py122 def get_loop(self): member in Future
300 get_loop = fut.get_loop
304 return get_loop()
Devents.py169 def get_loop(self): member in AbstractServer
Dbase_events.py318 def get_loop(self): member in Server
/third_party/python/Misc/NEWS.d/
D3.7.0a4.rst313 asyncio: Add Task.get_loop() and Future.get_loop()
766 Add get_loop() method to Server and AbstractServer classes.
/third_party/python/Lib/test/test_asyncio/
Dtest_futures.py153 self.assertIs(f.get_loop(), self.loop)
163 self.assertIs(f.get_loop(), self.loop)
912 fut.get_loop()
Dtest_tasks.py193 self.assertIs(t.get_loop(), self.loop)
3059 def get_loop(self): member in CTask_Future_Tests.test_foobar.Fut
3103 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_2.TaskLike
3119 def get_loop(self): member in BaseTaskIntrospectionTests.test__register_task_3.TaskLike
3178 task.get_loop = lambda: loop
Dtest_events.py2848 self.assertEqual(server.get_loop(), loop)
2868 events.AbstractServer().get_loop()
/third_party/python/Doc/library/
Dasyncio-future.rst212 .. method:: get_loop()
/third_party/python/Doc/whatsnew/
D3.7.rst696 * The new :meth:`Future.get_loop() <asyncio.Future.get_loop>` and
697 ``Task.get_loop()`` methods return the instance of the loop on which a task or
699 :meth:`Server.get_loop() <asyncio.Server.get_loop>` allows doing the same for

12