Searched refs:ptpr (Results 1 – 5 of 5) sorted by relevance
/third_party/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 35 struct lws_pt_eventlibs_libev *ptpr = lws_container_of(watcher, in lws_ev_hrtimer_cb() local 37 struct lws_context_per_thread *pt = ptpr->pt; in lws_ev_hrtimer_cb() 44 ev_timer_set(&ptpr->hrtimer, ((float)us) / 1000000.0, 0); in lws_ev_hrtimer_cb() 45 ev_timer_start(ptpr->io_loop, &ptpr->hrtimer); in lws_ev_hrtimer_cb() 53 struct lws_pt_eventlibs_libev *ptpr = lws_container_of(handle, in lws_ev_idle_cb() local 55 struct lws_context_per_thread *pt = ptpr->pt; in lws_ev_idle_cb() 74 ev_timer_set(&ptpr->hrtimer, ((float)us) / 1000000.0, 0); in lws_ev_idle_cb() 75 ev_timer_start(ptpr->io_loop, &ptpr->hrtimer); in lws_ev_idle_cb() 93 struct lws_pt_eventlibs_libev *ptpr; in lws_accept_cb() local 116 ptpr = pt_to_priv_ev(pt); in lws_accept_cb() [all …]
|
/third_party/libwebsockets/lib/event-libs/libevent/ |
D | libevent.c | 35 struct lws_pt_eventlibs_libevent *ptpr = pt_to_priv_event(pt); in lws_event_hrtimer_cb() local 50 evtimer_add(ptpr->hrtimer, &tv); in lws_event_hrtimer_cb() 59 struct lws_pt_eventlibs_libevent *ptpr = pt_to_priv_event(pt); in lws_event_idle_timer_cb() local 80 evtimer_add(ptpr->idle_timer, &tv); in lws_event_idle_timer_cb() 94 evtimer_add(ptpr->hrtimer, &tv); in lws_event_idle_timer_cb() 182 struct lws_pt_eventlibs_libevent *ptpr = pt_to_priv_event(pt); in elops_listen_init_event() local 187 w_read->watcher = event_new(ptpr->io_loop, wsi->desc.sockfd, in elops_listen_init_event() 200 struct lws_pt_eventlibs_libevent *ptpr = pt_to_priv_event(pt); in elops_init_pt_event() local 215 ptpr->io_loop = loop; in elops_init_pt_event() 221 ptpr->hrtimer = event_new(loop, -1, EV_PERSIST, in elops_init_pt_event() [all …]
|
/third_party/libwebsockets/lib/event-libs/uloop/ |
D | uloop.c | 154 struct lws_pt_eventlibs_uloop *ptpr = pt_to_priv_uloop(pt); in elops_init_pt_uloop() local 156 ptpr->pt = pt; in elops_init_pt_uloop() 162 ptpr->hrtimer.cb = lws_uloop_hrtimer_cb; in elops_init_pt_uloop() 163 ptpr->idle_timer.cb = lws_uloop_idle_timer_cb; in elops_init_pt_uloop() 165 uloop_timeout_add(&ptpr->hrtimer); in elops_init_pt_uloop() 166 uloop_timeout_add(&ptpr->idle_timer); in elops_init_pt_uloop() 168 uloop_timeout_set(&ptpr->hrtimer, 1); in elops_init_pt_uloop() 232 struct lws_pt_eventlibs_uloop *ptpr = pt_to_priv_uloop(pt); in elops_destroy_pt_uloop() local 236 uloop_timeout_cancel(&ptpr->hrtimer); in elops_destroy_pt_uloop() 237 uloop_timeout_cancel(&ptpr->idle_timer); in elops_destroy_pt_uloop()
|
/third_party/libwebsockets/lib/event-libs/glib/ |
D | glib.c | 310 struct lws_pt_eventlibs_glib *ptpr = pt_to_priv_glib(pt); in elops_init_pt_glib() local 324 ptpr->loop = loop; in elops_init_pt_glib() 335 ptpr->sigint.tag = g_unix_signal_add(SIGINT, in elops_init_pt_glib() 436 struct lws_pt_eventlibs_glib *ptpr = pt_to_priv_glib(pt); in elops_destroy_pt_glib() local 443 lws_gs_destroy(ptpr->idle); in elops_destroy_pt_glib() 444 lws_gs_destroy(ptpr->hrtimer); in elops_destroy_pt_glib() 448 lws_gs_destroy(ptpr->sigint); in elops_destroy_pt_glib()
|
/third_party/libwebsockets/lib/event-libs/libuv/ |
D | libuv.c | 38 struct lws_pt_eventlibs_libuv *ptpr = lws_container_of(timer, in lws_uv_sultimer_cb() local 40 struct lws_context_per_thread *pt = ptpr->pt; in lws_uv_sultimer_cb() 60 { struct lws_pt_eventlibs_libuv *ptpr = lws_container_of(handle, in lws_uv_idle() local 62 struct lws_context_per_thread *pt = ptpr->pt; in lws_uv_idle()
|