Searched refs:ZALLOC (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/contrib/zlib/ |
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_()
|
H A D | ChangeLog | 1246 . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new() 1247 . ZALLOC the length list in inflate_trees_fixed() instead of using stack 1248 . ZALLOC the value area for huft_build() instead of using stack
|