/freebsd/sys/contrib/zlib/ |
H A D | gzwrite.c | 45 strm->next_in = NULL; in gz_init() 79 writ = write(state->fd, strm->next_in, put); in gz_comp() 85 strm->next_in += writ; in gz_comp() 163 strm->next_in = state->in; in gz_zero() 199 state->strm.next_in = state->in; in gz_write() 200 have = (unsigned)((state->strm.next_in + state->strm.avail_in) - in gz_write() 220 state->strm.next_in = (z_const Bytef *)buf; in gz_write() 315 strm->next_in = state->in; in gzputc() 316 have = (unsigned)((strm->next_in + strm->avail_in) - state->in); in gzputc() 392 strm->next_in = state->in; in gzvprintf() [all …]
|
H A D | gzread.c | 53 unsigned const char *q = strm->next_in; in gz_avail() 63 strm->next_in = state->in; in gz_avail() 98 state->strm.next_in = Z_NULL; in gz_look() 124 strm->next_in[0] == 31 && strm->next_in[1] == 139) { in gz_look() 144 memcpy(state->x.next, strm->next_in, strm->avail_in); in gz_look()
|
/freebsd/sys/contrib/zlib/test/ |
H A D | infcover.c | 295 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 D | example.c | 178 c_stream.next_in = (z_const unsigned char *)hello; in test_deflate() 212 d_stream.next_in = compr; in test_inflate() 258 c_stream.next_in = uncompr; in test_large_deflate() 269 c_stream.next_in = compr; in test_large_deflate() 276 c_stream.next_in = uncompr; in test_large_deflate() 304 d_stream.next_in = compr; in test_large_inflate() 344 c_stream.next_in = (z_const unsigned char *)hello; in test_flush() 378 d_stream.next_in = compr; in test_sync() 427 c_stream.next_in = (z_const unsigned char *)hello; in test_dict_deflate() 453 d_stream.next_in = compr; in test_dict_inflate()
|
/freebsd/sys/contrib/zstd/zlibWrapper/ |
H A D | gzwrite.c | 57 strm->next_in = NULL; 94 writ = (int)write(state.state->fd, strm->next_in, put); 100 strm->next_in += writ; 172 strm->next_in = state.state->in; 212 state.state->strm.next_in = state.state->in; 213 have = (unsigned)((state.state->strm.next_in + state.state->strm.avail_in) - 233 state.state->strm.next_in = (z_const Bytef *)buf; 340 strm->next_in = state.state->in; 341 have = (unsigned)((strm->next_in + strm->avail_in) - state.state->in); 418 strm->next_in = state.state->in; in gzvprintf() [all …]
|
H A D | gzread.c | 78 unsigned const char *q = strm->next_in; 88 strm->next_in = state.state->in; 125 state.state->strm.next_in = Z_NULL; 151 ((strm->next_in[0] == 31 && strm->next_in[1] == 139) /* gz header */ 152 || (strm->next_in[0] == 40 && strm->next_in[1] == 181))) { /* zstd header */ 173 memcpy(state.state->x.next, strm->next_in, strm->avail_in);
|
H A D | zstd_zlibwrapper.c | 406 zwc->inBuffer.src = strm->next_in; in z_deflate() 421 strm->next_in += zwc->inBuffer.pos; in z_deflate() 755 if (ZWRAP_readLE32(strm->next_in) != ZSTD_MAGICNUMBER) { in z_inflate() 776 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate() 779 strm->next_in += srcSize; in z_inflate() 785 strm2.next_in = strm->next_in; in z_inflate() 798 strm->next_in = (unsigned char*)zwd->headerBuf; in z_inflate() 809 strm->next_in = strm2.next_in; in z_inflate() 852 memcpy(zwd->headerBuf+zwd->totalInBytes, strm->next_in, srcSize); in z_inflate() 855 strm->next_in += srcSize; in z_inflate() [all …]
|
/freebsd/sys/contrib/zstd/zlibWrapper/examples/ |
H A D | fitblk_original.c | 83 def->next_in = raw; in partcompress() 114 def->next_in = raw; in recompress() 184 inf.next_in = Z_NULL; in main() 194 inf.next_in = blk; in main() 209 inf.next_in = tmp; in main()
|
H A D | example.c | 240 c_stream.next_in = (z_const unsigned char *)hello; 276 d_stream.next_in = compr; 324 c_stream.next_in = uncompr; 335 c_stream.next_in = compr; 342 c_stream.next_in = uncompr; 372 d_stream.next_in = compr; 415 c_stream.next_in = (z_const unsigned char *)hello; 451 d_stream.next_in = compr; 504 c_stream.next_in = (z_const unsigned char *)hello; 532 d_stream.next_in = compr;
|
H A D | example_original.c | 232 c_stream.next_in = (z_const unsigned char *)hello; 268 d_stream.next_in = compr; 316 c_stream.next_in = uncompr; 327 c_stream.next_in = compr; 334 c_stream.next_in = uncompr; 364 d_stream.next_in = compr; 407 c_stream.next_in = (z_const unsigned char *)hello; 443 d_stream.next_in = compr; 496 c_stream.next_in = (z_const unsigned char *)hello; 524 d_stream.next_in = compr;
|
H A D | fitblk.c | 88 def->next_in = raw; in partcompress() 124 def->next_in = raw; in recompress() 201 inf.next_in = Z_NULL; in main() 211 inf.next_in = blk; in main() 228 inf.next_in = tmp; in main()
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_support_format_cab.c | 137 const unsigned char *next_in; member 1432 cab->stream.next_in = NULL; in cab_read_ahead_cfdata_deflate() 1485 cab->stream.next_in = (Bytef *)(uintptr_t)d; in cab_read_ahead_cfdata_deflate() 1495 if (cab->stream.next_in[0] != 0x43) in cab_read_ahead_cfdata_deflate() 1498 cab->stream.next_in[1] != 0x4b) in cab_read_ahead_cfdata_deflate() 1500 } else if (cab->stream.next_in[0] != 0x4b) in cab_read_ahead_cfdata_deflate() 1512 if (mszip == 1 && cab->stream.next_in[0] != 0x4b) in cab_read_ahead_cfdata_deflate() 1514 else if (mszip == 2 && (cab->stream.next_in[0] != 0x43 || in cab_read_ahead_cfdata_deflate() 1515 cab->stream.next_in[1] != 0x4b)) in cab_read_ahead_cfdata_deflate() 1517 cab->stream.next_in += mszip; in cab_read_ahead_cfdata_deflate() [all …]
|
H A D | archive_read_support_format_lha.c | 139 const unsigned char *next_in; member 1594 lha->strm.next_in = __archive_read_ahead(a, 1, &bytes_avail); in lha_read_data_lzh() 1998 ((uint64_t)strm->next_in[0]) << 56 | in lzh_br_fillup() 1999 ((uint64_t)strm->next_in[1]) << 48 | in lzh_br_fillup() 2000 ((uint64_t)strm->next_in[2]) << 40 | in lzh_br_fillup() 2001 ((uint64_t)strm->next_in[3]) << 32 | in lzh_br_fillup() 2002 ((uint32_t)strm->next_in[4]) << 24 | in lzh_br_fillup() 2003 ((uint32_t)strm->next_in[5]) << 16 | in lzh_br_fillup() 2004 ((uint32_t)strm->next_in[6]) << 8 | in lzh_br_fillup() 2005 (uint32_t)strm->next_in[7]; in lzh_br_fillup() [all …]
|
H A D | archive_write_set_format_7zip.c | 122 const uint8_t *next_in; member 588 zip->stream.next_in = (const unsigned char *)buff; in compress_out() 1690 memcpy(lastrm->next_out, lastrm->next_in, bytes); in compression_code_copy() 1691 lastrm->next_in += bytes; in compression_code_copy() 1732 strm->next_in = (Bytef *)(uintptr_t)(const void *)lastrm->next_in; in compression_init_encoder_deflate() 1765 strm->next_in = (Bytef *)(uintptr_t)(const void *)lastrm->next_in; in compression_code_deflate() 1773 lastrm->next_in = strm->next_in; in compression_code_deflate() 1845 strm->next_in = (char *)(uintptr_t)(const void *)lastrm->next_in; in compression_init_encoder_bzip2() 1878 strm->next_in = (char *)(uintptr_t)(const void *)lastrm->next_in; in compression_code_bzip2() 1888 lastrm->next_in = (const unsigned char *)strm->next_in; in compression_code_bzip2() [all …]
|
H A D | archive_read_support_filter_compress.c | 95 const unsigned char *next_in; member 431 state->next_in in getbits() 436 if (ret < 0 || state->next_in == NULL) in getbits() 440 state->bit_buffer |= *state->next_in++ << state->bits_avail; in getbits()
|
H A D | archive_read_support_format_rar.c | 388 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 D | ng_deflate.c | 251 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 D | deflate.c | 106 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 D | gzip.c | 640 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 D | unbzip2.c | 62 bzs.next_in = pre; in unbzip2() 78 bzs.next_in = inbuf; in unbzip2()
|
/freebsd/crypto/openssl/crypto/comp/ |
H A D | c_zlib.c | 134 state->istream.next_in = Z_NULL; in zlib_stateful_init() 143 state->ostream.next_in = Z_NULL; in zlib_stateful_init() 175 state->ostream.next_in = in; in zlib_stateful_compress_block() 196 state->istream.next_in = in; in zlib_stateful_expand_block() 388 zin->next_in = ctx->ibuf; in bio_zlib_read() 423 zin->next_in = ctx->ibuf; in bio_zlib_read() 459 zout->next_in = (void *)in; in bio_zlib_write() 512 zout->next_in = NULL; in bio_zlib_flush()
|
/freebsd/contrib/ntp/sntp/libevent/test/ |
H A D | regress_zlib.c | 146 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 D | regress_zlib.c | 146 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/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | zmod.c | 67 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 D | spl-zlib.c | 101 stream.next_in = (Byte *)source; in z_compress_level() 155 stream.next_in = (Byte *)source; in z_uncompress()
|