Searched refs:w_read (Results 1 – 8 of 8) sorted by relevance
/third_party/libwebsockets/lib/event-libs/libuv/ |
D | libuv.c | 347 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 …]
|
D | private-lib-event-libs-libuv.h | 80 struct lws_io_watcher_libuv w_read; member
|
/third_party/libwebsockets/lib/event-libs/libevent/ |
D | libevent.c | 183 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 …]
|
D | private-lib-event-libs-libevent.h | 47 struct lws_io_watcher_libevent w_read; member
|
/third_party/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 146 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()
|
D | private-lib-event-libs-libev.h | 59 struct lws_io_watcher_libev w_read; member
|
/third_party/libwebsockets/lib/event-libs/glib/ |
D | glib.c | 38 #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()
|
D | private-lib-event-libs-glib.h | 59 struct lws_io_watcher_glib w_read; member
|