Home
last modified time | relevance | path

Searched refs:avail_out (Results 1 – 25 of 25) sorted by relevance

/illumos-gate/usr/src/common/fs/
H A Ddecompress.c148 zsp->avail_out = 0; in cf_check_compressed()
219 zsp->avail_out = count; in cf_read()
220 while (zsp->avail_out != 0) { in cf_read()
238 infbytes = zsp->avail_out; in cf_read()
242 zsp->avail_out, (unsigned long)zsp->next_out); in cf_read()
245 infbytes -= zsp->avail_out; in cf_read()
259 count - zsp->avail_out); in cf_read()
261 return (count - zsp->avail_out); in cf_read()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c424 state->strm.avail_out = wspace - (PPP_HDRLEN + 2); in z_compress()
427 state->strm.avail_out = 1000000; in z_compress()
455 if (state->strm.avail_out != 0) in z_compress()
463 if (state->strm.avail_out == 0) { in z_compress()
488 state->strm.avail_out = wspace; in z_compress()
494 state->strm.avail_out = 1000000; in z_compress()
500 m->b_wptr += wspace - state->strm.avail_out; in z_compress()
501 olen += wspace - state->strm.avail_out; in z_compress()
893 state->strm.avail_out = 1; in z_decompress()
929 if (state->strm.avail_out != 0) in z_decompress()
[all …]
H A Dzlib.c1094 if (len > strm->avail_out) len = strm->avail_out;
1104 strm->avail_out -= len;
1131 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
1162 if (strm->avail_out == 0) {
1203 if (strm->avail_out == 0) {
1241 if (strm->avail_out == 0) {
1248 Assert(strm->avail_out > 0, "bug2");
1853 if (s->strm->avail_out == 0) \
2184 if (s->strm->avail_out == 0)
3820 z->avail_out != 0) /* PPP */
[all …]
H A Dzlib.h408 uInt avail_out; /* remaining free space at next_out */ member
/illumos-gate/usr/src/common/bzip2/
H A Dbzlib.c480 if (s->strm->avail_out == 0) break; in copy_output_until_stop()
488 s->strm->avail_out--; in copy_output_until_stop()
718 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_FAST()
724 s->strm->avail_out--; in unRLE_obuf_to_output_FAST()
773 unsigned int cs_avail_out = s->strm->avail_out; in unRLE_obuf_to_output_FAST()
855 s->strm->avail_out = cs_avail_out; in unRLE_obuf_to_output_FAST()
892 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_SMALL()
898 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL()
941 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_SMALL()
947 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL()
[all …]
H A Dbzlib.h59 unsigned int avail_out; member
H A DSolaris.README.txt276 *destLen -= strm.avail_out;
295 *destLen -= strm.avail_out;
301 if (strm.avail_out > 0) {
/illumos-gate/usr/src/uts/common/zmod/
H A Dzmod.c49 zs.avail_out = *dstlen; in z_uncompress()
80 zs.avail_out = *dstlen; in z_compress_level()
/illumos-gate/usr/src/boot/libsa/
H A Dgzipfs.c252 zf->zf_zstream.avail_out = size; in zf_read()
254 while (zf->zf_zstream.avail_out && zf->zf_endseen == 0) { in zf_read()
261 if (zf->zf_zstream.avail_out == size) in zf_read()
278 *resid = zf->zf_zstream.avail_out; in zf_read()
/illumos-gate/usr/src/contrib/zlib/
H A Dinffast.c83 beg = out - (start - strm->avail_out); in inflate_fast()
84 end = out + (strm->avail_out - 257); in inflate_fast()
300 strm->avail_out = (unsigned)(out < end ? in inflate_fast()
H A Ddeflate.c777 if (len > strm->avail_out) len = strm->avail_out;
784 strm->avail_out -= len;
819 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
827 if (strm->avail_out == 0) {
1050 if (strm->avail_out == 0) {
1080 if (strm->avail_out == 0) {
1659 if (s->strm->avail_out == 0) return (last) ? finish_started : need_more; \
1706 if (s->strm->avail_out < have) /* need room for header */
1709 have = s->strm->avail_out - have;
1753 s->strm->avail_out -= left;
[all …]
H A Dinflate.c462 left = strm->avail_out; \
473 strm->avail_out = left; \
1260 if (state->wsize || (out != strm->avail_out && state->mode < BAD && in inflate()
1262 if (updatewindow(strm, strm->next_out, out - strm->avail_out)) { in inflate()
1267 out -= strm->avail_out; in inflate()
H A Dinfback.c126 left = strm->avail_out; \
137 strm->avail_out = left; \
H A Dzlib.h92 uInt avail_out; /* remaining free space at next_out */ member
H A DChangeLog1094 - Note requirement on avail_out when flushing
1356 avail_out as zero but there is nothing to do
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c511 uInt avail_out; /* remaining free space at next_out */ member
2099 beg = out - (start - strm->avail_out);
2100 end = out + (strm->avail_out - 257);
2294 strm->avail_out = (unsigned)(out < end ?
2567 copy = out - strm->avail_out;
2625 left = strm->avail_out; \
2636 strm->avail_out = left; \
3354 if (state->wsize || (state->mode < CHECK && out != strm->avail_out))
3360 out -= strm->avail_out;
3411 if (updatewindow(strm, strm->avail_out)) {
[all …]
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dgzip.c38 zs.avail_out = *dstlen; in z_uncompress()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c186 czd->czd_zstr.avail_out = CTF_COMPRESS_CHUNK; in ctf_zdata_grow()
196 czd->czd_zstr.avail_out = czd->czd_allocsz - in ctf_zdata_compress_buffer()
202 if (czd->czd_zstr.avail_out == 0) { in ctf_zdata_compress_buffer()
225 if (czd->czd_zstr.avail_out == 0) { in ctf_zdata_flush()
324 zs.avail_out = *dstlen; in z_compress()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c263 state->strm.avail_out = state->mru + 2;
274 olen = state->mru + 2 - state->strm.avail_out;
H A Dzlib.c714 if (len > strm->avail_out) len = strm->avail_out;
723 strm->avail_out -= len;
742 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
763 if (strm->avail_out == 0) return Z_OK;
794 if (quit || strm->avail_out == 0)
827 if (strm->avail_out == 0) {
837 Assert(strm->avail_out > 0, "bug2");
1216 if (s->strm->avail_out == 0) return 1; \
1418 if (s->strm->avail_out == 0) return 1;
2909 if (f == Z_PACKET_FLUSH && z->avail_in == 0 && z->avail_out != 0)
[all …]
H A Dzlib.h165 uInt avail_out; /* remaining free space at next_out */ member
/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c1007 if (s->strm.avail_out == 0) { in bz2decompress()
1009 s->strm.avail_out = size; in bz2decompress()
1022 if (s->strm.avail_out == 0) in bz2decompress()
1025 return (s->strm.avail_out == 0); in bz2decompress()
1048 s->strm.avail_out = 0; in bz2block()
/illumos-gate/usr/src/common/pnglite/
H A Dpnglite.c261 stream->avail_out = png->png_datalen; in png_init_inflate()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Drfb.c868 c->rc_zstream.avail_out = RFB_ZLIB_BUFSZ + 16 - in rfb_send_rect()
945 c->rc_zstream.avail_out = RFB_ZLIB_BUFSZ + 16; in rfb_send_all()
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c1983 ps->avail_out = hp->cpout->size - CSIZE; in dumpsys_bzrun()
2001 if (ps->avail_out == 0 || mode == BZ_FINISH) { in dumpsys_bzrun()
2002 csize = hp->cpout->size - CSIZE - ps->avail_out; in dumpsys_bzrun()