Home | History | Annotate | Download | only in zlib_v128

Lines Matching full:zalloc

239     if (strm->zalloc == (alloc_func)0) {
243 strm->zalloc = zcalloc;
276 s = (deflate_state *) ZALLOC(strm, 1, sizeof(deflate_state));
292 s->window = (Bytef *) ZALLOC(strm, s->w_size, 2*sizeof(Byte));
293 s->prev = (Posf *) ZALLOC(strm, s->w_size, sizeof(Pos));
294 s->head = (Posf *) ZALLOC(strm, s->hash_size, sizeof(Pos));
300 overlay = (ushf *) ZALLOC(strm, s->lit_bufsize, sizeof(ush)+2);
397 strm->zalloc == (alloc_func)0 || strm->zfree == (free_func)0) {
1033 ds = (deflate_state *) ZALLOC(dest, 1, sizeof(deflate_state));
1039 ds->window = (Bytef *) ZALLOC(dest, ds->w_size, 2*sizeof(Byte));
1040 ds->prev = (Posf *) ZALLOC(dest, ds->w_size, sizeof(Pos));
1041 ds->head = (Posf *) ZALLOC(dest, ds->hash_size, sizeof(Pos));
1042 overlay = (ushf *) ZALLOC(dest, ds->lit_bufsize, sizeof(ush)+2);