Home
last modified time | relevance | path

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

/external/libwebsockets/lib/roles/ws/ext/
Dextension-permessage-deflate.c80 struct lws_ext_pm_deflate_rx_ebufs *pmdrx = in lws_extension_callback_pm_deflate() local
193 __func__, pmdrx->eb_in.len, priv->rx.avail_in); in lws_extension_callback_pm_deflate()
207 pmdrx->eb_out.len = 0; in lws_extension_callback_pm_deflate()
211 pmdrx->eb_in.len, priv->rx.avail_in, wsi->ws->final); in lws_extension_callback_pm_deflate()
239 if (priv->rx.avail_in && pmdrx->eb_in.token && in lws_extension_callback_pm_deflate()
240 pmdrx->eb_in.len) { in lws_extension_callback_pm_deflate()
246 if (!priv->rx.avail_in && pmdrx->eb_in.token && pmdrx->eb_in.len) { in lws_extension_callback_pm_deflate()
247 priv->rx.next_in = (unsigned char *)pmdrx->eb_in.token; in lws_extension_callback_pm_deflate()
248 priv->rx.avail_in = pmdrx->eb_in.len; in lws_extension_callback_pm_deflate()
252 pmdrx->eb_out.token = priv->rx.next_out; in lws_extension_callback_pm_deflate()
[all …]
/external/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()
525 pmdrx.eb_in.token = &wsi->ws->rx_ubuf[LWS_PRE]; in lws_ws_client_rx_sm()
526 pmdrx.eb_in.len = wsi->ws->rx_ubuf_head; in lws_ws_client_rx_sm()
530 pmdrx.eb_out = pmdrx.eb_in; in lws_ws_client_rx_sm()
547 pmdrx.eb_in.len, pmdrx.eb_in.token); in lws_ws_client_rx_sm()
550 &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()
60 pmdrx.eb_in.token = NULL; in lws_ws_rx_sm()
61 pmdrx.eb_in.len = 0; in lws_ws_rx_sm()
62 pmdrx.eb_out.token = NULL; in lws_ws_rx_sm()
63 pmdrx.eb_out.len = 0; in lws_ws_rx_sm()
584 pmdrx.eb_in.token = &wsi->ws->rx_ubuf[LWS_PRE]; in lws_ws_rx_sm()
[all …]
Dserver-ws.c730 struct lws_ext_pm_deflate_rx_ebufs pmdrx; in lws_ws_frame_rest_is_payload() local
767 pmdrx.eb_in.token = buffer; in lws_ws_frame_rest_is_payload()
768 pmdrx.eb_in.len = avail; in lws_ws_frame_rest_is_payload()
769 pmdrx.eb_out.token = buffer; in lws_ws_frame_rest_is_payload()
770 pmdrx.eb_out.len = avail; in lws_ws_frame_rest_is_payload()
806 n = lws_ext_cb_active(wsi, LWS_EXT_CB_PAYLOAD_RX, &pmdrx, 0); in lws_ws_frame_rest_is_payload()
808 pmdrx.eb_out.len); in lws_ws_frame_rest_is_payload()
835 if (!pmdrx.eb_out.len && /* zero-length inflation output */ in lws_ws_frame_rest_is_payload()
857 if (wsi->ws->count_act_ext && !pmdrx.eb_out.len) in lws_ws_frame_rest_is_payload()
867 if (pmdrx.eb_out.len && in lws_ws_frame_rest_is_payload()
[all …]