Home
last modified time | relevance | path

Searched refs:pmdrx (Results 1 – 4 of 4) sorted by relevance

/third_party/libwebsockets/lib/roles/ws/ext/
Dextension-permessage-deflate.c80 struct lws_ext_pm_deflate_rx_ebufs *pmdrx = in lws_extension_callback_pm_deflate() local
192 pmdrx->eb_in.len, priv->rx.avail_in); in lws_extension_callback_pm_deflate()
216 pmdrx->eb_out.len = 0; in lws_extension_callback_pm_deflate()
220 pmdrx->eb_in.len, priv->rx.avail_in, wsi->ws->final); in lws_extension_callback_pm_deflate()
248 if (priv->rx.avail_in && pmdrx->eb_in.token && in lws_extension_callback_pm_deflate()
249 pmdrx->eb_in.len) { in lws_extension_callback_pm_deflate()
255 if (!priv->rx.avail_in && pmdrx->eb_in.token && pmdrx->eb_in.len) { in lws_extension_callback_pm_deflate()
256 priv->rx.next_in = (unsigned char *)pmdrx->eb_in.token; in lws_extension_callback_pm_deflate()
257 priv->rx.avail_in = (uInt)pmdrx->eb_in.len; in lws_extension_callback_pm_deflate()
261 pmdrx->eb_out.token = priv->rx.next_out; in lws_extension_callback_pm_deflate()
[all …]
/third_party/libwebsockets/lib/roles/ws/
Dclient-parser-ws.c35 struct lws_ext_pm_deflate_rx_ebufs pmdrx; in lws_ws_client_rx_sm() local
43 pmdrx.eb_in.token = NULL; in lws_ws_client_rx_sm()
44 pmdrx.eb_in.len = 0; in lws_ws_client_rx_sm()
45 pmdrx.eb_out.token = NULL; in lws_ws_client_rx_sm()
46 pmdrx.eb_out.len = 0; in lws_ws_client_rx_sm()
517 pmdrx.eb_in.token = &wsi->ws->rx_ubuf[LWS_PRE]; in lws_ws_client_rx_sm()
518 pmdrx.eb_in.len = (int)wsi->ws->rx_ubuf_head; in lws_ws_client_rx_sm()
522 pmdrx.eb_out = pmdrx.eb_in; in lws_ws_client_rx_sm()
539 pmdrx.eb_in.len, pmdrx.eb_in.token); in lws_ws_client_rx_sm()
542 &pmdrx, 0); in lws_ws_client_rx_sm()
[all …]
Dops-ws.c38 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()
[all …]
Dserver-ws.c807 struct lws_ext_pm_deflate_rx_ebufs pmdrx; in lws_ws_frame_rest_is_payload() local
844 pmdrx.eb_in.token = buffer; in lws_ws_frame_rest_is_payload()
845 pmdrx.eb_in.len = (int)avail; in lws_ws_frame_rest_is_payload()
846 pmdrx.eb_out.token = buffer; in lws_ws_frame_rest_is_payload()
847 pmdrx.eb_out.len = (int)avail; in lws_ws_frame_rest_is_payload()
883 n = lws_ext_cb_active(wsi, LWS_EXT_CB_PAYLOAD_RX, &pmdrx, 0); in lws_ws_frame_rest_is_payload()
885 pmdrx.eb_out.len); in lws_ws_frame_rest_is_payload()
912 if (!pmdrx.eb_out.len && /* zero-length inflation output */ in lws_ws_frame_rest_is_payload()
934 if (wsi->ws->count_act_ext && !pmdrx.eb_out.len) in lws_ws_frame_rest_is_payload()
944 if (pmdrx.eb_out.len && in lws_ws_frame_rest_is_payload()
[all …]