Home
last modified time | relevance | path

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

/illumos-gate/usr/src/boot/libsa/
H A Dgzipfs.c70 req = Z_BUFSIZE - zf->zf_zstream.avail_in; in zf_fill()
81 zf->zf_buf + zf->zf_zstream.avail_in, req); in zf_fill()
84 zf->zf_zstream.avail_in += result; in zf_fill()
97 if ((zf->zf_zstream.avail_in == 0) && (zf_fill(zf) == -1)) in get_byte()
99 zf->zf_zstream.avail_in--; in get_byte()
255 if ((zf->zf_zstream.avail_in == 0) && (zf_fill(zf) == -1)) { in zf_read()
259 if (zf->zf_zstream.avail_in == 0) { /* oops, unexpected EOF */ in zf_read()
289 zf->zf_zstream.avail_in = 0; in zf_rewind()
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Ddeflate.c433 state->strm.avail_in = mp->b_wptr - rptr; in z_compress()
451 if (state->strm.avail_in == 0) { in z_compress()
459 state->strm.avail_in = mp->b_wptr - mp->b_rptr; in z_compress()
580 state->strm.avail_in = rlen; in z_incomp()
602 state->strm.avail_in = mp->b_wptr - mp->b_rptr; in z_incomp()
604 rlen += state->strm.avail_in; in z_incomp()
888 state->strm.avail_in = mi->b_wptr - rptr; in z_decompress()
890 rlen = state->strm.avail_in + PPP_HDRLEN + DEFLATE_OVHD; in z_decompress()
922 if (state->strm.avail_in == 0) { in z_decompress()
933 state->strm.avail_in = mi->b_wptr - mi->b_rptr; in z_decompress()
[all …]
H A Dzlib.c1127 (strm->next_in == Z_NULL && strm->avail_in != 0) ||
1182 } else if (strm->avail_in == 0 && flush <= old_flush &&
1188 if (s->status == FINISH_STATE && strm->avail_in != 0) {
1193 if (strm->avail_in != 0 || s->lookahead != 0 ||
1387 unsigned len = strm->avail_in;
1393 strm->avail_in -= len;
1790 if (s->strm->avail_in == 0)
1831 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
3733 #define NEEDBYTE {if (z->avail_in == 0) goto empty; r = Z_OK; } ((void)0)
3734 #define NEXTBYTE (z->avail_in--, z->total_in++, *z->next_in++)
[all …]
H A Dzlib.h404 uInt avail_in; /* number of bytes available at next_in */ member
/illumos-gate/usr/src/common/fs/
H A Ddecompress.c158 zsp->avail_in = 0; in cf_check_compressed()
196 zsp->avail_in = 0; in cf_rewind()
229 if (zsp->avail_in == 0 && filep->fi_cfoff < ip->i_size) { in cf_read()
242 zsp->avail_in = filep->fi_count; in cf_read()
/illumos-gate/usr/src/contrib/zlib/
H A Ddeflate.c450 avail = strm->avail_in;
452 strm->avail_in = dictLength;
477 strm->avail_in = avail;
634 if (strm->avail_in || (s->strstart - s->block_start) + s->lookahead)
815 (strm->avail_in != 0 && strm->next_in == Z_NULL) ||
842 } else if (strm->avail_in == 0 && RANK(flush) <= RANK(old_flush) &&
848 if (s->status == FINISH_STATE && strm->avail_in != 0) {
1037 if (strm->avail_in != 0 || s->lookahead != 0 ||
1207 unsigned len = strm->avail_in;
1212 strm->avail_in -= len;
[all …]
H A Dinfback.c128 have = strm->avail_in; \
139 strm->avail_in = have; \
274 have = next != Z_NULL ? strm->avail_in : 0; in inflateBack()
618 strm->avail_in = have; in inflateBack()
H A Dinffast.c81 last = in + (strm->avail_in - 5); in inflate_fast()
299 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last)); in inflate_fast()
H A Dinflate.c464 have = strm->avail_in; \
475 strm->avail_in = have; \
627 (strm->next_in == Z_NULL && strm->avail_in != 0)) in inflate()
1266 in -= strm->avail_in; in inflate()
1407 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR; in inflateSync()
1425 len = syncsearch(&(state->have), strm->next_in, strm->avail_in); in inflateSync()
1426 strm->avail_in -= len; in inflateSync()
H A Dzlib.h88 uInt avail_in; /* number of bytes available at next_in */ member
H A DChangeLog1278 - next_in and avail_in must be initialized before calling inflateInit or
/illumos-gate/usr/src/common/bzip2/
H A Dbzlib.c439 if (s->strm->avail_in == 0) break; in copy_input_until_stop()
443 s->strm->avail_in--; in copy_input_until_stop()
455 if (s->strm->avail_in == 0) break; in copy_input_until_stop()
461 s->strm->avail_in--; in copy_input_until_stop()
534 if (s->strm->avail_in == 0) { in handle_compress()
568 s->avail_in_expect = strm->avail_in; in BZ_API()
574 s->avail_in_expect = strm->avail_in; in BZ_API()
583 if (s->avail_in_expect != s->strm->avail_in) in BZ_API()
593 if (s->avail_in_expect != s->strm->avail_in) in BZ_API()
1140 bzf->strm.avail_in = 0; in BZ_API()
[all …]
H A Dbzlib.h54 unsigned int avail_in; member
H A Ddecompress.c55 if (s->strm->avail_in == 0) RETURN(BZ_OK); \
62 s->strm->avail_in--; \
/illumos-gate/usr/src/uts/common/zmod/
H A Dzmod.c47 zs.avail_in = srclen; in z_uncompress()
78 zs.avail_in = srclen; in z_compress_level()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c507 uInt avail_in; /* number of bytes available at next_in */ member
2097 last = in + (strm->avail_in - 5);
2293 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last));
2627 have = strm->avail_in; \
2638 strm->avail_in = have; \
2797 (strm->next_in == Z_NULL && strm->avail_in != 0))
3359 in -= strm->avail_in;
3494 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
3512 len = syncsearch(&(state->have), strm->next_in, strm->avail_in);
3513 strm->avail_in -= len;
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Ddeflate.c260 state->strm.avail_in = mi + inlen - rptr;
261 rlen = state->strm.avail_in + PPP_HDRLEN + DEFLATE_OVHD;
324 state->strm.avail_in = rlen;
H A Dzlib.h161 uInt avail_in; /* number of bytes available at next_in */ member
H A Dzlib.c739 if (strm->next_in == Z_NULL && strm->avail_in != 0) {
776 if (state->status == FINISH_STATE && strm->avail_in != 0) {
782 if (strm->avail_in != 0 || state->lookahead != 0 ||
881 unsigned len = strm->avail_in;
887 strm->avail_in -= len;
1166 if (s->strm->avail_in == 0) return;
1197 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
2855 #define NEEDBYTE {if(z->avail_in==0)goto empty;r=Z_OK;}
2856 #define NEXTBYTE (z->avail_in--,z->total_in++,*z->next_in++)
2909 if (f == Z_PACKET_FLUSH && z->avail_in == 0 && z->avail_out != 0)
[all …]
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dgzip.c36 zs.avail_in = srclen; in z_uncompress()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c199 czd->czd_zstr.avail_in = bufsize; in ctf_zdata_compress_buffer()
201 while (czd->czd_zstr.avail_in != 0) { in ctf_zdata_compress_buffer()
322 zs.avail_in = srclen; in z_compress()
/illumos-gate/usr/src/common/pnglite/
H A Dpnglite.c296 stream->avail_in = len; in png_inflate()
305 if (stream->avail_in != 0) in png_inflate()
/illumos-gate/usr/src/cmd/savecore/
H A Dsavecore.c1011 while (s->strm.avail_in > 0) { in bz2decompress()
1052 s->strm.avail_in = blocksz; in bz2block()
1054 while (s->strm.avail_in > 0) { in bz2block()
/illumos-gate/usr/src/cmd/bhyve/common/
H A Drfb.c866 c->rc_zstream.avail_in = w; in rfb_send_rect()
942 c->rc_zstream.avail_in = gci->width * gci->height * in rfb_send_all()
/illumos-gate/usr/src/uts/common/os/
H A Ddumpsubr.c1967 ps->avail_in = size; in dumpsys_bzrun()
1975 if (ps->avail_in == 0 && mode == BZ_RUN) in dumpsys_bzrun()
2052 hp->bzstream.avail_in = 0; in dumpsys_bz2compress()