Home
last modified time | relevance | path

Searched refs:w_write (Results 1 – 3 of 3) sorted by relevance

/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c247 wsi->w_write.context = context; in elops_accept_event()
259 wsi->w_write.event.watcher = event_new(pt->event.io_loop, fd, in elops_accept_event()
260 (EV_WRITE | EV_PERSIST), lws_event_cb, &wsi->w_write); in elops_accept_event()
278 if ((flags & LWS_EV_WRITE) && !wsi->w_write.event.set) { in elops_io_event()
279 event_add(wsi->w_write.event.watcher, NULL); in elops_io_event()
280 wsi->w_write.event.set = 1; in elops_io_event()
288 if ((flags & LWS_EV_WRITE) && wsi->w_write.event.set) { in elops_io_event()
289 event_del(wsi->w_write.event.watcher); in elops_io_event()
290 wsi->w_write.event.set = 0; in elops_io_event()
326 event_free(vh->lserv_wsi->w_write.event.watcher); in elops_destroy_pt_event()
[all …]
/third_party/libwebsockets/lib/event-libs/libev/
Dlibev.c267 wsi->w_write.context = wsi->context; in elops_accept_ev()
270 ev_io_init(&wsi->w_write.ev.watcher, lws_accept_cb, fd, EV_WRITE); in elops_accept_ev()
288 ev_io_start(pt->ev.io_loop, &wsi->w_write.ev.watcher); in elops_io_ev()
293 ev_io_stop(pt->ev.io_loop, &wsi->w_write.ev.watcher); in elops_io_ev()
352 wsi->w_write.context = wsi->context; in elops_init_vhost_listen_wsi_ev()
360 ev_io_init(&wsi->w_write.ev.watcher, lws_accept_cb, fd, EV_WRITE); in elops_init_vhost_listen_wsi_ev()
373 ev_io_stop(pt->ev.io_loop, &wsi->w_write.ev.watcher); in elops_destroy_wsi_ev()
/third_party/libwebsockets/lib/core-net/
Dprivate-lib-core-net.h673 struct lws_io_watcher w_write; member