Home
last modified time | relevance | path

Searched refs:LWS_POLLIN (Results 1 - 25 of 39) sorted by relevance

12

/third_party/libwebsockets/lib/tls/
H A 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()
H A Dtls-server.c305 if (lws_change_pollfd(wsi, 0, LWS_POLLIN)) { in lws_server_socket_service_ssl()
/third_party/libwebsockets/lib/core-net/client/
H A 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/core-net/
H A 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()
H A 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()
/third_party/libwebsockets/lib/roles/raw-file/
H A 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/
H A Dops-raw-skt.c114 !!(pollfd->revents & pollfd->events & LWS_POLLIN)))
121 if ((pollfd->revents & pollfd->events & LWS_POLLIN) &&
184 if (lws_change_pollfd(wsi, LWS_POLLIN, 0))
/third_party/libwebsockets/lib/roles/listen/
H A 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/lib/roles/raw-proxy/
H A 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/
H A 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/
H A Dops-h1.c342 if (!(pollfd->revents & pollfd->events & LWS_POLLIN)) in lws_h1_server_socket_service()
399 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in lws_h1_server_socket_service()
649 !!(pollfd->revents & LWS_POLLIN))) in rops_handle_POLLIN_h1()
657 if ((pollfd->revents & LWS_POLLIN) && in rops_handle_POLLIN_h1()
672 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_h1()
/third_party/libwebsockets/include/
H A Dlibwebsockets.h403 #define LWS_POLLIN (POLLRDNORM | POLLRDBAND) macro
516 #define LWS_POLLIN (1) macro
525 #define LWS_POLLIN (POLLIN) macro
/third_party/libwebsockets/lib/event-libs/glib/
H A 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/unix/
H A 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/plat/windows/
H A Dwindows-sockets.c69 assert((fd->events & LWS_POLLIN) == LWS_POLLIN); in lws_poll_listen_fd()
210 pt->fds[pt->fds_count].events |= LWS_POLLIN; in lws_plat_insert_socket_into_fds()
/third_party/libwebsockets/lib/roles/dbus/
H A 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/
H A 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/
H A 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/roles/cgi/
H A Dops-cgi.c36 !(pollfd->revents & pollfd->events & LWS_POLLIN)) in rops_handle_POLLIN_cgi()
/third_party/libwebsockets/lib/event-libs/libevent/
H A Dlibevent.c129 eventfd.events |= LWS_POLLIN; in lws_event_cb()
130 eventfd.revents |= LWS_POLLIN; in lws_event_cb()
/third_party/libwebsockets/lib/event-libs/libev/
H A Dlibev.c106 eventfd.events |= LWS_POLLIN; in lws_accept_cb()
107 eventfd.revents |= LWS_POLLIN; in lws_accept_cb()
/third_party/libwebsockets/lib/event-libs/sdevent/
H A Dsdevent.c111 eventfd.events |= LWS_POLLIN; in sock_accept_handler()
112 eventfd.revents |= LWS_POLLIN; in sock_accept_handler()
/third_party/libwebsockets/lib/tls/openssl/
H A Dopenssl-ssl.c552 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
560 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
/third_party/libwebsockets/lib/roles/http/
H A 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()
/third_party/libwebsockets/lib/event-libs/libuv/
H A Dlibuv.c136 eventfd.events |= LWS_POLLIN; in lws_io_cb()
137 eventfd.revents |= LWS_POLLIN; in lws_io_cb()

Completed in 17 milliseconds

12