Home
last modified time | relevance | path

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

12

/third_party/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()
170 (pollfd->revents & pollfd->events & LWS_POLLOUT)) in rops_handle_POLLIN_raw_skt()
176 if (!(pollfd->revents & LWS_POLLOUT)) in rops_handle_POLLIN_raw_skt()
186 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in rops_handle_POLLIN_raw_skt()
/third_party/libwebsockets/lib/roles/raw-proxy/
Dops-raw-proxy.c37 if (!(pollfd->revents & LWS_POLLOUT)) in rops_handle_POLLIN_raw_proxy()
58 (pollfd->revents & pollfd->events & LWS_POLLOUT))) { in rops_handle_POLLIN_raw_proxy()
102 (pollfd->revents & pollfd->events & LWS_POLLOUT)) in rops_handle_POLLIN_raw_proxy()
108 if (!(pollfd->revents & LWS_POLLOUT)) in rops_handle_POLLIN_raw_proxy()
/third_party/libwebsockets/lib/core-net/
Dservice.c134 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()
224 if (lws_change_pollfd(wsi, 0, LWS_POLLOUT)) in lws_handle_POLLOUT_event()
720 if (pollfd->revents & LWS_POLLOUT) in lws_service_fd_tsi()
740 if ((pollfd->revents & LWS_POLLOUT) == LWS_POLLOUT && in lws_service_fd_tsi()
750 pollfd->revents &= ~(LWS_POLLOUT); in lws_service_fd_tsi()
Dpollfd.c49 !_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()
546 if (__lws_change_pollfd(w, 0, LWS_POLLOUT)) in lws_callback_on_writable()
/third_party/libwebsockets/lib/roles/raw-file/
Dops-raw-file.c33 if (pollfd->revents & LWS_POLLOUT) { in rops_handle_POLLIN_raw_file()
34 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in rops_handle_POLLIN_raw_file()
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c351 (pollfd->revents & pollfd->events & LWS_POLLOUT)) { in lws_h1_server_socket_service()
471 if (pollfd->revents & LWS_POLLOUT) in lws_h1_server_socket_service()
482 if (pollfd->revents & LWS_POLLOUT) in lws_h1_server_socket_service()
489 if (!(pollfd->revents & LWS_POLLOUT)) in lws_h1_server_socket_service()
493 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_h1_server_socket_service()
505 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_h1_server_socket_service()
584 if (wsi->http.cgi && (pollfd->revents & LWS_POLLOUT)) { in rops_handle_POLLIN_h1()
693 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_h1()
/third_party/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()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-service.c100 if (!(pfd->events & LWS_POLLOUT)) in _lws_plat_service_tsi()
108 pfd->revents = LWS_POLLOUT; in _lws_plat_service_tsi()
/third_party/libwebsockets/include/
Dlibwebsockets.h401 #define LWS_POLLOUT (POLLWRNORM) macro
514 #define LWS_POLLOUT (4) macro
523 #define LWS_POLLOUT (POLLOUT) macro
/third_party/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()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-service.c144 if (pt->fds[n].events & LWS_POLLOUT) in _lws_plat_service_tsi()
163 pt->fds[m].revents |= LWS_POLLOUT; in _lws_plat_service_tsi()
/third_party/libwebsockets/lib/event-libs/uloop/
Duloop.c113 eventfd.events |= LWS_POLLOUT; in lws_uloop_cb()
114 eventfd.revents |= LWS_POLLOUT; in lws_uloop_cb()
/third_party/libwebsockets/lib/roles/dbus/
Ddbus.c187 lws_flags |= LWS_POLLOUT; in lws_dbus_add_watch()
259 lws_flags |= LWS_POLLOUT; in lws_dbus_remove_watch()
487 if (pollfd->revents & LWS_POLLOUT) in rops_handle_POLLIN_dbus()
/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c259 if (pollfd->revents & LWS_POLLOUT) in lws_mqtt_client_socket_service()
295 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) in lws_mqtt_client_socket_service()
/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.c116 eventfd.events |= LWS_POLLOUT; in sock_accept_handler()
117 eventfd.revents |= LWS_POLLOUT; in sock_accept_handler()
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c52 if (!(pollfd->revents & (LWS_POLLIN | LWS_POLLOUT)) || in rops_handle_POLLIN_listen()
/third_party/libwebsockets/lib/roles/h2/
Dops-h2.c108 if (wsi->http.cgi && (pollfd->revents & LWS_POLLOUT)) { in rops_handle_POLLIN_h2()
119 pollfd->revents & LWS_POLLOUT); in rops_handle_POLLIN_h2()
142 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_h2()
157 if ((pollfd->revents & LWS_POLLOUT) && in rops_handle_POLLIN_h2()
/third_party/libwebsockets/lib/event-libs/libev/
Dlibev.c110 eventfd.events |= LWS_POLLOUT; in lws_accept_cb()
111 eventfd.revents |= LWS_POLLOUT; in lws_accept_cb()
/third_party/libwebsockets/lib/event-libs/libevent/
Dlibevent.c133 eventfd.events |= LWS_POLLOUT; in lws_event_cb()
134 eventfd.revents |= LWS_POLLOUT; in lws_event_cb()
/third_party/libwebsockets/lib/core-net/client/
Dconnect3.c116 if (lws_change_pollfd(wsi, 0, LWS_POLLOUT)) in lws_client_connect_check()
593 if (lws_change_pollfd(wsi, 0, LWS_POLLOUT))
Dconnect4.c279 pfd.revents = LWS_POLLOUT; in lws_client_connect_4_established()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c69 if (pollfd->revents & LWS_POLLOUT) in lws_http_client_socket_service()
166 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) in lws_http_client_socket_service()
378 if (pollfd->revents & LWS_POLLOUT) in lws_http_client_socket_service()
379 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) in lws_http_client_socket_service()
/third_party/libwebsockets/lib/tls/
Dtls-server.c183 if (lws_change_pollfd(wsi, LWS_POLLOUT, 0)) { in lws_server_socket_service_ssl()
/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c139 eventfd.events |= LWS_POLLOUT; in lws_io_cb()
140 eventfd.revents |= LWS_POLLOUT; in lws_io_cb()

12