Home
last modified time | relevance | path

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

/illumos-gate/usr/src/contrib/zlib/
H A Dzlib.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 */
655 Bytef *dictionary,
910 Bytef *dictionary,
1229 ZEXTERN int ZEXPORT compress OF((Bytef *dest, uLongf *destLen,
1244 ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
1267 ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
1285 ZEXTERN int ZEXPORT uncompress2 OF((Bytef *dest, uLongf *destLen,
1709 ZEXTERN uLong ZEXPORT adler32_z OF((uLong adler, const Bytef *buf,
[all …]
H A Dzutil.c147 Bytef* dest; in zmemcpy()
148 const Bytef* source;
158 const Bytef* s1; in zmemcmp()
159 const Bytef* s2;
171 Bytef* dest; in zmemzero()
H A Dzutil.h232 void ZLIB_INTERNAL zmemcpy OF((Bytef* dest, const Bytef* source, uInt len));
233 int ZLIB_INTERNAL zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
234 void ZLIB_INTERNAL zmemzero OF((Bytef* dest, uInt len));
H A Ddeflate.h101 Bytef *pending_buf; /* output still pending */
103 Bytef *pending_out; /* next pending byte to output to the stream */
117 Bytef *window;
274 #define put_byte(s, c) {s->pending_buf[s->pending++] = (Bytef)(c);}
H A Ddeflate.c193 zmemzero((Bytef *)s->head, \
317 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
416 const Bytef *dictionary;
453 strm->next_in = (z_const Bytef *)dictionary;
485 Bytef *dictionary;
719 Bytef *str;
1168 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1204 Bytef *buf;
1280 register Bytef *match; /* matched string */
1300 register Bytef *strend = s->window + s->strstart + MAX_MATCH;
[all …]
H A Dadler32.c61 uLong ZEXPORT adler32_z(uLong adler, const Bytef *buf, z_size_t len) in adler32_z()
129 uLong ZEXPORT adler32(uLong adler, const Bytef *buf, uInt len) in adler32()
H A Dzconf.h165 # define Bytef z_Bytef macro
423 # define Bytef Byte FAR macro
425 typedef Byte FAR Bytef; typedef
H A Dinflate.c382 local int updatewindow(z_streamp strm, const Bytef *end, unsigned copy) in updatewindow()
774 state->head->name[state->length++] = (Bytef)len; in inflate()
796 state->head->comment[state->length++] = (Bytef)len; in inflate()
1295 int ZEXPORT inflateGetDictionary(z_streamp strm, Bytef *dictionary, in inflateGetDictionary()
1316 int ZEXPORT inflateSetDictionary(z_streamp strm, const Bytef *dictionary, in inflateSetDictionary()
H A DChangeLog1155 - use define instead of typedef for Bytef also for MSC small/medium (Tom Lane)
1216 - read_buf buf parameter of type Bytef* instead of charf*
1217 - zmemcpy parameters are of type Bytef*, not charf* (Joseph Strout)
1365 - fixed declarations using Bytef in infutil.c (pb with MSDOS medium model)
1366 - Bytef is define's instead of typedef'd only for Borland C
1377 - Bytef is define'd instead of typedef'ed (work around Borland bug)
H A Dtrees.c874 zmemcpy(s->pending_buf + s->pending, (Bytef *)buf, stored_len);
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.h124 #define Bytef z_Bytef macro
310 #define Bytef Byte FAR macro
312 typedef Byte FAR Bytef; typedef
403 Bytef *next_in; /* next input byte */
407 Bytef *next_out; /* next output byte should be put there */
800 const Bytef *dictionary, uInt dictLength));
933 const Bytef *dictionary, uInt dictLength));
1131 ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
H A Dzlib.c229 extern void zmemcpy OF((Bytef* dest, const Bytef* source, uInt len));
230 extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
380 Bytef *window;
1384 Bytef *buf;
4642 const Bytef *d;
5547 Bytef *p;
5548 Bytef *q;
5873 Bytef* dest; in zmemcpy()
5886 const Bytef* s1; in zmemcmp()
5887 const Bytef* s2;
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.h117 typedef Byte FAR Bytef; typedef
160 Bytef *next_in; /* next input byte */
164 Bytef *next_out; /* next output byte should be put there */
610 extern uLong adler32 OF((uLong adler, Bytef *buf, uInt len));
H A Dzlib.c219 Bytef *pending_buf; /* output still pending */
234 Bytef *window;
2995 Bytef *p; /* pointer to bytes */
3093 Bytef *window; /* sliding window */
3095 Bytef *read; /* window read pointer */
3272 Bytef *p; /* input data pointer */
4163 Bytef *p; /* input data pointer */
4338 Bytef *p, *q;
4433 Bytef *p; /* input data pointer */
4441 Bytef *r; /* copy source pointer */
[all …]
/illumos-gate/usr/src/cmd/boot/fiocompress/
H A Dfiocompress.c215 ret = compress2(dstbuf, &dlen, (Bytef *)srcaddr, slen, 9); in do_comp()
284 ret = uncompress(dstbuf, &dlen, (Bytef *)srcaddr, slen); in do_decomp()
304 if ((ret = uncompress(dstbuf, &dlen, (Bytef *)srcaddr, slen)) != Z_OK) { in do_decomp()
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c400 # define Bytef Byte FAR macro
775 extern void zmemcpy OF((Bytef* dest, const Bytef* source, uInt len));
776 extern int zmemcmp OF((const Bytef* s1, const Bytef* s2, uInt len));
820 Bytef* dest; in zmemcpy()
821 const Bytef* source;
831 const Bytef* s1; in zmemcmp()
832 const Bytef* s2;
844 Bytef* dest; in zmemzero()
1163 const Bytef *buf;
1323 Bytef *window;
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Drfb.c865 c->rc_zstream.next_in = (Bytef *)p; in rfb_send_rect()
867 c->rc_zstream.next_out = (Bytef *)zbufp; in rfb_send_rect()
941 c->rc_zstream.next_in = (Bytef *)data; in rfb_send_all()
944 c->rc_zstream.next_out = (Bytef *)c->rc_zbuf; in rfb_send_all()
1084 (Bytef *)p, cellwidth * sizeof (uint32_t)); in rfb_send_screen()
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_init_finish.c1713 Bytef *basesrc = (Bytef *)section->dss_data; in do_decompress_zlib()
1714 Bytef *src = (Bytef *)basesrc; in do_decompress_zlib()
1719 Bytef *dest = 0; in do_decompress_zlib()
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_lib.c185 czd->czd_zstr.next_out = (Bytef *)czd->czd_next; in ctf_zdata_grow()
198 czd->czd_zstr.next_in = (Bytef *)buf; in ctf_zdata_compress_buffer()
/illumos-gate/usr/src/boot/common/
H A Dpart.c191 if (crc32(hdr->hdr_crc_self, (const Bytef *)hdr, sz) != crc) { in gpt_checkhdr()