ZALLOC
ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
ds->pending_buf = (uchf *) ZALLOC(dest, ds->lit_bufsize, LIT_BUFS);
s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
s->pending_buf = (uchf *) ZALLOC(strm, s->lit_bufsize, LIT_BUFS);
state = (struct inflate_state FAR *)ZALLOC(strm, 1,
ZALLOC(source, 1, sizeof(struct inflate_state));
ZALLOC(source, 1U << state->wbits, sizeof(unsigned char));
ZALLOC(strm, 1, sizeof(struct inflate_state));
ZALLOC(strm, 1U << state->wbits,
ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
ZALLOC(z,1,sizeof(struct internal_state))) == Z_NULL)
if ((s = (inflate_blocks_statef *)ZALLOC
(inflate_huft *)ZALLOC(z, sizeof(inflate_huft), MANY)) == Z_NULL)
if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL)
if ((v = (uIntf*)ZALLOC(z, 19, sizeof(uInt))) == Z_NULL)
if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL)
if ((c = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL)
if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL)
ZALLOC(z,1,sizeof(struct inflate_codes_state))) != Z_NULL)
s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);