Lines Matching defs:ZALLOC
277 #define ZALLOC(strm, items, size) \
278 (*((strm)->zalloc))((strm)->opaque, (items), (size))
833 if (strm->zalloc == Z_NULL) {
834 strm->zalloc = zcalloc;
854 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
869 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
870 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
871 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
875 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
946 strm->zalloc == Z_NULL || strm->zfree == Z_NULL) return Z_STREAM_ERROR;
1231 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1237 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1238 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1239 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1240 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);
3449 if (z->zalloc == Z_NULL)
3451 z->zalloc = zcalloc;
3457 ZALLOC(z,1,sizeof(struct internal_state))) == Z_NULL)
4046 if ((s = (inflate_blocks_statef *)ZALLOC
4050 (inflate_huft *)ZALLOC(z, sizeof(inflate_huft), MANY)) == Z_NULL)
4055 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
4176 if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL)
4729 if ((v = (uIntf*)ZALLOC(z, 19, sizeof(uInt))) == Z_NULL)
4760 if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL)
4993 if ((c = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL)
4995 if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL)
5121 ZALLOC(z,1,sizeof(struct inflate_codes_state))) != Z_NULL)