Lines Matching refs:Z_NULL
602 if (strm == Z_NULL) return Z_STREAM_ERROR;
604 strm->msg = Z_NULL;
605 /* if (strm->zalloc == Z_NULL) strm->zalloc = zcalloc; */
606 /* if (strm->zfree == Z_NULL) strm->zfree = zcfree; */
619 if (s == Z_NULL) return Z_MEM_ERROR;
641 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
642 s->pending_buf == Z_NULL) {
669 if (strm == Z_NULL || strm->state == Z_NULL ||
670 strm->zalloc == Z_NULL || strm->zfree == Z_NULL) return Z_STREAM_ERROR;
673 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */
737 if (strm == Z_NULL || state == Z_NULL) return Z_STREAM_ERROR;
739 if (strm->next_in == Z_NULL && strm->avail_in != 0) {
859 if (strm == Z_NULL || state == Z_NULL) return Z_STREAM_ERROR;
867 strm->state = Z_NULL;
1207 (charf *)Z_NULL), (long)s->strstart - s->block_start, (flush)); \
2775 if (z == Z_NULL || z->state == Z_NULL)
2778 z->msg = Z_NULL;
2791 if (z == Z_NULL || z->state == Z_NULL || z->zfree == Z_NULL)
2793 if (z->state->blocks != Z_NULL)
2796 z->state = Z_NULL;
2807 if (z == Z_NULL)
2809 /* if (z->zalloc == Z_NULL) z->zalloc = zcalloc; */
2810 /* if (z->zfree == Z_NULL) z->zfree = zcfree; */
2812 ZALLOC(z,1,sizeof(struct internal_state))) == Z_NULL)
2814 z->state->blocks = Z_NULL;
2834 inflate_blocks_new(z, z->state->nowrap ? Z_NULL : adler32, 1 << w))
2835 == Z_NULL)
2865 if (z == Z_NULL || z->next_in == Z_NULL)
2993 if (z == Z_NULL || z->state == Z_NULL)
3213 if (s->checkfn != Z_NULL)
3227 if (s->checkfn != Z_NULL)
3228 s->check = (*s->checkfn)(0L, Z_NULL, 0);
3241 (z,1,sizeof(struct inflate_blocks_state))) == Z_NULL)
3243 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL)
3246 return Z_NULL;
3299 if (s->sub.decode.codes == Z_NULL)
3304 s->sub.decode.tl = Z_NULL; /* don't try to free these */
3305 s->sub.decode.td = Z_NULL;
3370 if ((s->sub.trees.blens = (uIntf*)ZALLOC(z, t, sizeof(uInt))) == Z_NULL)
3445 s->sub.trees.tb = Z_NULL;
3464 if ((c = inflate_codes_new(bl, bd, tl, td, z)) == Z_NULL)
3567 if (s->checkfn != Z_NULL)
3740 *t = (inflate_huft *)Z_NULL;
3793 u[0] = (inflate_huft *)Z_NULL; /* just to keep compilers happy */
3794 q = (inflate_huft *)Z_NULL; /* ditto */
3828 (zs,z + 1,sizeof(inflate_huft))) == Z_NULL)
3839 *(t = &(q->next)) = Z_NULL;
3902 r = huft_build(c, 19, 19, (uIntf*)Z_NULL, (uIntf*)Z_NULL, tb, bb, z);
4018 z.opaque = Z_NULL;
4061 while (p != Z_NULL)
4130 ZALLOC(z,1,sizeof(struct inflate_codes_state))) != Z_NULL)
4340 if (s->checkfn != Z_NULL)
4368 if (s->checkfn != Z_NULL)
4598 if (buf == Z_NULL) return 1L;