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

123

/freebsd-10.0-release/crypto/openssh/
H A Dcompress.c103 /* Loop compressing until deflate() returns with avail_out != 0. */
107 outgoing_stream.avail_out = sizeof(buf);
115 sizeof(buf) - outgoing_stream.avail_out);
122 } while (outgoing_stream.avail_out == 0);
146 incoming_stream.avail_out = sizeof(buf);
152 sizeof(buf) - incoming_stream.avail_out);
/freebsd-10.0-release/lib/libz/
H A Duncompr.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
H A Dcompress.c39 stream.avail_out = (uInt)*destLen;
40 if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
H A Dinffast.c44 strm->avail_out >= 258
45 start >= strm->avail_out
64 requires strm->avail_out >= 258 for each loop to avoid checking for
69 unsigned start; /* inflate()'s starting value for strm->avail_out */
102 beg = out - (start - strm->avail_out);
103 end = out + (strm->avail_out - 257);
319 strm->avail_out = (unsigned)(out < end ?
/freebsd-10.0-release/usr.bin/gzip/
H A Dunxz.c66 strm.avail_out = 0;
72 strm.avail_out = sizeof(obuf);
96 if (strm.avail_out == 0 || ret != LZMA_OK) {
97 const size_t write_size = sizeof(obuf) - strm.avail_out;
103 strm.avail_out = sizeof(obuf);
H A Dunbzip2.c83 bzs.avail_out = BUFLEN;
101 if (!tflag && bzs.avail_out != BUFLEN) {
104 n = write(out, outbuf, BUFLEN - bzs.avail_out);
/freebsd-10.0-release/crypto/openssl/crypto/comp/
H A Dc_zlib.c154 state->istream.avail_out = 0;
166 state->ostream.avail_out = 0;
205 state->ostream.avail_out = olen;
212 ilen,olen - state->ostream.avail_out,
213 (ilen != olen - state->ostream.avail_out)?"zlib":"clear");
215 return olen - state->ostream.avail_out;
233 state->istream.avail_out = olen;
240 ilen,olen - state->istream.avail_out,
241 (ilen != olen - state->istream.avail_out)?"zlib":"clear");
243 return olen - state->istream.avail_out;
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c49 zs.avail_out = *dstlen;
80 zs.avail_out = *dstlen;
H A Dinffast.c46 strm->avail_out >= 258
47 start >= strm->avail_out
66 requires strm->avail_out >= 258 for each loop to avoid checking for
71 unsigned start; /* inflate()'s starting value for strm->avail_out */
104 beg = out - (start - strm->avail_out);
105 end = out + (strm->avail_out - 257);
299 strm->avail_out = (unsigned)(out < end ?
/freebsd-10.0-release/usr.sbin/ppp/
H A Ddeflate.c105 state->cx.avail_out = DEFLATE_CHUNK_LEN - 2;
123 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0)
134 if (state->cx.avail_out == 0) {
140 state->cx.avail_out = DEFLATE_CHUNK_LEN;
144 olen += (mo->m_len = DEFLATE_CHUNK_LEN - state->cx.avail_out);
242 * We set avail_out to 1 initially so we can look at the first
249 state->cx.avail_out = 1;
268 if (flush == Z_SYNC_FLUSH && state->cx.avail_out != 0)
279 if (state->cx.avail_out == 0) {
286 state->cx.avail_out
[all...]
/freebsd-10.0-release/contrib/xz/src/xzdec/
H A Dxzdec.c169 strm->avail_out = BUFSIZ;
200 if (strm->avail_out == 0 || ret != LZMA_OK) {
201 const size_t write_size = BUFSIZ - strm->avail_out;
214 strm->avail_out = BUFSIZ;
/freebsd-10.0-release/contrib/serf/buckets/
H A Ddeflate_buckets.c206 ctx->zstream.avail_out = ctx->bufferSize;
239 /* It is possible that we maxed out avail_out before
270 if (ctx->zstream.avail_out == 0) {
273 private_len = ctx->bufferSize - ctx->zstream.avail_out;
283 ctx->zstream.avail_out = ctx->bufferSize;
291 private_len = ctx->bufferSize - ctx->zstream.avail_out;
300 ctx->zstream.avail_out = ctx->bufferSize;
/freebsd-10.0-release/sys/opencrypto/
H A Ddeflate.c124 zbuf.avail_out = bufp->size;
145 zbuf.avail_in, zbuf.avail_out);
153 zbuf.avail_in, zbuf.avail_out);
163 } else if (zbuf.avail_out == 0) {
179 zbuf.avail_out = bufp->size;
188 zbuf.avail_in, zbuf.avail_out);
/freebsd-10.0-release/contrib/bzip2/
H A Dbzlib.c347 if (s->strm->avail_out == 0) break;
355 s->strm->avail_out--;
552 if (s->strm->avail_out == 0) return False;
558 s->strm->avail_out--;
607 unsigned int cs_avail_out = s->strm->avail_out;
685 s->strm->avail_out = cs_avail_out;
722 if (s->strm->avail_out == 0) return False;
728 s->strm->avail_out--;
771 if (s->strm->avail_out == 0) return False;
777 s->strm->avail_out
[all...]
/freebsd-10.0-release/contrib/xz/src/xz/
H A Dcoder.c441 strm.avail_out = 0;
475 strm.avail_out = IO_BUFFER_SIZE;
496 if (strm.avail_out == 0) {
498 IO_BUFFER_SIZE - strm.avail_out))
502 strm.avail_out = IO_BUFFER_SIZE;
519 - strm.avail_out))
/freebsd-10.0-release/usr.sbin/fifolog/lib/
H A Dfifolog_reader.c213 q = fr->obuf + (fr->olen - fr->ff->zs->avail_out);
280 zs->avail_out = fr->olen;
297 zs->avail_out, fr->olen);
312 if (zs->avail_out != fr->olen) {
313 q = fr->obuf + (fr->olen - zs->avail_out);
317 zs->avail_out = fr->olen - (q - p);
/freebsd-10.0-release/contrib/libarchive/libarchive/
H A Darchive_write_add_filter_bzip2.c197 data->stream.avail_out = data->compressed_buffer_size;
273 data->compressed_buffer_size - data->stream.avail_out);
313 if (data->stream.avail_out == 0) {
322 data->stream.avail_out = data->compressed_buffer_size;
H A Darchive_write_add_filter_gzip.c214 data->stream.avail_out = (uInt)data->compressed_buffer_size;
232 data->stream.avail_out -= 10;
313 data->compressed_buffer_size - data->stream.avail_out);
354 if (data->stream.avail_out == 0) {
361 data->stream.avail_out =
H A Darchive_write_add_filter_xz.c227 data->stream.avail_out = data->compressed_buffer_size;
265 data->stream.avail_out -= 6;
421 data->compressed_buffer_size - data->stream.avail_out;
424 data->compressed_buffer_size - data->stream.avail_out);
462 if (data->stream.avail_out == 0) {
470 data->stream.avail_out = data->compressed_buffer_size;
/freebsd-10.0-release/contrib/xz/src/liblzma/api/lzma/
H A Dbase.h227 * strm->avail_out > 0 when calling lzma_code().
459 size_t avail_out; /**< Amount of free space in next_out. */ member in struct:__anon4660
523 * strm->avail_in, strm->next_out, and strm->avail_out to pass input
/freebsd-10.0-release/lib/libstand/
H A Dbzipfs.c236 bzf->bzf_bzstream.avail_out = size;
238 while (bzf->bzf_bzstream.avail_out && bzf->bzf_endseen == 0) {
245 if (bzf->bzf_bzstream.avail_out == size)
261 *resid = bzf->bzf_bzstream.avail_out;
H A Dgzipfs.c245 zf->zf_zstream.avail_out = size;
247 while (zf->zf_zstream.avail_out && zf->zf_endseen == 0) {
254 if (zf->zf_zstream.avail_out == size)
270 *resid = zf->zf_zstream.avail_out;
/freebsd-10.0-release/sys/kern/
H A Dkern_gzio.c114 s->stream.avail_in = s->stream.avail_out = 0;
159 s->stream.avail_out = Z_BUFSIZE;
231 if (s->stream.avail_out == 0) {
244 s->stream.avail_out = Z_BUFSIZE;
285 len = Z_BUFSIZE - s->stream.avail_out;
297 s->stream.avail_out = Z_BUFSIZE;
309 done = (s->stream.avail_out != 0 || s->z_err == Z_STREAM_END);
/freebsd-10.0-release/lib/libz/test/
H A Dexample.c219 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */
225 c_stream.avail_out = 1;
259 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
294 c_stream.avail_out = (uInt)comprLen;
355 d_stream.avail_out = (uInt)uncomprLen;
393 c_stream.avail_out = (uInt)*comprLen;
433 d_stream.avail_out = (uInt)uncomprLen;
477 c_stream.avail_out = (uInt)comprLen;
514 d_stream.avail_out = (uInt)uncomprLen;
H A Dminigzip.c251 strm->avail_out = BUFLEN;
253 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
254 } while (strm->avail_out == 0);
276 strm->avail_out = len;
291 } while (strm->avail_out);
292 return len - strm->avail_out;
311 strm->avail_out = BUFLEN;
313 fwrite(out, 1, BUFLEN - strm->avail_out, gz->file);
314 } while (strm->avail_out == 0);

Completed in 199 milliseconds

123