Lines Matching refs:ZALLOC
238 if (strm->zalloc == (alloc_func)0) {
239 strm->zalloc = zcalloc;
266 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
282 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
283 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
284 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
293 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
363 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) {
829 s->class_bitmap = (Bytef*) ZALLOC(strm, s->w_size/4, sizeof(Byte));
974 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
980 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
981 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
982 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
983 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);