• Home
  • Raw
  • Download

Lines Matching refs:w_read

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()
514 n = uv_poll_init(pt_to_priv_uv(pt)->io_loop, w_read->pwatcher, in elops_accept_uv()
518 w_read->pwatcher, wsi->desc.sockfd); in elops_accept_uv()
523 lws_free(w_read->pwatcher); in elops_accept_uv()
524 w_read->pwatcher = NULL; in elops_accept_uv()
528 ((uv_handle_t *)w_read->pwatcher)->data = (void *)wsi; in elops_accept_uv()
544 struct lws_io_watcher_libuv *w = &(wsi_to_priv_uv(wsi)->w_read); in elops_io_uv()
597 struct lws_io_watcher_libuv *w_read; in elops_init_vhost_listen_wsi_uv() local
603 w_read = &wsi_to_priv_uv(wsi)->w_read; in elops_init_vhost_listen_wsi_uv()
605 if (w_read->context) in elops_init_vhost_listen_wsi_uv()
613 w_read->context = wsi->a.context; in elops_init_vhost_listen_wsi_uv()
615 w_read->pwatcher = lws_malloc(sizeof(*w_read->pwatcher), "uvh"); in elops_init_vhost_listen_wsi_uv()
616 if (!w_read->pwatcher) in elops_init_vhost_listen_wsi_uv()
620 w_read->pwatcher, wsi->desc.sockfd); in elops_init_vhost_listen_wsi_uv()
635 ((uv_handle_t *)w_read->pwatcher)->data = (void *)wsi; in elops_init_vhost_listen_wsi_uv()
863 struct lws_io_watcher_libuv *w_read = &wsi_to_priv_uv(wsi)->w_read; in lws_libuv_closehandle() local
865 if (!w_read->pwatcher) in lws_libuv_closehandle()
880 handle = (uv_handle_t *)w_read->pwatcher; in lws_libuv_closehandle()
884 w_read->pwatcher = NULL; in lws_libuv_closehandle()