Home
last modified time | relevance | path

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

/external/libwebsockets/lib/roles/http/compression/
Dstream.c129 size_t ilen_iused = len; in lws_http_compression_transform() local
172 ilen_iused = len; in lws_http_compression_transform()
178 if (!buf && ilen_iused) in lws_http_compression_transform()
182 __func__, wsi, (int)ilen_iused, (int)*olen_oused); in lws_http_compression_transform()
184 n = wsi->http.lcs->process(ctx, buf, &ilen_iused, *outbuf, olen_oused); in lws_http_compression_transform()
196 ctx->may_have_more, (int)ilen_iused); in lws_http_compression_transform()
198 if (use && ilen_iused) { in lws_http_compression_transform()
204 lws_buflist_use_segment(&ctx->buflist_comp, ilen_iused); in lws_http_compression_transform()
210 if (!use && ilen_iused != len) { in lws_http_compression_transform()
216 buf + ilen_iused, len - ilen_iused) < 0) in lws_http_compression_transform()
[all …]
Dprivate-lib-roles-http-compression.h69 int (*process)(lws_comp_ctx_t *ctx, const void *in, size_t *ilen_iused,
/external/libwebsockets/lib/roles/http/compression/deflate/
Ddeflate.c59 lcs_process_deflate(lws_comp_ctx_t *ctx, const void *in, size_t *ilen_iused, in lcs_process_deflate() argument
66 ctx->u.deflate->avail_in = *ilen_iused; in lcs_process_deflate()
85 *ilen_iused -= ctx->u.deflate->avail_in; in lcs_process_deflate()
/external/libwebsockets/lib/roles/http/compression/brotli/
Dbrotli.c48 lcs_process_brotli(lws_comp_ctx_t *ctx, const void *in, size_t *ilen_iused, in lcs_process_brotli() argument
57 a_in = *ilen_iused; in lcs_process_brotli()
95 *ilen_iused -= a_in; in lcs_process_brotli()