/openbsd/lib/libz/ |
H A D | deflate.c | 428 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); in deflateInit2_() 445 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_() 446 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); in deflateInit2_() 447 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); in deflateInit2_() 492 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS); in deflateInit2_() 1304 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state)); in deflateCopy() 1310 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); in deflateCopy() 1311 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); in deflateCopy() 1312 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); in deflateCopy() 1313 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, LIT_BUFS); in deflateCopy()
|
H A D | zutil.h | 250 #define ZALLOC(strm, items, size) \ macro
|
H A D | inflate.c | 203 ZALLOC(strm, 1, sizeof(struct inflate_state)); in inflateInit2_() 377 ZALLOC(strm, 1U << state->wbits, in updatewindow() 1539 ZALLOC(source, 1, sizeof(struct inflate_state)); in inflateCopy() 1544 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); in inflateCopy()
|
H A D | infback.c | 51 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_()
|
H A D | ChangeLog | 1249 . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new() 1250 . ZALLOC the length list in inflate_trees_fixed() instead of using stack 1251 . ZALLOC the value area for huft_build() instead of using stack
|
/openbsd/sys/lib/libz/ |
H A D | deflate.c | 428 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); in deflateInit2_() 445 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_() 446 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); in deflateInit2_() 447 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); in deflateInit2_() 492 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS); in deflateInit2_() 1304 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state)); in deflateCopy() 1310 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); in deflateCopy() 1311 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); in deflateCopy() 1312 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); in deflateCopy() 1313 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, LIT_BUFS); in deflateCopy()
|
H A D | zutil.h | 263 #define ZALLOC(strm, items, size) \ macro
|
H A D | inflate.c | 203 ZALLOC(strm, 1, sizeof(struct inflate_state)); in inflateInit2_() 377 ZALLOC(strm, 1U << state->wbits, in updatewindow() 1538 ZALLOC(source, 1, sizeof(struct inflate_state)); in inflateCopy() 1543 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); in inflateCopy()
|
H A D | infback.c | 51 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_()
|
/openbsd/gnu/usr.bin/perl/cpan/Compress-Raw-Zlib/zlib-src/ |
H A D | deflate.c | 432 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); in deflateInit2_() 449 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_() 450 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); in deflateInit2_() 451 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); in deflateInit2_() 496 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS); in deflateInit2_() 1300 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state)); in deflateCopy() 1306 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); in deflateCopy() 1307 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); in deflateCopy() 1308 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); in deflateCopy() 1309 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, LIT_BUFS); in deflateCopy()
|
H A D | zutil.h | 245 #define ZALLOC(strm, items, size) \ macro
|
H A D | inflate.c | 203 ZALLOC(strm, 1, sizeof(struct inflate_state)); in inflateInit2_() 377 ZALLOC(strm, 1U << state->wbits, in updatewindow() 1452 ZALLOC(source, 1, sizeof(struct inflate_state)); in inflateCopy() 1457 ZALLOC(source, 1U << state->wbits, sizeof(unsigned char)); in inflateCopy()
|
H A D | infback.c | 51 state = (struct inflate_state FAR *)ZALLOC(strm, 1, in inflateBackInit_()
|