Home
last modified time | relevance | path

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

/titanic_41/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.c1129 (strm->next_in == Z_NULL && strm->avail_in != 0) ||
1184 } else if (strm->avail_in == 0 && flush <= old_flush &&
1190 if (s->status == FINISH_STATE && strm->avail_in != 0) {
1195 if (strm->avail_in != 0 || s->lookahead != 0 ||
1389 unsigned len = strm->avail_in;
1395 strm->avail_in -= len;
1792 if (s->strm->avail_in == 0)
1833 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
3735 #define NEEDBYTE {if (z->avail_in == 0) goto empty; r = Z_OK; } ((void)0)
3736 #define NEXTBYTE (z->avail_in--, z->total_in++, *z->next_in++)
[all …]
H A Dzlib.h406 uInt avail_in; /* number of bytes available at next_in */ member
/titanic_41/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()
/titanic_41/usr/src/common/bzip2/
H A Dbzlib.c462 if (s->strm->avail_in == 0) break; in copy_input_until_stop()
466 s->strm->avail_in--; in copy_input_until_stop()
478 if (s->strm->avail_in == 0) break; in copy_input_until_stop()
484 s->strm->avail_in--; in copy_input_until_stop()
557 if (s->strm->avail_in == 0) { in handle_compress()
591 s->avail_in_expect = strm->avail_in; in BZ_API()
597 s->avail_in_expect = strm->avail_in; in BZ_API()
606 if (s->avail_in_expect != s->strm->avail_in) in BZ_API()
616 if (s->avail_in_expect != s->strm->avail_in) in BZ_API()
1120 bzf->strm.avail_in = 0; in BZ_API()
[all …]
H A Dbzlib.h54 unsigned int avail_in; member
H A Ddecompress.c54 if (s->strm->avail_in == 0) RETURN(BZ_OK); \
61 s->strm->avail_in--; \
/titanic_41/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()
H A Dinflate.c415 have = strm->avail_in; \
426 strm->avail_in = have; \
585 (strm->next_in == Z_NULL && strm->avail_in != 0))
1167 in -= strm->avail_in;
1300 if (strm->avail_in == 0 && state->bits < 8) return Z_BUF_ERROR;
1318 len = syncsearch(&(state->have), strm->next_in, strm->avail_in);
1319 strm->avail_in -= len;
H A Dinffast.c102 last = in + (strm->avail_in - 5);
298 strm->avail_in = (unsigned)(in < last ? 5 + (last - in) : 5 - (in - last));
H A Ddeflate.c572 (strm->next_in == Z_NULL && strm->avail_in != 0) ||
780 } else if (strm->avail_in == 0 && flush <= old_flush &&
786 if (s->status == FINISH_STATE && strm->avail_in != 0) {
792 if (strm->avail_in != 0 || s->lookahead != 0 ||
967 unsigned len = strm->avail_in;
972 strm->avail_in -= len;
1333 if (s->strm->avail_in == 0) return;
1363 } while (s->lookahead < MIN_LOOKAHEAD && s->strm->avail_in != 0);
H A Dzlib.h86 uInt avail_in; /* number of bytes available at next_in */ member
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcompress.c96 outgoing_stream.avail_in = buffer_len(input_buffer); in buffer_compress()
136 incoming_stream.avail_in = buffer_len(input_buffer); in buffer_uncompress()
/titanic_41/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++)
2907 if (f == Z_PACKET_FLUSH && z->avail_in == 0 && z->avail_out != 0)
[all …]
/titanic_41/usr/src/tools/ctf/cvt/
H A Dctf.c488 rb->rb_zstr.avail_in = n; in compress_buffer()
490 while (rb->rb_zstr.avail_in) { in compress_buffer()
1211 zstr.avail_in = cbufsz; in decompress_ctf()
/titanic_41/usr/src/cmd/savecore/
H A Dsavecore.c990 while (s->strm.avail_in > 0) { in bz2decompress()
1031 s->strm.avail_in = blocksz; in bz2block()
1033 while (s->strm.avail_in > 0) { in bz2block()
/titanic_41/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()
/titanic_41/usr/src/tools/ctf/dump/
H A Ddump.c967 zstr.avail_in = cd.cd_ctflen; in main()