Home
last modified time | relevance | path

Searched refs:LWS_POLLIN (Results 1 – 25 of 40) sorted by relevance

12

/third_party/libwebsockets/lib/tls/
Dtls-network.c47 (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()
Dtls-server.c305 if (lws_change_pollfd(wsi, 0, LWS_POLLIN)) { in lws_server_socket_service_ssl()
/third_party/libwebsockets/lib/core-net/client/
Dconnect4.c230 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/
Dops-raw-file.c43 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/
Dops-raw-skt.c63 !!(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/
Dpollfd.c170 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()
Dservice.c535 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/
Dops-listen.c52 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/
Dlibwebsockets.h400 #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/
Dops-raw-proxy.c54 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/
Dfreertos-service.c142 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/
Dops-h1.c340 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/
Dglib.c124 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/
Dwindows-sockets.c69 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/
Ddbus.c185 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/
Duloop.c109 eventfd.events = LWS_POLLIN; in lws_uloop_cb()
110 eventfd.revents = LWS_POLLIN; in lws_uloop_cb()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-ssl.c326 __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/
Dunix-spawn.c433 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/
Dsdevent.c111 eventfd.events |= LWS_POLLIN; in sock_accept_handler()
112 eventfd.revents |= LWS_POLLIN; in sock_accept_handler()
/third_party/libwebsockets/lib/roles/cgi/
Dops-cgi.c36 !(pollfd->revents & pollfd->events & LWS_POLLIN)) in rops_handle_POLLIN_cgi()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-ssl.c551 __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/
Dlibev.c106 eventfd.events |= LWS_POLLIN; in lws_accept_cb()
107 eventfd.revents |= LWS_POLLIN; in lws_accept_cb()
/third_party/libwebsockets/lib/roles/ws/
Dops-ws.c1028 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/
Dlibevent.c129 eventfd.events |= LWS_POLLIN; in lws_event_cb()
130 eventfd.revents |= LWS_POLLIN; in lws_event_cb()
/third_party/libwebsockets/lib/roles/http/
Dparsers.c142 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()

12