Home
last modified time | relevance | path

Searched refs:w_read (Results 1 – 8 of 8) sorted by relevance

/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c347 uv_handle_t *h = (uv_handle_t *)wsi_to_priv_uv(wsi)->w_read.pwatcher; in lws_libuv_check_watcher_active()
428 !wsi_to_priv_uv(wsi)->w_read.pwatcher) in elops_wsi_logical_close_uv()
435 if (wsi_to_priv_uv(wsi)->w_read.pwatcher) in elops_wsi_logical_close_uv()
436 uv_poll_stop(wsi_to_priv_uv(wsi)->w_read.pwatcher); in elops_wsi_logical_close_uv()
471 uv_handle_t *h = (uv_handle_t *)wsi_to_priv_uv(wsi)->w_read.pwatcher; in elops_close_handle_manually_uv()
487 wsi_to_priv_uv(wsi)->w_read.pwatcher = NULL; in elops_close_handle_manually_uv()
498 struct lws_io_watcher_libuv *w_read = &wsi_to_priv_uv(wsi)->w_read; in elops_accept_uv() local
507 w_read->context = wsi->a.context; in elops_accept_uv()
509 w_read->pwatcher = lws_malloc(sizeof(*w_read->pwatcher), "uvh"); in elops_accept_uv()
510 if (!w_read->pwatcher) in elops_accept_uv()
[all …]
Dprivate-lib-event-libs-libuv.h80 struct lws_io_watcher_libuv w_read; member
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c183 struct lws_io_watcher_libevent *w_read = in elops_listen_init_event() local
184 &(wsi_to_priv_event(wsi)->w_read); in elops_listen_init_event()
186 w_read->context = context; in elops_listen_init_event()
187 w_read->watcher = event_new(ptpr->io_loop, wsi->desc.sockfd, in elops_listen_init_event()
188 (EV_READ | EV_PERSIST), lws_event_cb, w_read); in elops_listen_init_event()
189 event_add(w_read->watcher, NULL); in elops_listen_init_event()
190 w_read->set = 1; in elops_listen_init_event()
268 wpr->w_read.context = context; in elops_accept_event()
280 wpr->w_read.watcher = event_new(ptpr->io_loop, fd, in elops_accept_event()
281 (EV_READ | EV_PERSIST), lws_event_cb, &wpr->w_read); in elops_accept_event()
[all …]
Dprivate-lib-event-libs-libevent.h47 struct lws_io_watcher_libevent w_read; member
/third_party/libwebsockets/lib/event-libs/libev/
Dlibev.c146 w->w_read.context = context; in elops_listen_init_ev()
296 w->w_read.context = wsi->a.context; in elops_accept_ev()
299 ev_io_init(&w->w_read.watcher, lws_accept_cb, fd, EV_READ); in elops_accept_ev()
326 ev_io_start(ptpr->io_loop, &w->w_read.watcher); in elops_io_ev()
331 ev_io_stop(ptpr->io_loop, &w->w_read.watcher); in elops_io_ev()
389 w->w_read.context = wsi->a.context; in elops_init_vhost_listen_wsi_ev()
397 ev_io_init(&w->w_read.watcher, lws_accept_cb, fd, EV_READ); in elops_init_vhost_listen_wsi_ev()
412 ev_io_stop(ptpr->io_loop, &w->w_read.watcher); in elops_destroy_wsi_ev()
Dprivate-lib-event-libs-libev.h59 struct lws_io_watcher_libev w_read; member
/third_party/libwebsockets/lib/event-libs/glib/
Dglib.c38 #define wsi_to_subclass(_w) (wsi_to_priv_glib(_w)->w_read.source)
276 wsipr->w_read.context = wsi->a.context; in elops_accept_glib()
286 wsipr->w_read.actual_events = LWS_POLLIN; in elops_accept_glib()
350 GIOCondition cond = wsipr->w_read.actual_events | G_IO_ERR; in elops_io_glib()
378 wsipr->w_read.actual_events = (uint8_t)cond; in elops_io_glib()
Dprivate-lib-event-libs-glib.h59 struct lws_io_watcher_glib w_read; member