Home
last modified time | relevance | path

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

1234

/freebsd/sys/contrib/zlib/
H A Dgzwrite.c45 strm->next_in = NULL; in gz_init()
81 writ = (int)write(state->fd, strm->next_in, put); in gz_comp()
89 strm->next_in += writ; in gz_comp()
174 strm->next_in = state->in; in gz_zero()
212 state->strm.next_in = state->in; in gz_write()
213 have = (unsigned)((state->strm.next_in + state->strm.avail_in) - in gz_write()
235 state->strm.next_in = (z_const Bytef *)buf; in gz_write()
333 strm->next_in = state->in; in gzputc()
334 have = (unsigned)((strm->next_in + strm->avail_in) - state->in); in gzputc()
387 if (strm->next_in + strm->avail_in <= state->in + state->size) in gz_vacate()
[all …]
H A Dgzread.c66 unsigned const char *q = strm->next_in; in gz_avail()
80 strm->next_in = state->in; in gz_avail()
115 state->strm.next_in = Z_NULL; in gz_look()
153 strm->next_in[0] == 31 && strm->next_in[1] == 139 && in gz_look()
154 strm->next_in[2] == 8 && strm->next_in[3] < 32) { in gz_look()
166 memcpy(state->x.next, strm->next_in, strm->avail_in); in gz_look()
/freebsd/sys/contrib/zlib/test/
H A Dinfcover.c295 strm.next_in = Z_NULL; in inf()
316 strm.next_in = in; in inf()
357 strm.next_in = Z_NULL; in cover_support()
375 strm.next_in = Z_NULL; in cover_support()
381 strm.next_in = Z_NULL; in cover_support()
415 strm.next_in = Z_NULL; in cover_wrap()
418 strm.next_in = (void *)"\x63"; in cover_wrap()
431 strm.next_in = (void *)"\x80"; in cover_wrap()
435 strm.next_in = (void *)"\0\0\xff\xff"; in cover_wrap()
488 strm.next_in = (void *)"\x03"; in cover_back()
[all …]
H A Dexample.c184 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate()
218 d_stream.next_in = compr; in test_inflate()
264 c_stream.next_in = uncompr; in test_large_deflate()
275 c_stream.next_in = compr; in test_large_deflate()
282 c_stream.next_in = uncompr; in test_large_deflate()
310 d_stream.next_in = compr; in test_large_inflate()
350 c_stream.next_in = (z_const unsigned char *)hello; in test_flush()
384 d_stream.next_in = compr; in test_sync()
433 c_stream.next_in = (z_const unsigned char *)hello; in test_dict_deflate()
459 d_stream.next_in = compr; in test_dict_inflate()
/freebsd/sys/contrib/zstd/zlibWrapper/
H A Dgzwrite.c55 strm->next_in = NULL; in gz_init()
90 writ = (int)write(state.state->fd, strm->next_in, put); in gz_comp()
96 strm->next_in += writ; in gz_comp()
165 strm->next_in = state.state->in; in gz_zero()
201 state.state->strm.next_in = state.state->in; in gz_write()
202 have = (unsigned)((state.state->strm.next_in + state.state->strm.avail_in) - in gz_write()
222 state.state->strm.next_in = (z_const Bytef *)buf; in gz_write()
318 strm->next_in = state.state->in; in gzputc()
319 have = (unsigned)((strm->next_in + strm->avail_in) - state.state->in); in gzputc()
392 strm->next_in = state.state->in; in gzvprintf()
[all …]
H A Dgzread.c73 unsigned const char *q = strm->next_in; in gz_avail()
83 strm->next_in = state.state->in; in gz_avail()
118 state.state->strm.next_in = Z_NULL; in gz_look()
144 ((strm->next_in[0] == 31 && strm->next_in[1] == 139) /* gz header */ in gz_look()
145 || (strm->next_in[0] == 40 && strm->next_in[1] == 181))) { /* zstd header */ in gz_look()
166 memcpy(state.state->x.next, strm->next_in, strm->avail_in); in gz_look()
H A Dzstd_zlibwrapper.c406 zwc->inBuffer.src = strm->next_in; in z_deflate()
421 strm->next_in += zwc->inBuffer.pos; in z_deflate()
757 if (ZWRAP_readLE32(strm->next_in) != ZSTD_MAGICNUMBER) { in z_inflate()
778 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
781 strm->next_in += srcSize; in z_inflate()
787 strm2.next_in = strm->next_in; in z_inflate()
800 strm->next_in = (unsigned char*)zwd->headerBuf; in z_inflate()
811 strm->next_in = strm2.next_in; in z_inflate()
854 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate()
857 strm->next_in += srcSize; in z_inflate()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_cab.c137 const unsigned char *next_in; member
1442 cab->stream.next_in = NULL; in cab_read_ahead_cfdata_deflate()
1495 cab->stream.next_in = (Bytef *)(uintptr_t)d; in cab_read_ahead_cfdata_deflate()
1505 if (cab->stream.next_in[0] != 0x43) in cab_read_ahead_cfdata_deflate()
1508 cab->stream.next_in[1] != 0x4b) in cab_read_ahead_cfdata_deflate()
1510 } else if (cab->stream.next_in[0] != 0x4b) in cab_read_ahead_cfdata_deflate()
1522 if (mszip == 1 && cab->stream.next_in[0] != 0x4b) in cab_read_ahead_cfdata_deflate()
1524 else if (mszip == 2 && (cab->stream.next_in[0] != 0x43 || in cab_read_ahead_cfdata_deflate()
1525 cab->stream.next_in[1] != 0x4b)) in cab_read_ahead_cfdata_deflate()
1527 cab->stream.next_in += mszip; in cab_read_ahead_cfdata_deflate()
[all …]
H A Darchive_read_support_format_lha.c140 const unsigned char *next_in; member
1600 lha->strm.next_in = __archive_read_ahead(a, 1, &bytes_avail); in lha_read_data_lzh()
1965 ((uint64_t)strm->next_in[0]) << 56 | in lzh_br_fillup()
1966 ((uint64_t)strm->next_in[1]) << 48 | in lzh_br_fillup()
1967 ((uint64_t)strm->next_in[2]) << 40 | in lzh_br_fillup()
1968 ((uint64_t)strm->next_in[3]) << 32 | in lzh_br_fillup()
1969 ((uint32_t)strm->next_in[4]) << 24 | in lzh_br_fillup()
1970 ((uint32_t)strm->next_in[5]) << 16 | in lzh_br_fillup()
1971 ((uint32_t)strm->next_in[6]) << 8 | in lzh_br_fillup()
1972 (uint32_t)strm->next_in[7]; in lzh_br_fillup()
[all …]
H A Darchive_write_set_format_7zip.c139 const uint8_t *next_in; member
717 zip->stream.next_in = (const unsigned char *)buff; in compress_out()
1809 memcpy(lastrm->next_out, lastrm->next_in, bytes); in compression_code_copy()
1810 lastrm->next_in += bytes; in compression_code_copy()
1851 strm->next_in = (Bytef *)(uintptr_t)(const void *)lastrm->next_in; in compression_init_encoder_deflate()
1884 strm->next_in = (Bytef *)(uintptr_t)(const void *)lastrm->next_in; in compression_code_deflate()
1892 lastrm->next_in = strm->next_in; in compression_code_deflate()
1964 strm->next_in = (char *)(uintptr_t)(const void *)lastrm->next_in; in compression_init_encoder_bzip2()
1997 strm->next_in = (char *)(uintptr_t)(const void *)lastrm->next_in; in compression_code_bzip2()
2007 lastrm->next_in = (const unsigned char *)strm->next_in; in compression_code_bzip2()
[all …]
H A Darchive_read_support_filter_compress.c95 const unsigned char *next_in; member
432 state->next_in in getbits()
437 if (ret < 0 || state->next_in == NULL) in getbits()
441 state->bit_buffer |= *state->next_in++ << state->bits_avail; in getbits()
H A Darchive_read_support_format_rar.c388 const unsigned char *next_in; member
510 ((uint64_t)br->next_in[0]) << 56 | in rar_br_fillup()
511 ((uint64_t)br->next_in[1]) << 48 | in rar_br_fillup()
512 ((uint64_t)br->next_in[2]) << 40 | in rar_br_fillup()
513 ((uint64_t)br->next_in[3]) << 32 | in rar_br_fillup()
514 ((uint32_t)br->next_in[4]) << 24 | in rar_br_fillup()
515 ((uint32_t)br->next_in[5]) << 16 | in rar_br_fillup()
516 ((uint32_t)br->next_in[6]) << 8 | in rar_br_fillup()
517 (uint32_t)br->next_in[7]; in rar_br_fillup()
518 br->next_in += 8; in rar_br_fillup()
[all …]
/freebsd/sys/netgraph/
H A Dng_deflate.c251 priv->cx.next_in = NULL; in ng_deflate_rcvmsg()
452 priv->cx.next_in = priv->inbuf; in ng_deflate_compress()
455 priv->cx.next_in = priv->inbuf + 1; /* compress protocol */ in ng_deflate_compress()
588 priv->cx.next_in = priv->inbuf + offset; in ng_deflate_decompress()
618 priv->cx.next_in = EMPTY_BLOCK; in ng_deflate_decompress()
660 priv->cx.next_in = headbuf; in ng_deflate_decompress()
668 priv->cx.next_in = in ng_deflate_decompress()
672 priv->cx.next_in = priv->inbuf; in ng_deflate_decompress()
/freebsd/usr.sbin/ppp/
H A Ddeflate.c106 state->cx.next_in = MBUF_CTOP(mi); in DeflateOutput()
128 state->cx.next_in = MBUF_CTOP(mi); in DeflateOutput()
246 state->cx.next_in = MBUF_CTOP(mi); in DeflateInput()
273 state->cx.next_in = MBUF_CTOP(mi); in DeflateInput()
329 state->cx.next_in = EMPTY_BLOCK; in DeflateInput()
372 state->cx.next_in = rp; in DeflateDictSetup()
399 state->cx.next_in = MBUF_CTOP(mi); in DeflateDictSetup()
522 state->cx.next_in = NULL; in DeflateInitOutput()
/freebsd/usr.bin/gzip/
H A Dgzip.c640 z.next_in = (unsigned char *)inbufp; in gz_compress()
750 #define ADVANCE() { z.next_in++; z.avail_in--; } in gz_uncompress()
763 z.next_in = (unsigned char *)pre; in gz_uncompress()
779 memmove(inbufp, z.next_in, z.avail_in); in gz_uncompress()
781 z.next_in = (unsigned char *)inbufp; in gz_uncompress()
782 in_size = read(in, z.next_in + z.avail_in, in gz_uncompress()
808 if (*z.next_in != GZIP_MAGIC0) { in gz_uncompress()
825 if (*z.next_in != GZIP_MAGIC1 && in gz_uncompress()
826 *z.next_in != GZIP_OMAGIC1) { in gz_uncompress()
835 if (*z.next_in != Z_DEFLATED) { in gz_uncompress()
[all …]
H A Dunbzip2.c62 bzs.next_in = pre; in unbzip2()
78 bzs.next_in = inbuf; in unbzip2()
H A Dunxz.c54 strm.next_in = ibuf; in unxz()
78 strm.next_in = ibuf; in unxz()
369 strm.next_in = buf.u8; in parse_indexes()
/freebsd/contrib/ntp/sntp/libevent/test/
H A Dregress_zlib.c146 p->next_in = (unsigned char *)v_in[0].iov_base; in zlib_input_filter()
149 p->next_in = 0; in zlib_input_filter()
200 p->next_in = (unsigned char *)v_in[0].iov_base; in zlib_output_filter()
203 p->next_in = 0; in zlib_output_filter()
/freebsd/contrib/libevent/test/
H A Dregress_zlib.c146 p->next_in = (unsigned char *)v_in[0].iov_base; in zlib_input_filter()
149 p->next_in = 0; in zlib_input_filter()
200 p->next_in = (unsigned char *)v_in[0].iov_base; in zlib_output_filter()
203 p->next_in = 0; in zlib_output_filter()
/freebsd/crypto/openssl/crypto/comp/
H A Dc_zlib.c128 state->istream.next_in = Z_NULL; in zlib_stateful_init()
137 state->ostream.next_in = Z_NULL; in zlib_stateful_init()
169 state->ostream.next_in = in; in zlib_stateful_compress_block()
192 state->istream.next_in = in; in zlib_stateful_expand_block()
465 zin->next_in = ctx->ibuf; in bio_zlib_read()
500 zin->next_in = ctx->ibuf; in bio_zlib_read()
534 zout->next_in = (void *)in; in bio_zlib_write()
587 zout->next_in = NULL; in bio_zlib_flush()
H A Dc_brotli.c382 unsigned char *next_in; member
391 unsigned char *next_in; member
526 ctx->decode.next_in = ctx->decode.buf; in bio_brotli_read()
536 …rDecompressStream(ctx->decode.state, &ctx->decode.avail_in, (const uint8_t **)&ctx->decode.next_in, in bio_brotli_read()
567 ctx->decode.next_in = ctx->decode.buf; in bio_brotli_read()
606 ctx->encode.next_in = (unsigned char *)in; in bio_brotli_write()
636 …ncode.state, BROTLI_OPERATION_FLUSH, &ctx->encode.avail_in, (const uint8_t **)&ctx->encode.next_in, in bio_brotli_write()
662 ctx->encode.next_in = NULL; in bio_brotli_flush()
686 … (const uint8_t **)&ctx->encode.next_in, &ctx->encode.avail_out, &ctx->encode.next_out, NULL); in bio_brotli_flush()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dzmod.c67 zs.next_in = (uchar_t *)src; in z_uncompress()
100 zs.next_in = (uchar_t *)src; in z_compress_level()
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-zlib.c102 stream.next_in = (Byte *)source; in z_compress_level()
156 stream.next_in = (Byte *)source; in z_uncompress()
/freebsd/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dspl_zlib.c137 stream.next_in = (Byte *)source; in z_compress_level()
191 stream.next_in = (Byte *)source; in z_uncompress()
/freebsd/stand/libsa/
H A Dgzipfs.c80 zf->zf_zstream.next_in = zf->zf_buf; in zf_fill()
99 return(*(zf->zf_zstream.next_in)++); in get_byte()
280 zf->zf_zstream.next_in = NULL; in zf_rewind()

1234