Home
last modified time | relevance | path

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

12

/external/libwebsockets/lib/plat/windows/
Dwindows-sockets.c61 assert((fd->events & LWS_POLLIN) == LWS_POLLIN); in lws_poll_listen_fd()
175 int n = LWS_POLLIN | LWS_POLLHUP | FD_CONNECT; in lws_plat_insert_socket_into_fds()
179 n = LWS_POLLIN; in lws_plat_insert_socket_into_fds()
220 if ((pfd->events & LWS_POLLIN)) in lws_plat_change_pollfd()
221 e |= LWS_POLLIN; in lws_plat_change_pollfd()
/external/libwebsockets/lib/tls/
Dtls-network.c46 pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN; in lws_tls_fake_POLLIN_for_buffered()
47 ret |= pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN; in lws_tls_fake_POLLIN_for_buffered()
212 lws_change_pollfd(v->lserv_wsi, (LWS_POLLIN) * !on, in lws_gate_accepts()
213 (LWS_POLLIN) * on)) in lws_gate_accepts()
Dtls-server.c279 if (lws_change_pollfd(wsi, 0, LWS_POLLIN)) { in lws_server_socket_service_ssl()
/external/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()
/external/libwebsockets/lib/core-net/
Dservice.c514 pfd.events = LWS_POLLIN; in lws_service_do_ripe_rxflow()
515 pfd.revents = LWS_POLLIN; in lws_service_do_ripe_rxflow()
591 pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN; in lws_service_flag_pending()
592 if (pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN) { in lws_service_flag_pending()
656 if ((!(pollfd->revents & pollfd->events & LWS_POLLIN)) && in lws_service_fd_tsi()
670 if ((!(pollfd->revents & pollfd->events & LWS_POLLIN)) && in lws_service_fd_tsi()
Dpollfd.c170 if (_and & LWS_POLLIN) in _lws_change_pollfd()
174 if (_or & LWS_POLLIN) in _lws_change_pollfd()
235 0, LWS_POLLIN, &pa1); in lws_accept_modulation()
238 LWS_POLLIN, 0, &pa1); in lws_accept_modulation()
269 struct lws_pollargs pa = { wsi->desc.sockfd, LWS_POLLIN, 0 }; in __insert_wsi_socket_into_fds()
313 pt->fds[wsi->position_in_fds_table].events = LWS_POLLIN; in __insert_wsi_socket_into_fds()
Dstats.c174 (int)pfd->events & LWS_POLLIN); in lws_stats_log_dump()
/external/libwebsockets/lib/roles/listen/
Dops-listen.c54 if (!(pollfd->revents & (LWS_POLLIN | LWS_POLLOUT)) || in rops_handle_POLLIN_listen()
55 !(pollfd->events & LWS_POLLIN)) in rops_handle_POLLIN_listen()
/external/libwebsockets/include/
Dlibwebsockets.h348 #define LWS_POLLIN (FD_READ | FD_ACCEPT) macro
468 #define LWS_POLLIN (1) macro
477 #define LWS_POLLIN (POLLIN) macro
/external/libwebsockets/lib/roles/raw-proxy/
Dops-raw-proxy.c51 if ((pollfd->revents & pollfd->events & LWS_POLLIN) && in rops_handle_POLLIN_raw_proxy()
67 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_raw_proxy()
/external/libwebsockets/lib/plat/freertos/
Dfreertos-service.c134 if (pt->fds[n].events & LWS_POLLIN) in _lws_plat_service_tsi()
156 pt->fds[m].revents |= LWS_POLLIN; in _lws_plat_service_tsi()
/external/libwebsockets/lib/event-libs/glib/
Dglib.c106 eventfd.revents |= LWS_POLLIN; in lws_glib_dispatch()
262 fd, (GIOCondition)LWS_POLLIN); in elops_accept_glib()
263 wsi->w_read.actual_events = LWS_POLLIN; in elops_accept_glib()
/external/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c70 if ((pollfd->revents & pollfd->events & LWS_POLLIN) && in rops_handle_POLLIN_raw_skt()
124 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_raw_skt()
/external/libwebsockets/lib/misc/
Dspawn.c354 if (lws_change_pollfd(lsp->stdwsi[LWS_STDIN], LWS_POLLIN, LWS_POLLOUT)) in lws_spawn_piped()
356 if (lws_change_pollfd(lsp->stdwsi[LWS_STDOUT], LWS_POLLOUT, LWS_POLLIN)) in lws_spawn_piped()
358 if (lws_change_pollfd(lsp->stdwsi[LWS_STDERR], LWS_POLLOUT, LWS_POLLIN)) in lws_spawn_piped()
/external/libwebsockets/lib/roles/dbus/
Ddbus.c177 lws_flags |= LWS_POLLIN; in lws_dbus_add_watch()
244 lws_flags |= LWS_POLLIN; in lws_dbus_remove_watch()
440 if (pollfd->revents & LWS_POLLIN) in rops_handle_POLLIN_dbus()
/external/libwebsockets/lib/tls/mbedtls/
Dmbedtls-ssl.c293 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
301 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
/external/libwebsockets/lib/roles/h1/
Dops-h1.c313 if (!(pollfd->revents & pollfd->events & LWS_POLLIN)) in lws_h1_server_socket_service()
369 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in lws_h1_server_socket_service()
654 if ((pollfd->revents & LWS_POLLIN) && in rops_handle_POLLIN_h1()
669 if (lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_h1()
/external/libwebsockets/lib/roles/cgi/
Dops-cgi.c36 !(pollfd->revents & pollfd->events & LWS_POLLIN)) in rops_handle_POLLIN_cgi()
/external/libwebsockets/lib/event-libs/libev/
Dlibev.c96 eventfd.events |= LWS_POLLIN; in lws_accept_cb()
97 eventfd.revents |= LWS_POLLIN; in lws_accept_cb()
/external/libwebsockets/lib/tls/openssl/
Dopenssl-ssl.c494 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
502 __lws_change_pollfd(wsi, 0, LWS_POLLIN); in __lws_tls_shutdown()
/external/libwebsockets/lib/event-libs/libevent/
Dlibevent.c118 eventfd.events |= LWS_POLLIN; in lws_event_cb()
119 eventfd.revents |= LWS_POLLIN; in lws_event_cb()
/external/libwebsockets/lib/roles/ws/
Dops-ws.c1029 if ((pollfd->revents & LWS_POLLIN) && lws_is_flowcontrolled(wsi)) { in rops_handle_POLLIN_ws()
1035 if (__lws_change_pollfd(wsi, LWS_POLLIN, 0)) in rops_handle_POLLIN_ws()
1098 if (!(pollfd->revents & pollfd->events & LWS_POLLIN) && !wsi->http.ah) in rops_handle_POLLIN_ws()
1468 pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN; in rops_service_flag_pending_ws()
1469 if (pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN) in rops_service_flag_pending_ws()
/external/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()
279 _lws_change_pollfd(wsi, 0, LWS_POLLIN, &pa); in lws_header_table_attach()
412 _lws_change_pollfd(wsi, 0, LWS_POLLIN, &pa); in __lws_header_table_detach()
/external/libwebsockets/lib/roles/http/client/
Dclient-handshake.c278 pfd.events = LWS_POLLIN; in lws_client_connect_4_established()
315 pfd.events = LWS_POLLIN; in lws_client_connect_4_established()
316 pfd.revents = LWS_POLLIN; in lws_client_connect_4_established()
617 if (lws_change_pollfd(wsi, 0, LWS_POLLIN))
Dclient-http.c387 if ((pollfd->revents & (LWS_POLLIN | LWS_POLLHUP)) == in lws_client_socket_service()
396 if (!(pollfd->revents & LWS_POLLIN)) in lws_client_socket_service()
1229 if (lws_change_pollfd(wsi, 0, LWS_POLLIN)) in lws_http_client_read()

12