• Home
  • Raw
  • Download

Lines Matching refs:pmdrx

38 	struct lws_ext_pm_deflate_rx_ebufs pmdrx;  in lws_ws_rx_sm()  local
48 pmdrx.eb_in.token = NULL; in lws_ws_rx_sm()
49 pmdrx.eb_in.len = 0; in lws_ws_rx_sm()
50 pmdrx.eb_out.token = NULL; in lws_ws_rx_sm()
51 pmdrx.eb_out.len = 0; in lws_ws_rx_sm()
57 pmdrx.eb_in.token = NULL; in lws_ws_rx_sm()
58 pmdrx.eb_in.len = 0; in lws_ws_rx_sm()
59 pmdrx.eb_out.token = NULL; in lws_ws_rx_sm()
60 pmdrx.eb_out.len = 0; in lws_ws_rx_sm()
581 pmdrx.eb_in.token = &wsi->ws->rx_ubuf[LWS_PRE]; in lws_ws_rx_sm()
582 pmdrx.eb_in.len = (int)wsi->ws->rx_ubuf_head; in lws_ws_rx_sm()
586 pmdrx.eb_out = pmdrx.eb_in; in lws_ws_rx_sm()
588 if (wsi->ws->opcode == LWSWSOPC_PONG && !pmdrx.eb_in.len) in lws_ws_rx_sm()
606 lin = pmdrx.eb_in.len; in lws_ws_rx_sm()
610 pmdrx.eb_in.len, pmdrx.eb_in.token); in lws_ws_rx_sm()
612 n = lws_ext_cb_active(wsi, LWS_EXT_CB_PAYLOAD_RX, &pmdrx, 0); in lws_ws_rx_sm()
614 n, pmdrx.eb_out.len); in lws_ws_rx_sm()
637 __func__, n, pmdrx.eb_in.len, in lws_ws_rx_sm()
638 pmdrx.eb_out.len); in lws_ws_rx_sm()
641 if (rx_draining_ext && !pmdrx.eb_out.len) { in lws_ws_rx_sm()
658 if (pmdrx.eb_out.len && in lws_ws_rx_sm()
661 pmdrx.eb_out.token, in lws_ws_rx_sm()
662 (size_t)pmdrx.eb_out.len)) { in lws_ws_rx_sm()
683 lwsl_hexdump_notice(pmdrx.eb_out.token, in lws_ws_rx_sm()
684 (size_t)pmdrx.eb_out.len); in lws_ws_rx_sm()
699 pmdrx.eb_in.len -= pmdrx.eb_out.len; in lws_ws_rx_sm()
702 (pmdrx.eb_out.len >= 0 || in lws_ws_rx_sm()
705 if (pmdrx.eb_out.len) in lws_ws_rx_sm()
706 pmdrx.eb_out.token[pmdrx.eb_out.len] = '\0'; in lws_ws_rx_sm()
719 pmdrx.eb_out.token, in lws_ws_rx_sm()
720 (size_t)pmdrx.eb_out.len); in lws_ws_rx_sm()
730 } while (pmdrx.eb_in.len in lws_ws_rx_sm()
1256 struct lws_ext_pm_deflate_rx_ebufs pmdrx; in rops_handle_POLLOUT_ws() local
1396 pmdrx.eb_in.token = NULL; in rops_handle_POLLOUT_ws()
1397 pmdrx.eb_in.len = 0; in rops_handle_POLLOUT_ws()
1402 &pmdrx, 0); in rops_handle_POLLOUT_ws()
1416 if (pmdrx.eb_in.len) { in rops_handle_POLLOUT_ws()
1417 n = lws_issue_raw(wsi, (unsigned char *)pmdrx.eb_in.token, in rops_handle_POLLOUT_ws()
1418 (unsigned int)pmdrx.eb_in.len); in rops_handle_POLLOUT_ws()
1426 if (n != pmdrx.eb_in.len) { in rops_handle_POLLOUT_ws()
1428 pmdrx.eb_in.len, n); in rops_handle_POLLOUT_ws()
1587 struct lws_ext_pm_deflate_rx_ebufs pmdrx; in rops_write_role_protocol_ws() local
1663 pmdrx.eb_in.token = buf; in rops_write_role_protocol_ws()
1664 pmdrx.eb_in.len = (int)len; in rops_write_role_protocol_ws()
1668 pmdrx.eb_out = pmdrx.eb_in; in rops_write_role_protocol_ws()
1677 n = lws_ext_cb_active(wsi, (int)LWS_EXT_CB_PAYLOAD_TX, &pmdrx, (int)*wp); in rops_write_role_protocol_ws()
1682 (int)pmdrx.eb_in.len, (int)pmdrx.eb_out.len, *wp); in rops_write_role_protocol_ws()
1688 (int)pmdrx.eb_out.len, *wp, in rops_write_role_protocol_ws()
1689 (int)pmdrx.eb_in.len); in rops_write_role_protocol_ws()
1716 if (pmdrx.eb_out.len && wsi->ws->stashed_write_pending) { in rops_write_role_protocol_ws()
1727 if (buf != pmdrx.eb_out.token) { in rops_write_role_protocol_ws()
1733 if (len && !pmdrx.eb_out.len) { in rops_write_role_protocol_ws()
1747 buf = pmdrx.eb_out.token; in rops_write_role_protocol_ws()
1748 len = (unsigned int)pmdrx.eb_out.len; in rops_write_role_protocol_ws()