Home
last modified time | relevance | path

Searched refs:position_in_fds_table (Results 1 – 12 of 12) sorted by relevance

/third_party/libwebsockets/lib/core-net/
Dpollfd.c42 assert(wsi->position_in_fds_table == LWS_NO_FDS_POS || in _lws_change_pollfd()
43 wsi->position_in_fds_table >= 0); in _lws_change_pollfd()
45 if (wsi->position_in_fds_table == LWS_NO_FDS_POS) in _lws_change_pollfd()
72 assert(wsi->position_in_fds_table < (int)pt->fds_count); in _lws_change_pollfd()
115 ftp->fd_index = wsi->position_in_fds_table; in _lws_change_pollfd()
148 pfd = &pt->fds[wsi->position_in_fds_table]; in _lws_change_pollfd()
260 wsi ? wsi->position_in_fds_table : -1); in __dump_fds()
319 wsi->position_in_fds_table = (int)pt->fds_count; in __insert_wsi_socket_into_fds()
321 pt->fds[wsi->position_in_fds_table].fd = wsi->desc.sockfd; in __insert_wsi_socket_into_fds()
322 pt->fds[wsi->position_in_fds_table].events = LWS_POLLIN; in __insert_wsi_socket_into_fds()
[all …]
Dservice.c613 if (wsi->position_in_fds_table >= 0) { in lws_service_flag_pending()
615 pt->fds[wsi->position_in_fds_table].revents = (short)( in lws_service_flag_pending()
616 pt->fds[wsi->position_in_fds_table].revents | in lws_service_flag_pending()
617 (pt->fds[wsi->position_in_fds_table].events & in lws_service_flag_pending()
619 if (pt->fds[wsi->position_in_fds_table].revents & in lws_service_flag_pending()
Dadopt.c583 if (wsi->position_in_fds_table == LWS_NO_FDS_POS) in adopt_socket_readbuf()
615 pfd = &pt->fds[wsi->position_in_fds_table]; in adopt_socket_readbuf()
Dprivate-lib-core-net.h747 int position_in_fds_table; member
Dwsi.c326 wsi->position_in_fds_table = LWS_NO_FDS_POS; in __lws_wsi_create_with_role()
/third_party/libwebsockets/lib/tls/
Dtls-network.c43 if (wsi->position_in_fds_table >= 0) { in lws_tls_fake_POLLIN_for_buffered()
45 pt->fds[wsi->position_in_fds_table].revents = (short) in lws_tls_fake_POLLIN_for_buffered()
46 (pt->fds[wsi->position_in_fds_table].revents | in lws_tls_fake_POLLIN_for_buffered()
47 (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()
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c169 wsi->position_in_fds_table != LWS_NO_FDS_POS && in rops_handle_POLLIN_listen()
170 lws_poll_listen_fd(&pt->fds[wsi->position_in_fds_table]) > 0); in rops_handle_POLLIN_listen()
/third_party/libwebsockets/lib/roles/ws/
Dops-ws.c1481 while (wsi && wsi->position_in_fds_table != LWS_NO_FDS_POS) { in rops_service_flag_pending_ws()
1482 pt->fds[wsi->position_in_fds_table].revents = in rops_service_flag_pending_ws()
1483 (short)((short)pt->fds[wsi->position_in_fds_table].revents | in rops_service_flag_pending_ws()
1484 (short)(pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN)); in rops_service_flag_pending_ws()
1485 if (pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN) in rops_service_flag_pending_ws()
/third_party/libwebsockets/lib/roles/http/
Dparsers.c131 if (wsi->position_in_fds_table != LWS_NO_FDS_POS && in __lws_header_table_reset()
141 pfd = &pt->fds[wsi->position_in_fds_table]; in __lws_header_table_reset()
399 if (wsi->position_in_fds_table != LWS_NO_FDS_POS) { in __lws_header_table_detach()
/third_party/libwebsockets/lib/core-net/client/
Dconnect.c286 wsi->position_in_fds_table = LWS_NO_FDS_POS; in lws_client_connect_via_info()
Dconnect3.c677 if (wsi->position_in_fds_table != LWS_NO_FDS_POS)
/third_party/libwebsockets/lib/plat/windows/
Dwindows-spawn.c95 new_wsi->position_in_fds_table = LWS_NO_FDS_POS; in lws_create_basic_wsi()