Lines Matching refs:Z_NULL

96     if (strm == Z_NULL ||  in inflateStateCheck()
100 if (state == Z_NULL || state->strm != strm || in inflateStateCheck()
112 strm->msg = Z_NULL; in inflateResetKeep()
120 state->head = Z_NULL; in inflateResetKeep()
167 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2()
169 state->window = Z_NULL; in inflateReset2()
183 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
186 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
187 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
204 if (state == Z_NULL) return Z_MEM_ERROR; in inflateInit2_()
208 state->window = Z_NULL; in inflateInit2_()
213 strm->state = Z_NULL; in inflateInit2_()
375 if (state->window == Z_NULL) { in updatewindow()
379 if (state->window == Z_NULL) return 1; in updatewindow()
610 if (inflateStateCheck(strm) || strm->next_out == Z_NULL || in inflate()
611 (strm->next_in == Z_NULL && strm->avail_in != 0)) in inflate()
632 state->check = crc32(0L, Z_NULL, 0); in inflate()
638 if (state->head != Z_NULL) in inflate()
666 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
684 if (state->head != Z_NULL) in inflate()
693 if (state->head != Z_NULL) in inflate()
702 if (state->head != Z_NULL) { in inflate()
715 if (state->head != Z_NULL) in inflate()
721 else if (state->head != Z_NULL) in inflate()
722 state->head->extra = Z_NULL; in inflate()
730 if (state->head != Z_NULL && in inflate()
731 state->head->extra != Z_NULL && in inflate()
755 if (state->head != Z_NULL && in inflate()
756 state->head->name != Z_NULL && in inflate()
766 else if (state->head != Z_NULL) in inflate()
767 state->head->name = Z_NULL; in inflate()
777 if (state->head != Z_NULL && in inflate()
778 state->head->comment != Z_NULL && in inflate()
788 else if (state->head != Z_NULL) in inflate()
789 state->head->comment = Z_NULL; in inflate()
802 if (state->head != Z_NULL) { in inflate()
806 strm->adler = state->check = crc32(0L, Z_NULL, 0); in inflate()
821 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
1271 if (state->window != Z_NULL) ZFREE(strm, state->window); in inflateEnd()
1273 strm->state = Z_NULL; in inflateEnd()
1287 if (state->whave && dictionary != Z_NULL) { in inflateGetDictionary()
1293 if (dictLength != Z_NULL) in inflateGetDictionary()
1312 dictid = adler32(0L, Z_NULL, 0); in inflateSetDictionary()
1446 if (inflateStateCheck(source) || dest == Z_NULL) in inflateCopy()
1453 if (copy == Z_NULL) return Z_MEM_ERROR; in inflateCopy()
1454 window = Z_NULL; in inflateCopy()
1455 if (state->window != Z_NULL) { in inflateCopy()
1458 if (window == Z_NULL) { in inflateCopy()
1474 if (window != Z_NULL) { in inflateCopy()