/third_party/libwebsockets/lib/tls/ |
D | tls-network.c | 47 (pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN)); in lws_tls_fake_POLLIN_for_buffered() 48 ret |= pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN; in lws_tls_fake_POLLIN_for_buffered() 217 lws_change_pollfd(wsi, on ? LWS_POLLIN : 0, in lws_gate_accepts() 218 on ? 0 : LWS_POLLIN)) in lws_gate_accepts()
|
D | tls-server.c | 305 if (lws_change_pollfd(wsi, 0, LWS_POLLIN)) { in lws_server_socket_service_ssl()
|
/third_party/libwebsockets/lib/core-net/client/ |
D | connect4.c | 230 if (lws_change_pollfd(wsi, 0, LWS_POLLIN)) in lws_client_connect_4_established() 278 pfd.events = LWS_POLLIN; in lws_client_connect_4_established() 318 pfd.events = LWS_POLLIN; in lws_client_connect_4_established() 319 pfd.revents = LWS_POLLIN; in lws_client_connect_4_established()
|
/third_party/libwebsockets/lib/roles/raw-file/ |
D | ops-raw-file.c | 43 if (pollfd->revents & LWS_POLLIN) { in rops_handle_POLLIN_raw_file() 53 if (!(pollfd->revents & LWS_POLLIN)) in rops_handle_POLLIN_raw_file()
|
/third_party/libwebsockets/lib/roles/raw-skt/ |
D | ops-raw-skt.c | 63 !!(pollfd->revents & pollfd->events & LWS_POLLIN))) in rops_handle_POLLIN_raw_skt() 70 if ((pollfd->revents & pollfd->events & LWS_POLLIN) && in rops_handle_POLLIN_raw_skt() 125 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_raw_skt()
|
/third_party/libwebsockets/lib/core-net/ |
D | pollfd.c | 170 if (_and & LWS_POLLIN) in _lws_change_pollfd() 174 if (_or & LWS_POLLIN) in _lws_change_pollfd() 238 _lws_change_pollfd(wsi, allow ? 0 : LWS_POLLIN, in lws_accept_modulation() 239 allow ? LWS_POLLIN : 0, &pa1); in lws_accept_modulation() 271 struct lws_pollargs pa = { wsi->desc.sockfd, LWS_POLLIN, 0 }; in __insert_wsi_socket_into_fds() 322 pt->fds[wsi->position_in_fds_table].events = LWS_POLLIN; in __insert_wsi_socket_into_fds()
|
D | service.c | 535 pfd.events = LWS_POLLIN; in lws_service_do_ripe_rxflow() 536 pfd.revents = LWS_POLLIN; in lws_service_do_ripe_rxflow() 618 LWS_POLLIN)); in lws_service_flag_pending() 620 LWS_POLLIN) in lws_service_flag_pending() 693 if (!(pollfd->revents & pollfd->events & LWS_POLLIN)) { in lws_service_fd_tsi() 751 pollfd->revents |= LWS_POLLIN; in lws_service_fd_tsi()
|
/third_party/libwebsockets/lib/roles/listen/ |
D | ops-listen.c | 52 if (!(pollfd->revents & (LWS_POLLIN | LWS_POLLOUT)) || in rops_handle_POLLIN_listen() 53 !(pollfd->events & LWS_POLLIN)) in rops_handle_POLLIN_listen()
|
/third_party/libwebsockets/include/ |
D | libwebsockets.h | 400 #define LWS_POLLIN (POLLRDNORM | POLLRDBAND) macro 513 #define LWS_POLLIN (1) macro 522 #define LWS_POLLIN (POLLIN) macro
|
/third_party/libwebsockets/lib/roles/raw-proxy/ |
D | ops-raw-proxy.c | 54 if ((pollfd->revents & pollfd->events & LWS_POLLIN) && in rops_handle_POLLIN_raw_proxy() 70 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_raw_proxy()
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-service.c | 142 if (pt->fds[n].events & LWS_POLLIN) in _lws_plat_service_tsi() 159 pt->fds[m].revents |= LWS_POLLIN; in _lws_plat_service_tsi()
|
/third_party/libwebsockets/lib/roles/h1/ |
D | ops-h1.c | 340 if (!(pollfd->revents & pollfd->events & LWS_POLLIN)) in lws_h1_server_socket_service() 397 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in lws_h1_server_socket_service() 647 !!(pollfd->revents & LWS_POLLIN))) in rops_handle_POLLIN_h1() 655 if ((pollfd->revents & LWS_POLLIN) && in rops_handle_POLLIN_h1() 670 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_h1()
|
/third_party/libwebsockets/lib/event-libs/glib/ |
D | glib.c | 124 eventfd.revents |= LWS_POLLIN; in lws_glib_dispatch() 285 fd, (GIOCondition)LWS_POLLIN); in elops_accept_glib() 286 wsipr->w_read.actual_events = LWS_POLLIN; in elops_accept_glib()
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-sockets.c | 69 assert((fd->events & LWS_POLLIN) == LWS_POLLIN); in lws_poll_listen_fd() 200 pt->fds[pt->fds_count].events |= LWS_POLLIN; in lws_plat_insert_socket_into_fds()
|
/third_party/libwebsockets/lib/roles/dbus/ |
D | dbus.c | 185 lws_flags |= LWS_POLLIN; in lws_dbus_add_watch() 257 lws_flags |= LWS_POLLIN; in lws_dbus_remove_watch() 485 if (pollfd->revents & LWS_POLLIN) in rops_handle_POLLIN_dbus()
|
/third_party/libwebsockets/lib/event-libs/uloop/ |
D | uloop.c | 109 eventfd.events = LWS_POLLIN; in lws_uloop_cb() 110 eventfd.revents = LWS_POLLIN; in lws_uloop_cb()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-ssl.c | 326 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown() 334 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-spawn.c | 433 if (lws_change_pollfd(lsp->stdwsi[LWS_STDIN], LWS_POLLIN, LWS_POLLOUT)) in lws_spawn_piped() 435 if (lws_change_pollfd(lsp->stdwsi[LWS_STDOUT], LWS_POLLOUT, LWS_POLLIN)) in lws_spawn_piped() 437 if (lws_change_pollfd(lsp->stdwsi[LWS_STDERR], LWS_POLLOUT, LWS_POLLIN)) in lws_spawn_piped()
|
/third_party/libwebsockets/lib/event-libs/sdevent/ |
D | sdevent.c | 111 eventfd.events |= LWS_POLLIN; in sock_accept_handler() 112 eventfd.revents |= LWS_POLLIN; in sock_accept_handler()
|
/third_party/libwebsockets/lib/roles/cgi/ |
D | ops-cgi.c | 36 !(pollfd->revents & pollfd->events & LWS_POLLIN)) in rops_handle_POLLIN_cgi()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-ssl.c | 551 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown() 559 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
|
/third_party/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 106 eventfd.events |= LWS_POLLIN; in lws_accept_cb() 107 eventfd.revents |= LWS_POLLIN; in lws_accept_cb()
|
/third_party/libwebsockets/lib/roles/ws/ |
D | ops-ws.c | 1028 if ((pollfd->revents & LWS_POLLIN) && lws_is_flowcontrolled(wsi)) { in rops_handle_POLLIN_ws() 1034 if (__lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_ws() 1097 if (!(pollfd->revents & pollfd->events & LWS_POLLIN) && !wsi->http.ah) in rops_handle_POLLIN_ws() 1484 (short)(pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN)); in rops_service_flag_pending_ws() 1485 if (pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN) in rops_service_flag_pending_ws()
|
/third_party/libwebsockets/lib/event-libs/libevent/ |
D | libevent.c | 129 eventfd.events |= LWS_POLLIN; in lws_event_cb() 130 eventfd.revents |= LWS_POLLIN; in lws_event_cb()
|
/third_party/libwebsockets/lib/roles/http/ |
D | parsers.c | 142 pfd->revents |= LWS_POLLIN; in __lws_header_table_reset() 180 _lws_change_pollfd(wsi, LWS_POLLIN, 0, &pa); in _lws_header_ensure_we_are_on_waiting_list() 276 _lws_change_pollfd(wsi, 0, LWS_POLLIN, &pa); in lws_header_table_attach() 405 _lws_change_pollfd(wsi, 0, LWS_POLLIN, &pa); in __lws_header_table_detach()
|