Home
last modified time | relevance | path

Searched refs:LWS_POLLOUT (Results 1 – 25 of 32) sorted by relevance

12

/external/libwebsockets/lib/plat/windows/
Dwindows-service.c103 if (!(pfd->events & LWS_POLLOUT)) in _lws_plat_service_tsi()
111 pfd->revents = LWS_POLLOUT; in _lws_plat_service_tsi()
150 FD_READ | (!!(pt->fds[n].events & LWS_POLLOUT) * FD_WRITE) | in _lws_plat_service_tsi()
186 networkevents.lNetworkEvents = LWS_POLLOUT; in _lws_plat_service_tsi()
201 if (pfd->revents & LWS_POLLOUT) { in _lws_plat_service_tsi()
Dwindows-sockets.c223 if ((pfd->events & LWS_POLLOUT)) in lws_plat_change_pollfd()
224 e |= LWS_POLLOUT; in lws_plat_change_pollfd()
/external/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c40 if (!(pollfd->revents & LWS_POLLOUT)) in rops_handle_POLLIN_raw_skt()
72 (pollfd->revents & pollfd->events & LWS_POLLOUT))) { in rops_handle_POLLIN_raw_skt()
180 (pollfd->revents & pollfd->events & LWS_POLLOUT)) in rops_handle_POLLIN_raw_skt()
186 if (!(pollfd->revents & LWS_POLLOUT)) in rops_handle_POLLIN_raw_skt()
196 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in rops_handle_POLLIN_raw_skt()
/external/libwebsockets/lib/roles/raw-proxy/
Dops-raw-proxy.c37 if (!(pollfd->revents & LWS_POLLOUT)) in rops_handle_POLLIN_raw_proxy()
55 (pollfd->revents & pollfd->events & LWS_POLLOUT))) { in rops_handle_POLLIN_raw_proxy()
99 (pollfd->revents & pollfd->events & LWS_POLLOUT)) in rops_handle_POLLIN_raw_proxy()
105 if (!(pollfd->revents & LWS_POLLOUT)) in rops_handle_POLLIN_raw_proxy()
/external/libwebsockets/lib/roles/h1/
Dops-h1.c324 (pollfd->revents & pollfd->events & LWS_POLLOUT)) { in lws_h1_server_socket_service()
443 if (pollfd->revents & LWS_POLLOUT) in lws_h1_server_socket_service()
454 if (pollfd->revents & LWS_POLLOUT) in lws_h1_server_socket_service()
461 if (!(pollfd->revents & LWS_POLLOUT)) in lws_h1_server_socket_service()
465 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_h1_server_socket_service()
477 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_h1_server_socket_service()
569 if (wsi->http.cgi && (pollfd->revents & LWS_POLLOUT)) { in rops_handle_POLLIN_h1()
583 lwsl_debug("%s: %d %d\n", __func__, (pollfd->revents & LWS_POLLOUT), in rops_handle_POLLIN_h1()
586 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_h1()
692 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_h1()
[all …]
/external/libwebsockets/lib/roles/raw-file/
Dops-raw-file.c33 if (pollfd->revents & LWS_POLLOUT) { in rops_handle_POLLIN_raw_file()
35 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in rops_handle_POLLIN_raw_file()
/external/libwebsockets/lib/roles/cgi/
Dops-cgi.c40 !(pollfd->revents & pollfd->events & LWS_POLLOUT)) in rops_handle_POLLIN_cgi()
44 lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in rops_handle_POLLIN_cgi()
/external/libwebsockets/lib/core-net/
Dservice.c135 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_handle_POLLOUT_event()
168 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_handle_POLLOUT_event()
183 if (lws_change_pollfd(wsi, 0, LWS_POLLOUT)) { in lws_handle_POLLOUT_event()
222 if (lws_change_pollfd(wsi, 0, LWS_POLLOUT)) in lws_handle_POLLOUT_event()
666 if (pollfd->revents & LWS_POLLOUT) in lws_service_fd_tsi()
Dpollfd.c50 !_and && _or == LWS_POLLOUT) { in _lws_change_pollfd()
178 if (_and & LWS_POLLOUT) in _lws_change_pollfd()
182 if (_or & LWS_POLLOUT) in _lws_change_pollfd()
549 if (__lws_change_pollfd(w, 0, LWS_POLLOUT)) in lws_callback_on_writable()
/external/libwebsockets/include/
Dlibwebsockets.h349 #define LWS_POLLOUT (FD_WRITE) macro
469 #define LWS_POLLOUT (4) macro
478 #define LWS_POLLOUT (POLLOUT) macro
/external/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c59 ((pollfd->revents & LWS_POLLOUT)) && in rops_handle_POLLIN_mqtt()
60 lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in rops_handle_POLLIN_mqtt()
65 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_mqtt()
80 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_mqtt()
/external/libwebsockets/lib/plat/freertos/
Dfreertos-service.c136 if (pt->fds[n].events & LWS_POLLOUT) in _lws_plat_service_tsi()
160 pt->fds[m].revents |= LWS_POLLOUT; in _lws_plat_service_tsi()
/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.c179 lws_flags |= LWS_POLLOUT; in lws_dbus_add_watch()
246 lws_flags |= LWS_POLLOUT; in lws_dbus_remove_watch()
442 if (pollfd->revents & LWS_POLLOUT) in rops_handle_POLLIN_dbus()
/external/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c243 if (pollfd->revents & LWS_POLLOUT) in lws_mqtt_client_socket_service()
312 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) in lws_mqtt_client_socket_service()
/external/libwebsockets/lib/roles/listen/
Dops-listen.c54 if (!(pollfd->revents & (LWS_POLLIN | LWS_POLLOUT)) || in rops_handle_POLLIN_listen()
/external/libwebsockets/lib/event-libs/libev/
Dlibev.c100 eventfd.events |= LWS_POLLOUT; in lws_accept_cb()
101 eventfd.revents |= LWS_POLLOUT; in lws_accept_cb()
/external/libwebsockets/lib/roles/h2/
Dops-h2.c107 if (wsi->http.cgi && (pollfd->revents & LWS_POLLOUT)) { in rops_handle_POLLIN_h2()
116 (unsigned int)wsi->wsistate, pollfd->revents & LWS_POLLOUT); in rops_handle_POLLIN_h2()
129 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_h2()
144 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_h2()
/external/libwebsockets/lib/event-libs/libevent/
Dlibevent.c122 eventfd.events |= LWS_POLLOUT; in lws_event_cb()
123 eventfd.revents |= LWS_POLLOUT; in lws_event_cb()
/external/libwebsockets/lib/tls/
Dtls-server.c180 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_server_socket_service_ssl()
/external/libwebsockets/lib/tls/mbedtls/
Dmbedtls-ssl.c306 __lws_change_pollfd(wsi, 0, LWS_POLLOUT); in __lws_tls_shutdown()
/external/libwebsockets/lib/event-libs/libuv/
Dlibuv.c116 eventfd.events |= LWS_POLLOUT; in lws_io_cb()
117 eventfd.revents |= LWS_POLLOUT; in lws_io_cb()
/external/libwebsockets/lib/tls/openssl/
Dopenssl-ssl.c507 __lws_change_pollfd(wsi, 0, LWS_POLLOUT); in __lws_tls_shutdown()
/external/libwebsockets/lib/event-libs/glib/
Dglib.c108 eventfd.revents |= LWS_POLLOUT; in lws_glib_dispatch()
/external/libwebsockets/lib/roles/http/client/
Dclient-http.c131 if (pollfd->revents & LWS_POLLOUT) in lws_client_socket_service()
212 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) in lws_client_socket_service()

12