Searched refs:ZALLOC (Results 1 – 5 of 5) sorted by relevance
| /freebsd/sys/contrib/zlib/ |
| H A D | deflate.c | 440 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state)); in deflateInit2_() 458 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte)); in deflateInit2_() 459 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos)); in deflateInit2_() 460 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos)); in deflateInit2_() 505 s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS); in deflateInit2_() 1335 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state)); in deflateCopy() 1342 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte)); in deflateCopy() 1343 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos)); in deflateCopy() 1344 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos)); in deflateCopy() 1345 ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, LIT_BUFS); in deflateCopy()
|
| H A D | zutil.h | 252 #define ZALLOC(strm, items, size) \ macro
|
| H A D | inflate.c | 198 ZALLOC(strm, 1, sizeof(struct inflate_state)); in inflateInit2_() 261 ZALLOC(strm, 1U << state->wbits, in updatewindow() 1340 ZALLOC(source, 1, sizeof(struct inflate_state)); in inflateCopy() 1346 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 | 1297 . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new() 1298 . ZALLOC the length list in inflate_trees_fixed() instead of using stack 1299 . ZALLOC the value area for huft_build() instead of using stack
|