Lines Matching refs:Z_NULL
386 if (version == Z_NULL || version[0] != my_version[0] || in deflateInit2_()
390 if (strm == Z_NULL) return Z_STREAM_ERROR; in deflateInit2_()
392 strm->msg = Z_NULL; in deflateInit2_()
433 if (s == Z_NULL) return Z_MEM_ERROR; in deflateInit2_()
439 s->gzhead = Z_NULL; in deflateInit2_()
499 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL || in deflateInit2_()
500 s->pending_buf == Z_NULL) { in deflateInit2_()
531 if (strm == Z_NULL || in deflateStateCheck()
535 if (s == Z_NULL || s->strm != strm || (s->status != INIT_STATE && in deflateStateCheck()
558 if (deflateStateCheck(strm) || dictionary == Z_NULL) in deflateSetDictionary()
627 if (dictionary != Z_NULL && len) in deflateGetDictionary()
629 if (dictLength != Z_NULL) in deflateGetDictionary()
643 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */ in deflateResetKeep()
660 s->wrap == 2 ? crc32(0L, Z_NULL, 0) : in deflateResetKeep()
662 adler32(0L, Z_NULL, 0); in deflateResetKeep()
715 if (pending != Z_NULL) in deflatePending()
717 if (bits != Z_NULL) in deflatePending()
865 if (s->gzhead != Z_NULL) { /* user-supplied gzip header */ in deflateBound()
867 if (s->gzhead->extra != Z_NULL) in deflateBound()
870 if (str != Z_NULL) in deflateBound()
875 if (str != Z_NULL) in deflateBound()
955 if (strm->next_out == Z_NULL || in deflate()
956 (strm->avail_in != 0 && strm->next_in == Z_NULL) || in deflate()
1020 strm->adler = adler32(0L, Z_NULL, 0); in deflate()
1033 strm->adler = crc32(0L, Z_NULL, 0); in deflate()
1037 if (s->gzhead == Z_NULL) { in deflate()
1059 (s->gzhead->extra == Z_NULL ? 0 : 4) + in deflate()
1060 (s->gzhead->name == Z_NULL ? 0 : 8) + in deflate()
1061 (s->gzhead->comment == Z_NULL ? 0 : 16) in deflate()
1071 if (s->gzhead->extra != Z_NULL) { in deflate()
1083 if (s->gzhead->extra != Z_NULL) { in deflate()
1110 if (s->gzhead->name != Z_NULL) { in deflate()
1132 if (s->gzhead->comment != Z_NULL) { in deflate()
1163 strm->adler = crc32(0L, Z_NULL, 0); in deflate()
1272 strm->state = Z_NULL; in deflateEnd()
1292 if (deflateStateCheck(source) || dest == Z_NULL) { in deflateCopy()
1301 if (ds == Z_NULL) return Z_MEM_ERROR; in deflateCopy()
1311 if (ds->window == Z_NULL || ds->prev == Z_NULL || ds->head == Z_NULL || in deflateCopy()
1312 ds->pending_buf == Z_NULL) { in deflateCopy()
1592 (charf *)Z_NULL), \