| /f-stack/freebsd/contrib/zstd/zlibWrapper/examples/ |
| H A D | fitblk.c | 95 } while (def->avail_out != 0 && flush == Z_SYNC_FLUSH); in partcompress() 112 inf->avail_out = RAWLEN; in recompress() 123 def->avail_in = RAWLEN - inf->avail_out; in recompress() 125 if (inf->avail_out != 0) in recompress() 131 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress() 171 def.avail_out = size + EXCESS; in main() 180 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main() 182 have = size + EXCESS - def.avail_out; in main() 212 def.avail_out = size + EXCESS; in main() 229 def.avail_out = size; in main() [all …]
|
| H A D | fitblk_original.c | 88 } while (def->avail_out != 0 && flush == Z_NO_FLUSH); in partcompress() 104 inf->avail_out = RAWLEN; in recompress() 113 def->avail_in = RAWLEN - inf->avail_out; in recompress() 115 if (inf->avail_out != 0) in recompress() 119 } while (ret != Z_STREAM_END && def->avail_out != 0); in recompress() 156 def.avail_out = size + EXCESS; in main() 163 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { in main() 165 have = size + EXCESS - def.avail_out; in main() 195 def.avail_out = size + EXCESS; in main() 210 def.avail_out = size; in main() [all …]
|
| H A D | minigzip.c | 256 strm->avail_out = BUFLEN; 258 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 259 } while (strm->avail_out == 0); 281 strm->avail_out = len; 296 } while (strm->avail_out); 297 return len - strm->avail_out; 316 strm->avail_out = BUFLEN; 318 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 319 } while (strm->avail_out == 0);
|
| H A D | example_original.c | 236 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */ 242 c_stream.avail_out = 1; 276 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ 311 c_stream.avail_out = (uInt)comprLen; 372 d_stream.avail_out = (uInt)uncomprLen; 410 c_stream.avail_out = (uInt)*comprLen; 450 d_stream.avail_out = (uInt)uncomprLen; 494 c_stream.avail_out = (uInt)comprLen; 531 d_stream.avail_out = (uInt)uncomprLen;
|
| H A D | example.c | 244 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */ 250 c_stream.avail_out = 1; 284 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ 319 c_stream.avail_out = (uInt)comprLen; 380 d_stream.avail_out = (uInt)uncomprLen; 418 c_stream.avail_out = (uInt)*comprLen; 458 d_stream.avail_out = (uInt)uncomprLen; 502 c_stream.avail_out = (uInt)comprLen; 539 d_stream.avail_out = (uInt)uncomprLen;
|
| /f-stack/freebsd/contrib/zlib/ |
| H A D | uncompr.c | 59 stream.avail_out = 0; 62 if (stream.avail_out == 0) { 63 stream.avail_out = left > (uLong)max ? max : (uInt)left; 64 left -= stream.avail_out; 82 err == Z_BUF_ERROR && left + stream.avail_out ? Z_DATA_ERROR :
|
| H A D | compress.c | 45 stream.avail_out = 0; 50 if (stream.avail_out == 0) { 51 stream.avail_out = left > (uLong)max ? max : (uInt)left; 52 left -= stream.avail_out;
|
| H A D | inffast.c | 85 beg = out - (start - strm->avail_out); 86 end = out + (strm->avail_out - 257); 302 strm->avail_out = (unsigned)(out < end ?
|
| H A D | gzread.c | 186 had = strm->avail_out; 212 } while (strm->avail_out && ret != Z_STREAM_END); 215 state->x.have = had - strm->avail_out; 252 strm->avail_out = state->size << 1; 358 state->strm.avail_out = n;
|
| H A D | gzwrite.c | 63 strm->avail_out = state->size; 108 if (strm->avail_out == 0 || (flush != Z_NO_FLUSH && 120 if (strm->avail_out == 0) { 121 strm->avail_out = state->size; 128 have = strm->avail_out; 135 have -= strm->avail_out;
|
| H A D | deflate.c | 741 if (len > strm->avail_out) len = strm->avail_out; 748 strm->avail_out -= len; 783 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR); 791 if (strm->avail_out == 0) { 1012 if (strm->avail_out == 0) { 1042 if (strm->avail_out == 0) { 1671 if (s->strm->avail_out < have) /* need room for header */ 1674 have = s->strm->avail_out - have; 1718 s->strm->avail_out -= left; 1730 s->strm->avail_out -= len; [all …]
|
| /f-stack/freebsd/opencrypto/ |
| H A D | cryptodeflate.c | 134 zbuf.avail_out = bufp->size; in deflate_global() 151 zbuf.avail_in, zbuf.avail_out, zbuf.total_out); in deflate_global() 156 zbuf.avail_in, zbuf.avail_out, zbuf.total_out); in deflate_global() 163 } else if (zbuf.avail_out == 0) { in deflate_global() 179 zbuf.avail_out = bufp->size; in deflate_global() 184 zbuf.avail_in, zbuf.avail_out, zbuf.total_out); in deflate_global()
|
| /f-stack/dpdk/drivers/compress/zlib/ |
| H A D | zlib_pmd.c | 50 strm->avail_out = rte_pktmbuf_data_len(mbuf_dst) - op->dst.offset; in process_zlib_deflate() 77 } while ((strm->avail_out == 0) && in process_zlib_deflate() 78 COMPUTE_BUF(mbuf_dst, strm->next_out, strm->avail_out)); in process_zlib_deflate() 80 if (!strm->avail_out) { in process_zlib_deflate() 128 strm->avail_out = rte_pktmbuf_data_len(mbuf_dst) - op->dst.offset; in process_zlib_inflate() 164 } while ((strm->avail_out == 0) && in process_zlib_inflate() 165 COMPUTE_BUF(mbuf_dst, strm->next_out, strm->avail_out)); in process_zlib_inflate() 167 if (!strm->avail_out) { in process_zlib_inflate()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-zlib.c | 105 stream.avail_out = (uInt)*destLen; in z_compress_level() 107 if ((size_t)stream.avail_out != *destLen) in z_compress_level() 159 stream.avail_out = (uInt)*destLen; in z_uncompress() 161 if ((size_t)stream.avail_out != *destLen) in z_uncompress()
|
| /f-stack/freebsd/contrib/zstd/zlibWrapper/ |
| H A D | zstd_zlibwrapper.c | 395 zwc->outBuffer.size = strm->avail_out; in z_deflate() 403 strm->avail_out -= zwc->outBuffer.pos; in z_deflate() 421 zwc->outBuffer.size = strm->avail_out; in z_deflate() 428 strm->avail_out -= zwc->outBuffer.pos; in z_deflate() 439 zwc->outBuffer.size = strm->avail_out; in z_deflate() 446 strm->avail_out -= zwc->outBuffer.pos; in z_deflate() 773 strm2.avail_out = strm->avail_out; in z_inflate() 785 strm->avail_out = 0; in z_inflate() 797 strm->avail_out = strm2.avail_out; in z_inflate() 877 zwd->outBuffer.size = strm->avail_out; in z_inflate() [all …]
|
| H A D | gzread.c | 195 had = strm->avail_out; 221 } while (strm->avail_out && ret != Z_STREAM_END); 224 state.state->x.have = had - strm->avail_out; 261 strm->avail_out = state.state->size << 1; 367 state.state->strm.avail_out = n;
|
| H A D | gzwrite.c | 65 strm->avail_out = state.state->size; 110 if (strm->avail_out == 0 || (flush != Z_NO_FLUSH && 122 if (strm->avail_out == 0) { 123 strm->avail_out = state.state->size; 130 have = strm->avail_out; 137 have -= strm->avail_out;
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_zlib.c | 153 stream.avail_out = (uInt)*destLen; in z_compress_level() 156 if ((size_t)stream.avail_out != *destLen) in z_compress_level() 209 stream.avail_out = (uInt)*destLen; in z_uncompress() 211 if ((size_t)stream.avail_out != *destLen) in z_uncompress()
|
| /f-stack/freebsd/contrib/zlib/test/ |
| H A D | minigzip.c | 251 strm->avail_out = BUFLEN; 253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 254 } while (strm->avail_out == 0); 276 strm->avail_out = len; 291 } while (strm->avail_out); 292 return len - strm->avail_out; 311 strm->avail_out = BUFLEN; 313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file); 314 } while (strm->avail_out == 0);
|
| H A D | example.c | 219 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */ 225 c_stream.avail_out = 1; 259 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */ 294 c_stream.avail_out = (uInt)comprLen; 355 d_stream.avail_out = (uInt)uncomprLen; 393 c_stream.avail_out = (uInt)*comprLen; 433 d_stream.avail_out = (uInt)uncomprLen; 477 c_stream.avail_out = (uInt)comprLen; 514 d_stream.avail_out = (uInt)uncomprLen;
|
| /f-stack/app/nginx-1.16.1/src/http/modules/ |
| H A D | ngx_http_gunzip_filter_module.c | 379 if (ctx->zstream.avail_out) { in ngx_http_gunzip_filter_get_buf() 408 ctx->zstream.avail_out = conf->bufs.size; in ngx_http_gunzip_filter_get_buf() 425 ctx->zstream.avail_in, ctx->zstream.avail_out, in ngx_http_gunzip_filter_inflate() 439 ctx->zstream.avail_in, ctx->zstream.avail_out, in ngx_http_gunzip_filter_inflate() 456 if (ctx->zstream.avail_out == 0) { in ngx_http_gunzip_filter_inflate() 496 ctx->zstream.avail_out = 0; in ngx_http_gunzip_filter_inflate() 552 ctx->zstream.avail_out = 0; in ngx_http_gunzip_filter_inflate()
|
| H A D | ngx_http_gzip_filter_module.c | 767 if (ctx->zstream.avail_out) { in ngx_http_gzip_filter_get_buf() 798 ctx->zstream.avail_out = conf->bufs.size; in ngx_http_gzip_filter_get_buf() 815 ctx->zstream.avail_in, ctx->zstream.avail_out, in ngx_http_gzip_filter_deflate() 829 ctx->zstream.avail_in, ctx->zstream.avail_out, in ngx_http_gzip_filter_deflate() 846 if (ctx->zstream.avail_out == 0) { in ngx_http_gzip_filter_deflate() 886 ctx->zstream.avail_out = 0; in ngx_http_gzip_filter_deflate() 963 if (ctx->zstream.avail_out >= 8) { in ngx_http_gzip_filter_deflate_end() 1009 ctx->zstream.avail_out = 0; in ngx_http_gzip_filter_deflate_end()
|
| /f-stack/dpdk/drivers/compress/isal/ |
| H A D | isal_compress_pmd.c | 257 qp->stream->avail_out = dst->data_len - remaining_offset; in chained_mbuf_compression() 299 if (qp->stream->avail_out == 0 && in chained_mbuf_compression() 305 qp->stream->avail_out = dst->data_len; in chained_mbuf_compression() 347 qp->state->avail_out = dst->data_len - dst_remaining_offset; in chained_mbuf_decompression() 389 if (qp->state->avail_out == 0 && in chained_mbuf_decompression() 395 qp->state->avail_out = dst->data_len; in chained_mbuf_decompression() 476 qp->stream->avail_out = op->m_dst->data_len - op->dst.offset; in process_isal_deflate() 567 qp->state->avail_out = op->m_dst->data_len - op->dst.offset; in process_isal_inflate()
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_deflate.c | 461 priv->cx.avail_out = outlen - 2 - DEFLATE_HDRLEN; in ng_deflate_compress() 476 outlen -= priv->cx.avail_out; in ng_deflate_compress() 594 priv->cx.avail_out = outlen - 1; in ng_deflate_decompress() 625 outlen -= priv->cx.avail_out; in ng_deflate_decompress() 665 priv->cx.avail_out = DEFLATE_BUF_SIZE; in ng_deflate_decompress() 678 priv->cx.avail_out = DEFLATE_BUF_SIZE; in ng_deflate_decompress()
|
| /f-stack/freebsd/kern/ |
| H A D | subr_compressor.c | 153 s->gz_stream.avail_out = s->gz_bufsz; in gz_reset() 164 s->gz_stream.avail_out -= hdrlen; in gz_reset() 193 if (s->gz_stream.avail_out == 0 || zerror == Z_STREAM_END) { in gz_write() 198 len = s->gz_bufsz - s->gz_stream.avail_out; in gz_write() 219 s->gz_stream.avail_out = s->gz_bufsz; in gz_write()
|