Bytef
uLong adler32(uLong adler, const Bytef *buf, uInt len);
z_const Bytef *next_in; /* next input byte */
Bytef *next_out; /* next output byte should be put there */
adler32(uLong adler, const Bytef *buf, uInt len)
Bytef *scan, *strend; /* scan goes up to strend for length of run */
zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
s->window = (Bytef *) malloc((s->w_size)*2*sizeof(Byte));
read_buf(z_streamp strm, Bytef *buf, unsigned size)
register Bytef *scan = s->window + s->strstart; /* current string */
register Bytef *match; /* matched string */
register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
register Bytef *strend = s->window + s->strstart + MAX_MATCH;
local int read_buf(z_streamp strm, Bytef *buf, unsigned size);
Bytef *window;
Bytef *pending_buf; /* output still pending */
Bytef *pending_out; /* next pending byte to output to the stream */
updatewindow(z_streamp strm, const Bytef *end, unsigned copy)
zmemcpy(Bytef* dest, const Bytef* source, uInt len)
zmemcmp(const Bytef* s1, const Bytef* s2, uInt len)
zmemzero(Bytef* dest, uInt len)
void ZLIB_INTERNAL zmemcpy((Bytef* dest, const Bytef* source, uInt len));
int ZLIB_INTERNAL zmemcmp((const Bytef* s1, const Bytef* s2, uInt len));
void ZLIB_INTERNAL zmemzero((Bytef* dest, uInt len));
ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
Bytef *scan = s->window + s->strstart; /* current string */
Bytef *match; /* matched string */
Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
Bytef *strend = s->window + s->strstart + MAX_MATCH;
extern void zmemcpy OF((Bytef* dest, Bytef* source, uInt len));
extern int zmemcmp OF((Bytef* s1, Bytef* s2, uInt len));
extern void zmemzero OF((Bytef* dest, uInt len));
typedef uLong (*check_func) OF((uLong check, const Bytef *buf, uInt len));
const Bytef *d, /* dictionary */
inflateSetDictionary(z_streamp z, const Bytef *dictionary, uInt dictLength)
Bytef *p; /* pointer to bytes */
Bytef *pad; /* pad structure to a power of 2 (4 bytes for */
Bytef *pending_buf; /* output still pending */
Bytef *window; /* sliding window */
Bytef *end; /* one byte after sliding window */
Bytef *read; /* window read pointer */
Bytef *pending_out; /* next pending byte to output to the stream */
Bytef *write; /* window write pointer */
Bytef *window;
if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
Bytef *p; /* input data pointer */
Bytef *q; /* output window write pointer */
inflate_set_dictionary(inflate_blocks_statef *s, const Bytef *d, uInt n)
Bytef *p; /* input data pointer */
Bytef *q; /* output window write pointer */
Bytef *p; /* input data pointer */
Bytef *q; /* output window write pointer */
Bytef *f; /* pointer to copy strings from */
Bytef *p;
Bytef *q;
Bytef *p; /* input data pointer */
Bytef *q; /* output window write pointer */
Bytef *r; /* copy source pointer */
zmemcpy(Bytef *dest, Bytef *source, uInt len)
zmemcmp(Bytef *s1, Bytef *s2, uInt len)
zmemzero(Bytef *dest, uInt len)
adler32(uLong adler, const Bytef *buf, uInt len)
s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
deflateSetDictionary(z_streamp strm, const Bytef *dictionary, uInt dictLength)
Bytef *next_in; /* next input byte */
Bytef *next_out; /* next output byte should be put there */
const Bytef *dictionary,
const Bytef *dictionary,
extern int EXPORT compress OF((Bytef *dest, uLongf *destLen,
const Bytef *source, uLong sourceLen));
extern int EXPORT uncompress OF((Bytef *dest, uLongf *destLen,
const Bytef *source, uLong sourceLen));
extern uLong EXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
extern uLong EXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
uLong adler32(uLong adler, const Bytef *buf, uInt len);
z_const Bytef *next_in; /* next input byte */
Bytef *next_out; /* next output byte should be put there */
adler32(uLong adler, const Bytef *buf, uInt len)
Bytef *scan, *strend; /* scan goes up to strend for length of run */
zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
s->window = (Bytef *) kmalloc((s->w_size)*2*sizeof(Byte), C_ZLIB_BUFFER_DEFLATE, M_INTWAIT);
read_buf(z_streamp strm, Bytef *buf, unsigned size)
register Bytef *scan = s->window + s->strstart; /* current string */
register Bytef *match; /* matched string */
register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
register Bytef *strend = s->window + s->strstart + MAX_MATCH;
local int read_buf(z_streamp strm, Bytef *buf, unsigned size);
Bytef *window;
Bytef *pending_buf; /* output still pending */
Bytef *pending_out; /* next pending byte to output to the stream */
updatewindow(z_streamp strm, const Bytef *end, unsigned copy)
zmemcpy(Bytef* dest, const Bytef* source, uInt len)
zmemcmp(const Bytef* s1, const Bytef* s2, uInt len)
zmemzero(Bytef* dest, uInt len)
void ZLIB_INTERNAL zmemcpy((Bytef* dest, const Bytef* source, uInt len));
int ZLIB_INTERNAL zmemcmp((const Bytef* s1, const Bytef* s2, uInt len));
void ZLIB_INTERNAL zmemzero((Bytef* dest, uInt len));
crc = crc32(crc, (const Bytef *)inbufp, (unsigned)in_size);
crc = crc32(crc, (const Bytef *)outbufp, (unsigned)wr);
uLong adler32(uLong adler, const Bytef *buf, uInt len);
z_const Bytef *next_in; /* next input byte */
Bytef *next_out; /* next output byte should be put there */
adler32(uLong adler, const Bytef *buf, uInt len)
Bytef *scan, *strend; /* scan goes up to strend for length of run */
zmemzero((Bytef *)s->head, (unsigned)(s->hash_size-1)*sizeof(*s->head));
s->window = (Bytef *) kmalloc((s->w_size)*2*sizeof(Byte), C_ZLIB_BUFFER_DEFLATE, M_INTWAIT);
read_buf(z_streamp strm, Bytef *buf, unsigned size)
register Bytef *scan = s->window + s->strstart; /* current string */
register Bytef *match; /* matched string */
register Bytef *strend = s->window + s->strstart + MAX_MATCH - 1;
register Bytef *strend = s->window + s->strstart + MAX_MATCH;
local int read_buf(z_streamp strm, Bytef *buf, unsigned size);
Bytef *window;
Bytef *pending_buf; /* output still pending */
Bytef *pending_out; /* next pending byte to output to the stream */
updatewindow(z_streamp strm, const Bytef *end, unsigned copy)
zmemcpy(Bytef* dest, const Bytef* source, uInt len)
zmemcmp(const Bytef* s1, const Bytef* s2, uInt len)
zmemzero(Bytef* dest, uInt len)
void ZLIB_INTERNAL zmemcpy((Bytef* dest, const Bytef* source, uInt len));
int ZLIB_INTERNAL zmemcmp((const Bytef* s1, const Bytef* s2, uInt len));
void ZLIB_INTERNAL zmemzero((Bytef* dest, uInt len));