Searched refs:avail_in (Results 26 - 50 of 92) sorted by relevance

1234

/freebsd-13-stable/contrib/ntp/sntp/libevent/test/
H A Dregress_zlib.c145 p->avail_in = v_in[0].iov_len;
148 p->avail_in = 0;
160 nread = v_in[0].iov_len - p->avail_in;
199 p->avail_in = v_in[0].iov_len;
202 p->avail_in = 0;
214 nread = v_in[0].iov_len - p->avail_in;
/freebsd-13-stable/sys/contrib/zlib/test/
H A Dexample.c219 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */
252 d_stream.avail_in = 0;
259 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
300 c_stream.avail_in = (uInt)uncomprLen;
303 if (c_stream.avail_in != 0) {
311 c_stream.avail_in = (uInt)comprLen/2;
318 c_stream.avail_in = (uInt)uncomprLen;
348 d_stream.avail_in = (uInt)comprLen;
392 c_stream.avail_in = 3;
398 c_stream.avail_in
[all...]
/freebsd-13-stable/sys/contrib/zstd/zlibWrapper/examples/
H A Dexample.c244 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */
277 d_stream.avail_in = 0;
284 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
325 c_stream.avail_in = (uInt)uncomprLen;
328 if (c_stream.avail_in != 0) {
336 c_stream.avail_in = (uInt)comprLen/2;
343 c_stream.avail_in = (uInt)uncomprLen;
373 d_stream.avail_in = (uInt)comprLen;
417 c_stream.avail_in = 3;
423 c_stream.avail_in
[all...]
H A Dexample_original.c236 c_stream.avail_in = c_stream.avail_out = 1; /* force small buffers */
269 d_stream.avail_in = 0;
276 d_stream.avail_in = d_stream.avail_out = 1; /* force small buffers */
317 c_stream.avail_in = (uInt)uncomprLen;
320 if (c_stream.avail_in != 0) {
328 c_stream.avail_in = (uInt)comprLen/2;
335 c_stream.avail_in = (uInt)uncomprLen;
365 d_stream.avail_in = (uInt)comprLen;
409 c_stream.avail_in = 3;
415 c_stream.avail_in
[all...]
H A Dminigzip.c220 gz->strm.avail_in = Z_NULL;
253 strm->avail_in = len;
287 strm->avail_in = 1;
313 strm->avail_in = 0;
/freebsd-13-stable/sys/opencrypto/
H A Dcryptodeflate.c132 zbuf.avail_in = size; /* Total length of data to be processed. */
151 zbuf.avail_in, zbuf.avail_out, zbuf.total_out);
156 zbuf.avail_in, zbuf.avail_out, zbuf.total_out);
157 if (decomp && zbuf.avail_in == 0 && error == Z_STREAM_END) {
184 zbuf.avail_in, zbuf.avail_out, zbuf.total_out);
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c151 stream.avail_in = (uInt)sourceLen;
207 stream.avail_in = (uInt)sourceLen;
231 (err == Z_BUF_ERROR && stream.avail_in == 0))
/freebsd-13-stable/usr.sbin/ppp/
H A Ddeflate.c109 state->cx.avail_in = mi->m_len;
128 if (state->cx.avail_in == 0 && mi->m_next != NULL) {
131 state->cx.avail_in = mi->m_len;
249 state->cx.avail_in = mi->m_len;
273 if (state->cx.avail_in == 0 && mi && (mi = m_free(mi)) != NULL) {
276 ilen += (state->cx.avail_in = mi->m_len);
332 state->cx.avail_in = sizeof EMPTY_BLOCK;
375 state->cx.avail_in = mi->m_len;
389 log_Printf(LogCCP, "DeflateDictSetup: avail_in %d, avail_out %d\n",
390 state->cx.avail_in, stat
[all...]
/freebsd-13-stable/usr.sbin/fifolog/lib/
H A Dfifolog_reader.c271 zs->avail_in = fr->ff->recsize - 5;
274 zs->avail_in -= fr->ff->recbuf[fr->ff->recsize - 1];
276 zs->avail_in -=
287 zs->avail_in -= 4;
290 while(zs->avail_in > 0) {
297 zs->avail_in,
/freebsd-13-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c68 zs.avail_in = srclen;
101 zs.avail_in = srclen;
/freebsd-13-stable/crypto/openssl/crypto/comp/
H A Dc_zlib.c176 state->ostream.avail_in = ilen;
197 state->istream.avail_in = ilen;
389 zin->avail_in = 0;
397 while (zin->avail_in) {
422 zin->avail_in = ret;
456 zout->avail_in = inl;
463 int tot = inl - zout->avail_in;
474 if (!zout->avail_in)
509 zout->avail_in = 0;
618 ret = ctx->zin.avail_in;
[all...]
/freebsd-13-stable/contrib/bzip2/
H A Dbzlib.c306 if (s->strm->avail_in == 0) break;
310 s->strm->avail_in--;
322 if (s->strm->avail_in == 0) break;
328 s->strm->avail_in--;
401 if (s->strm->avail_in == 0) {
435 s->avail_in_expect = strm->avail_in;
441 s->avail_in_expect = strm->avail_in;
450 if (s->avail_in_expect != s->strm->avail_in)
460 if (s->avail_in_expect != s->strm->avail_in)
964 bzf->strm.avail_in
[all...]
/freebsd-13-stable/contrib/xz/src/liblzma/api/lzma/
H A Dbase.h245 * LZMA_STREAM_END. Also, the amount of input (that is, strm->avail_in) must
313 * has been consumed (avail_in == 0).
487 size_t avail_in; /**< Number of available input bytes in next_in. */ member in struct:__anon6581
557 * strm->avail_in, strm->next_out, and strm->avail_out to pass input
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_read_support_filter_compress.c97 size_t avail_in; member in struct:private_data
439 if (state->avail_in <= 0) {
452 state->consume_unnotified = state->avail_in = ret;
455 state->avail_in--;
H A Darchive_write_add_filter_bzip2.c247 data->stream.avail_in = length;
320 if (!finishing && data->stream.avail_in == 0)
330 if (!finishing && data->stream.avail_in == 0)
H A Darchive_read_support_format_cab.c138 int64_t avail_in; member in struct:lzx_stream
1431 cab->stream.avail_in = 0;
1484 cab->stream.avail_in = (uInt)bytes_avail;
1516 cab->stream.avail_in -= mszip;
1694 cab->xstrm.avail_in = bytes_avail;
2274 if (strm->avail_in >= 8) {
2285 strm->avail_in -= 8;
2291 if (strm->avail_in >= 6) {
2301 strm->avail_in -= 6;
2313 if (strm->avail_in <
2393 int64_t avail_in; local
[all...]
H A Darchive_write_set_format_7zip.c104 size_t avail_in; member in struct:la_zstream
570 zip->stream.avail_in = s;
588 if (zip->stream.avail_in == 0)
1646 if (lastrm->avail_out > lastrm->avail_in)
1647 bytes = lastrm->avail_in;
1653 lastrm->avail_in -= bytes;
1659 if (action == ARCHIVE_Z_FINISH && lastrm->avail_in == 0)
1694 strm->avail_in = (uInt)lastrm->avail_in;
1727 strm->avail_in
[all...]
H A Darchive_write_add_filter_gzip.c291 data->stream.avail_in = (uInt)length;
366 if (!finishing && data->stream.avail_in == 0)
376 if (!finishing && data->stream.avail_in == 0)
/freebsd-13-stable/contrib/netbsd-tests/crypto/opencrypto/
H A Dh_comp_zlib.c73 z.avail_in = co1.dst_len;
H A Dh_comp_zlib_rnd.c77 z.avail_in = co1.dst_len;
/freebsd-13-stable/sys/geom/uzip/
H A Dg_uzip_zlib.c72 zp->zs.avail_in = ilen;
/freebsd-13-stable/contrib/serf/buckets/
H A Ddeflate_buckets.c252 * exhausting avail_in; therefore, continue using the
256 if (ctx->zstream.avail_in == 0) {
277 ctx->zstream.avail_in = private_len;
322 /* We now need to take the remaining avail_in and
327 ctx->zstream.avail_in,
/freebsd-13-stable/sys/netgraph/
H A Dng_deflate.c455 priv->cx.avail_in = inlen;
458 priv->cx.avail_in = inlen - 1;
591 priv->cx.avail_in = inlen - offset;
619 priv->cx.avail_in = 4;
663 priv->cx.avail_in = sizeof(headbuf);
672 priv->cx.avail_in = inlen - 1;
675 priv->cx.avail_in = inlen;
/freebsd-13-stable/sys/contrib/zlib/
H A Ddeflate.c415 avail = strm->avail_in;
417 strm->avail_in = dictLength;
442 strm->avail_in = avail;
598 if (strm->avail_in || (s->strstart - s->block_start) + s->lookahead)
779 (strm->avail_in != 0 && strm->next_in == Z_NULL) ||
794 * avail_in equal to zero. There won't be anything to do,
806 } else if (strm->avail_in == 0 && RANK(flush) <= RANK(old_flush) &&
812 if (s->status == FINISH_STATE && strm->avail_in != 0) {
999 if (strm->avail_in != 0 || s->lookahead != 0 ||
1172 unsigned len = strm->avail_in;
[all...]
/freebsd-13-stable/usr.bin/gzip/
H A Dgzip.c670 if (z.avail_in == 0) {
684 z.avail_in = in_size;
793 #define ADVANCE() { z.next_in++; z.avail_in--; }
805 z.avail_in = prelen;
818 if ((z.avail_in == 0 || needmore) && done_reading == 0) {
821 if (z.avail_in > 0) {
822 memmove(inbufp, z.next_in, z.avail_in);
825 in_size = read(in, z.next_in + z.avail_in,
826 BUFLEN - z.avail_in);
836 z.avail_in
[all...]

Completed in 300 milliseconds

1234