/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/examples/ |
H A D | fitblk_original.c | 88 } while (def->avail_out != 0 && flush == Z_NO_FLUSH); 104 inf->avail_out = RAWLEN; 113 def->avail_in = RAWLEN - inf->avail_out; 115 if (inf->avail_out != 0) 119 } while (ret != Z_STREAM_END && def->avail_out != 0); 156 def.avail_out = size + EXCESS; 163 if (ret == Z_STREAM_END && def.avail_out >= EXCESS) { 165 have = size + EXCESS - def.avail_out; 195 def.avail_out = size + EXCESS; 210 def.avail_out [all...] |
H A D | fitblk.c | 91 LOG_FITBLK("partcompress1 avail_in=%d total_in=%d avail_out=%d total_out=%d\n", (int)def->avail_in, (int)def->total_in, (int)def->avail_out, (int)def->total_out); 93 LOG_FITBLK("partcompress2 ret=%d avail_in=%d total_in=%d avail_out=%d total_out=%d\n", ret, (int)def->avail_in, (int)def->total_in, (int)def->avail_out, (int)def->total_out); 95 } while (def->avail_out != 0 && flush == Z_SYNC_FLUSH); 112 inf->avail_out = RAWLEN; 114 LOG_FITBLK("recompress1inflate avail_in=%d total_in=%d avail_out=%d total_out=%d\n", (int)inf->avail_in, (int)inf->total_in, (int)inf->avail_out, (int)inf->total_out); 116 LOG_FITBLK("recompress2inflate avail_in=%d total_in=%d avail_out=%d total_out=%d\n", (int)inf->avail_in, (int)inf->total_in, (int)inf->avail_out, (in [all...] |
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;
|
/freebsd-12-stable/sys/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;
|
/freebsd-12-stable/usr.bin/gzip/ |
H A D | unbzip2.c | 87 bzs.avail_out = BUFLEN; 105 if (!tflag && bzs.avail_out != BUFLEN) { 108 n = write(out, outbuf, BUFLEN - bzs.avail_out);
|
H A D | unxz.c | 69 strm.avail_out = 0; 75 strm.avail_out = sizeof(obuf); 101 if (strm.avail_out == 0 || ret != LZMA_OK) { 102 const size_t write_size = sizeof(obuf) - strm.avail_out; 108 strm.avail_out = sizeof(obuf);
|
/freebsd-12-stable/usr.bin/mkuzip/ |
H A D | mkuz_lzma.c | 104 ulp->strm.avail_out = rval->alen; 112 (ulp->blksz * 2 - ulp->strm.avail_out)); 119 rval->info.len = rval->alen - ulp->strm.avail_out;
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zmod.c | 49 zs.avail_out = *dstlen; 80 zs.avail_out = *dstlen;
|
/freebsd-12-stable/usr.sbin/ppp/ |
H A D | deflate.c | 107 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2; 125 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) 136 if (state->cx.avail_out == 0) { 142 state->cx.avail_out = DEFLATE_CHUNK_LEN; 146 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out); 244 * We set avail_out to 1 initially so we can look at the first 251 state->cx.avail_out = 1; 270 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0) 281 if (state->cx.avail_out == 0) { 288 state->cx.avail_out [all...] |
/freebsd-12-stable/contrib/xz/src/xzdec/ |
H A D | xzdec.c | 169 strm->avail_out = BUFSIZ; 200 if (strm->avail_out == 0 || ret != LZMA_OK) { 201 const size_t write_size = BUFSIZ - strm->avail_out; 214 strm->avail_out = BUFSIZ;
|
/freebsd-12-stable/contrib/serf/buckets/ |
H A D | deflate_buckets.c | 218 ctx->zstream.avail_out = ctx->bufferSize; 251 /* It is possible that we maxed out avail_out before 286 if (zRC == Z_BUF_ERROR || ctx->zstream.avail_out == 0) { 289 private_len = ctx->bufferSize - ctx->zstream.avail_out; 299 ctx->zstream.avail_out = ctx->bufferSize; 306 private_len = ctx->bufferSize - ctx->zstream.avail_out; 315 ctx->zstream.avail_out = ctx->bufferSize;
|
/freebsd-12-stable/sys/opencrypto/ |
H A D | cryptodeflate.c | 122 zbuf.avail_out = bufp->size; 143 zbuf.avail_in, zbuf.avail_out); 151 zbuf.avail_in, zbuf.avail_out); 161 } else if (zbuf.avail_out == 0) { 177 zbuf.avail_out = bufp->size; 186 zbuf.avail_in, zbuf.avail_out);
|
/freebsd-12-stable/crypto/openssl/crypto/comp/ |
H A D | c_zlib.c | 178 state->ostream.avail_out = olen; 183 return olen - state->ostream.avail_out; 199 state->istream.avail_out = olen; 204 return olen - state->istream.avail_out; 394 zin->avail_out = (unsigned int)outl; 405 if ((ret == Z_STREAM_END) || !zin->avail_out) 406 return outl - zin->avail_out; 416 int tot = outl - zin->avail_out; 452 zout->avail_out = ctx->obufsize; 482 zout->avail_out [all...] |
/freebsd-12-stable/sys/contrib/zstd/zlibWrapper/ |
H A D | zstd_zlibwrapper.c | 287 LOG_WRAPPERC("- deflate1 flush=%d avail_in=%d avail_out=%d total_in=%d total_out=%d\n", 288 (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); 318 LOG_WRAPPERC("- deflate2 flush=%d avail_in=%d avail_out=%d total_in=%d total_out=%d\n", (int)flush, (int)strm->avail_in, (int)strm->avail_out, (int)strm->total_in, (int)strm->total_out); 324 zwc->outBuffer.size = strm->avail_out; 332 strm->avail_out -= zwc->outBuffer.pos; 350 zwc->outBuffer.size = strm->avail_out; 353 LOG_WRAPPERC("deflate ZSTD_endStream dstCapacity=%d bytesLeft=%d\n", (int)strm->avail_out, (int)bytesLeft); 357 strm->avail_out -= zwc->outBuffer.pos; 360 LOG_WRAPPERC("Z_STREAM_END2 strm->total_in=%d strm->avail_out [all...] |
/freebsd-12-stable/contrib/bzip2/ |
H A D | bzlib.c | 347 if (s->strm->avail_out == 0) break; 355 s->strm->avail_out--; 552 if (s->strm->avail_out == 0) return False; 558 s->strm->avail_out--; 607 unsigned int cs_avail_out = s->strm->avail_out; 685 s->strm->avail_out = cs_avail_out; 722 if (s->strm->avail_out == 0) return False; 728 s->strm->avail_out--; 771 if (s->strm->avail_out == 0) return False; 777 s->strm->avail_out [all...] |
/freebsd-12-stable/usr.sbin/fifolog/lib/ |
H A D | fifolog_reader.c | 215 q = fr->obuf + (fr->olen - fr->ff->zs->avail_out); 282 zs->avail_out = fr->olen; 299 zs->avail_out, fr->olen); 314 if (zs->avail_out != fr->olen) { 315 q = fr->obuf + (fr->olen - zs->avail_out); 319 zs->avail_out = fr->olen - (q - p);
|
/freebsd-12-stable/contrib/ntp/sntp/libevent/test/ |
H A D | regress_zlib.c | 154 p->avail_out = v_out[0].iov_len; 161 nwrite = v_out[0].iov_len - p->avail_out; 208 p->avail_out = v_out[0].iov_len; 215 nwrite = v_out[0].iov_len - p->avail_out;
|
/freebsd-12-stable/contrib/libevent/test/ |
H A D | regress_zlib.c | 154 p->avail_out = v_out[0].iov_len; 161 nwrite = v_out[0].iov_len - p->avail_out; 208 p->avail_out = v_out[0].iov_len; 215 nwrite = v_out[0].iov_len - p->avail_out;
|
/freebsd-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_add_filter_bzip2.c | 193 data->stream.avail_out = data->compressed_buffer_size; 269 data->compressed_buffer_size - data->stream.avail_out); 307 if (data->stream.avail_out == 0) { 316 data->stream.avail_out = data->compressed_buffer_size;
|
H A D | archive_write_add_filter_gzip.c | 210 data->stream.avail_out = (uInt)data->compressed_buffer_size; 233 data->stream.avail_out -= 10; 314 data->compressed_buffer_size - data->stream.avail_out); 354 if (data->stream.avail_out == 0) { 361 data->stream.avail_out =
|
/freebsd-12-stable/stand/libsa/ |
H A D | bzipfs.c | 236 bzf->bzf_bzstream.avail_out = size; 238 while (bzf->bzf_bzstream.avail_out && bzf->bzf_endseen == 0) { 245 if (bzf->bzf_bzstream.avail_out == size) 261 *resid = bzf->bzf_bzstream.avail_out;
|
H A D | gzipfs.c | 245 zf->zf_zstream.avail_out = size; 247 while (zf->zf_zstream.avail_out && zf->zf_endseen == 0) { 254 if (zf->zf_zstream.avail_out == size) 270 *resid = zf->zf_zstream.avail_out;
|
/freebsd-12-stable/sys/contrib/zlib/test/ |
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;
|
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);
|