Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/common/fs/
H A Ddecompress.c160 zsp->avail_out = 0; in cf_check_compressed()
227 zsp->avail_out = count; in cf_read()
228 while (zsp->avail_out != 0) { in cf_read()
246 infbytes = zsp->avail_out; in cf_read()
248 zsp->avail_out, (unsigned long)zsp->next_out); in cf_read()
250 infbytes -= zsp->avail_out; in cf_read()
259 dprintf("cf_read: returned %lx bytes\n", count - zsp->avail_out); in cf_read()
260 return (count - zsp->avail_out); in cf_read()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c427 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()
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()
939 if (state->strm.avail_out == 0) { in z_decompress()
950 ++state->strm.avail_out; in z_decompress()
[all …]
H A Dzlib.c1094 if (len > strm->avail_out) len = strm->avail_out;
1104 strm->avail_out -= len;
1162 if (strm->avail_out == 0) {
1203 if (strm->avail_out == 0) {
1241 if (strm->avail_out == 0) {
1853 if (s->strm->avail_out == 0) \
2184 if (s->strm->avail_out == 0)
5556 if (n > z->avail_out) n = z->avail_out;
5560 z->avail_out -= n;
5584 if (n > z->avail_out) n = z->avail_out;
[all …]
H A Dzlib.h408 uInt avail_out; /* remaining free space at next_out */ member
/illumos-gate/usr/src/common/bzip2/
H A Dbzlib.c488 s->strm->avail_out--; in copy_output_until_stop()
724 s->strm->avail_out--; in unRLE_obuf_to_output_FAST()
898 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL()
947 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL()
1365 bzf->strm.avail_out = len; in BZ_API()
1395 if (bzf->strm.avail_out == 0) in BZ_API()
1461 strm.avail_out = *destLen; in BZ_API()
1468 *destLen -= strm.avail_out; in BZ_API()
1509 strm.avail_out = *destLen; in BZ_API()
1516 *destLen -= strm.avail_out; in BZ_API()
[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/boot/libsa/
H A Dbzipfs.c246 bzf->bzf_bzstream.avail_out = size; in bzf_read()
248 while (bzf->bzf_bzstream.avail_out && bzf->bzf_endseen == 0) { in bzf_read()
257 if (bzf->bzf_bzstream.avail_out == size) in bzf_read()
275 *resid = bzf->bzf_bzstream.avail_out; in bzf_read()
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()
H A Dpkgfs.c445 pkg->pkg_zs.avail_out = bufsz; in get_zipped()
447 while (pkg->pkg_zs.avail_out) { in get_zipped()
/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/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) {
1706 if (s->strm->avail_out < have) /* need room for header */
1709 have = s->strm->avail_out - have;
1753 s->strm->avail_out -= left;
1765 s->strm->avail_out -= len;
[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
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c2567 copy = out - strm->avail_out;
2625 left = strm->avail_out; \
2636 strm->avail_out = left; \
3360 out -= strm->avail_out;
3776 s->stream.avail_out = Z_BUFSIZE;
3996 s->stream.avail_out = len;
4001 s->stream.avail_out--;
4011 while (s->stream.avail_out != 0) {
4016 if (n > s->stream.avail_out) n = s->stream.avail_out;
4026 s->stream.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.h165 uInt avail_out; /* remaining free space at next_out */ member
H A Dzlib.c714 if (len > strm->avail_out) len = strm->avail_out;
723 strm->avail_out -= len;
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; \
4346 if (n > z->avail_out) n = z->avail_out;
4350 z->avail_out -= n;
4374 if (n > z->avail_out) n = z->avail_out;
[all …]
/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c987 if (s->strm.avail_out == 0) { in bz2decompress()
989 s->strm.avail_out = size; in bz2decompress()
1002 if (s->strm.avail_out == 0) in bz2decompress()
1005 return (s->strm.avail_out == 0); in bz2decompress()
1028 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/
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()

12