Home
last modified time | relevance | path

Searched refs:Bytef (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-14-stable/sys/contrib/zlib/
HDzlib.h87 z_const Bytef *next_in; /* next input byte */
91 Bytef *next_out; /* next output byte will go here */
119 Bytef *extra; /* pointer to extra field or Z_NULL if none */
122 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
124 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
612 const Bytef *dictionary,
656 Bytef *dictionary,
889 const Bytef *dictionary,
912 Bytef *dictionary,
1232 ZEXTERN int ZEXPORT compress(Bytef *dest, uLongf *destLen,
[all …]
HDcompress.c22 int ZEXPORT compress2(Bytef *dest, uLongf *destLen, const Bytef *source, in compress2()
41 stream.next_in = (z_const Bytef *)source; in compress2()
63 int ZEXPORT compress(Bytef *dest, uLongf *destLen, const Bytef *source, in compress()
HDuncompr.c27 int ZEXPORT uncompress2(Bytef *dest, uLongf *destLen, const Bytef *source, in uncompress2()
45 stream.next_in = (z_const Bytef *)source; in uncompress2()
82 int ZEXPORT uncompress(Bytef *dest, uLongf *destLen, const Bytef *source, in uncompress()
HDzutil.c145 void ZLIB_INTERNAL zmemcpy(Bytef* dest, const Bytef* source, uInt len) { in zmemcpy()
152 int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len) { in zmemcmp()
161 void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len) { in zmemzero()
HDzutil.h214 void ZLIB_INTERNAL zmemcpy(Bytef* dest, const Bytef* source, uInt len);
215 int ZLIB_INTERNAL zmemcmp(const Bytef* s1, const Bytef* s2, uInt len);
216 void ZLIB_INTERNAL zmemzero(Bytef* dest, uInt len);
HDdeflate.h107 Bytef *pending_buf; /* output still pending */
109 Bytef *pending_out; /* next pending byte to output to the stream */
123 Bytef *window;
287 #define put_byte(s, c) {s->pending_buf[s->pending++] = (Bytef)(c);}
HDdeflate.c173 zmemzero((Bytef *)s->head, \
218 local unsigned read_buf(z_streamp strm, Bytef *buf, unsigned size) { in read_buf()
449 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_()
550 int ZEXPORT deflateSetDictionary(z_streamp strm, const Bytef *dictionary, in deflateSetDictionary()
586 strm->next_in = (z_const Bytef *)dictionary; in deflateSetDictionary()
616 int ZEXPORT deflateGetDictionary(z_streamp strm, Bytef *dictionary, in deflateGetDictionary()
866 Bytef *str; in deflateBound()
1306 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); in deflateCopy()
1350 register Bytef *scan = s->window + s->strstart; /* current string */ in longest_match()
1351 register Bytef *match; /* matched string */ in longest_match()
[all …]
HDadler32.c61 uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) { in adler32_z()
128 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) { in adler32()
HDzconf.h156 # define Bytef z_Bytef macro
411 # define Bytef Byte FAR macro
413 typedef Byte FAR Bytef; typedef
HDinflate.c368 local int updatewindow(z_streamp strm, const Bytef *end, unsigned copy) { in updatewindow()
758 state->head->name[state->length++] = (Bytef)len; in inflate()
780 state->head->comment[state->length++] = (Bytef)len; in inflate()
1278 int ZEXPORT inflateGetDictionary(z_streamp strm, Bytef *dictionary, in inflateGetDictionary()
1298 int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, in inflateSetDictionary()
HDzconf.h.in145 # define Bytef z_Bytef macro
400 # define Bytef Byte FAR macro
402 typedef Byte FAR Bytef; typedef
HDgzwrite.c220 state->strm.next_in = (z_const Bytef *)buf; in gz_write()
/freebsd-14-stable/stand/libsa/
HDgpt.c77 hdr->hdr_crc_table = crc32(hdr->hdr_crc_table, (const Bytef *)table, in gptupdate()
80 hdr->hdr_crc_self = crc32(hdr->hdr_crc_self, (const Bytef *)hdr, in gptupdate()
202 if (crc32(hdr->hdr_crc_self, (const Bytef *)hdr, hdr->hdr_size) != in gptread_hdr()
270 hdr->hdr_crc_table = crc32(hdr->hdr_crc_table, (const Bytef *)table, in gptbootconv()
273 hdr->hdr_crc_self = crc32(hdr->hdr_crc_self, (const Bytef *)hdr, in gptbootconv()
312 if (crc32(0, (const Bytef *)table, nent * hdr->hdr_entsz) != in gptread_table()
/freebsd-14-stable/contrib/llvm-project/llvm/lib/Support/
HDCompression.cpp111 int Res = ::compress2((Bytef *)CompressedBuffer.data(), &CompressedSize, in compress()
112 (const Bytef *)Input.data(), Input.size(), Level); in compress()
125 int Res = ::uncompress((Bytef *)Output, (uLongf *)&UncompressedSize, in decompress()
126 (const Bytef *)Input.data(), Input.size()); in decompress()
HDCRC.cpp93 CRC = ::crc32(CRC, (const Bytef *)Slice.data(), (uInt)Slice.size()); in crc32()
/freebsd-14-stable/sys/contrib/zstd/zlibWrapper/
HDzstd_zlibwrapper.c338 const Bytef *dictionary, in z_deflateSetDictionary()
700 const Bytef *dictionary, in z_inflateSetDictionary()
1015 Bytef *dictionary, in z_inflateGetDictionary()
1099 ZEXTERN int ZEXPORT z_compress OF((Bytef *dest, uLongf *destLen, in z_compress()
1100 const Bytef *source, uLong sourceLen)) in z_compress()
1118 ZEXTERN int ZEXPORT z_compress2 OF((Bytef *dest, uLongf *destLen, in z_compress2()
1119 const Bytef *source, uLong sourceLen, in z_compress2()
1143 ZEXTERN int ZEXPORT z_uncompress OF((Bytef *dest, uLongf *destLen, in z_uncompress()
1144 const Bytef *source, uLong sourceLen)) in z_uncompress()
1162 ZEXTERN uLong ZEXPORT z_adler32 OF((uLong adler, const Bytef *buf, uInt len)) in z_adler32()
[all …]
/freebsd-14-stable/sys/contrib/zlib/test/
HDexample.c65 err = compress(compr, &comprLen, (const Bytef*)hello, len); in test_compress()
420 (const Bytef*)dictionary, (int)sizeof(dictionary)); in test_dict_deflate()
470 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary, in test_dict_inflate()
/freebsd-14-stable/contrib/libarchive/libarchive/
HDarchive_write_add_filter_gzip.c77 (st)->stream.next_in = (Bytef *)(uintptr_t)(const void *)(src)
283 data->crc = crc32(data->crc, (const Bytef *)buff, (uInt)length); in archive_compressor_gzip_write()
/freebsd-14-stable/sys/contrib/zstd/zlibWrapper/examples/
HDexample.c120 err = compress(compr, &comprLen, (const Bytef*)hello, len);
497 (const Bytef*)dictionary, (int)sizeof(dictionary));
549 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
HDexample_original.c112 err = compress(compr, &comprLen, (const Bytef*)hello, len);
489 (const Bytef*)dictionary, (int)sizeof(dictionary));
541 err = inflateSetDictionary(&d_stream, (const Bytef*)dictionary,
/freebsd-14-stable/usr.sbin/bhyve/
HDrfb.c521 rc->zstream.next_in = (Bytef *)pixelp; in rfb_send_rect()
523 rc->zstream.next_out = (Bytef *)zbufp; in rfb_send_rect()
608 rc->zstream.next_in = (Bytef *)gc->data; in rfb_send_all()
611 rc->zstream.next_out = (Bytef *)rc->zbuf; in rfb_send_all()
772 (Bytef *)p, in rfb_send_screen()
/freebsd-14-stable/crypto/openssl/crypto/comp/
HDc_zlib.c86 typedef int (*compress_ft) (Bytef *dest, uLongf * destLen,
87 const Bytef *source, uLong sourceLen);
/freebsd-14-stable/sys/contrib/zstd/programs/
HDfileio.c1101 strm.next_out = (Bytef*)ress->dstBuffer; in FIO_compressGzFrame()
1121 strm.next_out = (Bytef*)ress->dstBuffer; in FIO_compressGzFrame()
1141 strm.next_out = (Bytef*)ress->dstBuffer; in FIO_compressGzFrame()
2324 strm.next_out = (Bytef*)ress->dstBuffer; in FIO_decompressGzFrame()
2350 strm.next_out = (Bytef*)ress->dstBuffer; in FIO_decompressGzFrame()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
HDGDBRemoteCommunication.cpp565 stream.next_in = (Bytef *)unescaped_content.data(); in DecompressPacket()
568 stream.next_out = (Bytef *)decompressed_buffer; in DecompressPacket()
/freebsd-14-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/CTF/
HDSymbolFileCTF.cpp149 zstr.next_in = (Bytef *)const_cast<uint8_t *>(m_data.GetDataStart() + in ParseHeader()
153 (Bytef *)const_cast<uint8_t *>(decompressed_data->GetBytes()); in ParseHeader()

12