Home
last modified time | relevance | path

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

/titanic_41/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()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcompress.c102 outgoing_stream.avail_out = sizeof(buf); in buffer_compress()
110 sizeof(buf) - outgoing_stream.avail_out); in buffer_compress()
117 } while (outgoing_stream.avail_out == 0); in buffer_compress()
141 incoming_stream.avail_out = sizeof(buf); in buffer_uncompress()
147 sizeof(buf) - incoming_stream.avail_out); in buffer_uncompress()
/titanic_41/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.c1096 if (len > strm->avail_out) len = strm->avail_out;
1106 strm->avail_out -= len;
1133 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
1164 if (strm->avail_out == 0) {
1205 if (strm->avail_out == 0) {
1243 if (strm->avail_out == 0) {
1250 Assert(strm->avail_out > 0, "bug2");
1855 if (s->strm->avail_out == 0) \
2186 if (s->strm->avail_out == 0)
3822 z->avail_out != 0) /* PPP */
[all …]
H A Dzlib.h410 uInt avail_out; /* remaining free space at next_out */ member
/titanic_41/usr/src/common/bzip2/
H A Dbzlib.c503 if (s->strm->avail_out == 0) break; in copy_output_until_stop()
511 s->strm->avail_out--; in copy_output_until_stop()
707 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_FAST()
713 s->strm->avail_out--; in unRLE_obuf_to_output_FAST()
762 unsigned int cs_avail_out = s->strm->avail_out; in unRLE_obuf_to_output_FAST()
840 s->strm->avail_out = cs_avail_out; in unRLE_obuf_to_output_FAST()
877 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_SMALL()
883 s->strm->avail_out--; in unRLE_obuf_to_output_SMALL()
926 if (s->strm->avail_out == 0) return False; in unRLE_obuf_to_output_SMALL()
932 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) {
/titanic_41/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()
H A Dinffast.c104 beg = out - (start - strm->avail_out);
105 end = out + (strm->avail_out - 257);
299 strm->avail_out = (unsigned)(out < end ?
H A Ddeflate.c543 if (len > strm->avail_out) len = strm->avail_out;
550 strm->avail_out -= len;
576 if (strm->avail_out == 0) ERR_RETURN(strm, Z_BUF_ERROR);
765 if (strm->avail_out == 0) {
802 if (strm->avail_out == 0) {
827 if (strm->avail_out == 0) {
833 Assert(strm->avail_out > 0, "bug2");
1384 if (s->strm->avail_out == 0) return (eof) ? finish_started : need_more; \
1662 if (s->strm->avail_out == 0) return need_more;
H A Dinflate.c355 copy = out - strm->avail_out;
413 left = strm->avail_out; \
424 strm->avail_out = left; \
1162 if (state->wsize || (state->mode < CHECK && out != strm->avail_out))
1168 out -= strm->avail_out;
1219 if (updatewindow(strm, strm->avail_out)) {
H A Dzlib.h90 uInt avail_out; /* remaining free space at next_out */ member
/titanic_41/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;
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;
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.c463 rb->rb_zstr.avail_out += RES_BUF_CHUNK_SIZE; in rbzs_grow()
486 rb->rb_zstr.avail_out = rb->rb_size - (rb->rb_ptr - rb->rb_base); in compress_buffer()
491 if (rb->rb_zstr.avail_out == 0) in compress_buffer()
508 if (rb->rb_zstr.avail_out == 0) in compress_flush()
1213 zstr.avail_out = dbufsz; in decompress_ctf()
/titanic_41/usr/src/cmd/savecore/
H A Dsavecore.c986 if (s->strm.avail_out == 0) { in bz2decompress()
988 s->strm.avail_out = size; in bz2decompress()
1001 if (s->strm.avail_out == 0) in bz2decompress()
1004 return (s->strm.avail_out == 0); in bz2decompress()
1027 s->strm.avail_out = 0; in bz2block()
/titanic_41/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()
/titanic_41/usr/src/tools/ctf/dump/
H A Ddump.c969 zstr.avail_out = hp->cth_stroff + hp->cth_strlen; in main()