Lines Matching refs:revents
536 pfd.revents = LWS_POLLIN;
615 pt->fds[wsi->position_in_fds_table].revents = (short)(
616 pt->fds[wsi->position_in_fds_table].revents |
619 if (pt->fds[wsi->position_in_fds_table].revents &
666 /* not lws connection ... leave revents alone and return */
680 * zero down pollfd->revents after handling
690 if ((pollfd->revents & LWS_POLLHUP) == LWS_POLLHUP) {
693 if (!(pollfd->revents & pollfd->events & LWS_POLLIN)) {
720 if (pollfd->revents & LWS_POLLOUT)
740 if ((pollfd->revents & LWS_POLLOUT) == LWS_POLLOUT &&
750 pollfd->revents &= ~(LWS_POLLOUT);
751 pollfd->revents |= LWS_POLLIN;
793 * we can't clear revents now because it'd be the wrong guy's
794 * revents
804 pollfd->revents = 0;