Home | History | Annotate | Download | only in zlib-1.2.3

Lines Matching refs:zalloc

243     if (strm->zalloc == (alloc_func)0) {
244 strm->zalloc = zcalloc;
271 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
287 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
288 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
289 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) {
914 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
920 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
921 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
922 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
923 ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);