Lines Matching refs:Z_NULL
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateResetKeep()
112 strm->msg = Z_NULL; in inflateResetKeep()
119 state->head = Z_NULL; in inflateResetKeep()
134 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset()
150 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset2()
169 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2()
171 state->window = Z_NULL; in inflateReset2()
189 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
192 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
193 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
210 if (state == Z_NULL) return Z_MEM_ERROR; in inflateInit2_()
213 state->window = Z_NULL; in inflateInit2_()
217 strm->state = Z_NULL; in inflateInit2_()
237 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflatePrime()
390 if (state->window == Z_NULL) { in updatewindow()
394 if (state->window == Z_NULL) return 1; in updatewindow()
628 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL || in inflate()
629 (strm->next_in == Z_NULL && strm->avail_in != 0)) in inflate()
648 state->check = crc32(0L, Z_NULL, 0); in inflate()
655 if (state->head != Z_NULL) in inflate()
682 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
700 if (state->head != Z_NULL) in inflate()
707 if (state->head != Z_NULL) in inflate()
714 if (state->head != Z_NULL) { in inflate()
725 if (state->head != Z_NULL) in inflate()
730 else if (state->head != Z_NULL) in inflate()
731 state->head->extra = Z_NULL; in inflate()
738 if (state->head != Z_NULL && in inflate()
739 state->head->extra != Z_NULL) { in inflate()
761 if (state->head != Z_NULL && in inflate()
762 state->head->name != Z_NULL && in inflate()
772 else if (state->head != Z_NULL) in inflate()
773 state->head->name = Z_NULL; in inflate()
782 if (state->head != Z_NULL && in inflate()
783 state->head->comment != Z_NULL && in inflate()
793 else if (state->head != Z_NULL) in inflate()
794 state->head->comment = Z_NULL; in inflate()
806 if (state->head != Z_NULL) { in inflate()
810 strm->adler = state->check = crc32(0L, Z_NULL, 0); in inflate()
824 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
1258 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) in inflateEnd()
1261 if (state->window != Z_NULL) ZFREE(strm, state->window); in inflateEnd()
1263 strm->state = Z_NULL; in inflateEnd()
1276 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateGetDictionary()
1280 if (state->whave && dictionary != Z_NULL) { in inflateGetDictionary()
1286 if (dictLength != Z_NULL) in inflateGetDictionary()
1302 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSetDictionary()
1309 dictid = adler32(0L, Z_NULL, 0); in inflateSetDictionary()
1334 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateGetHeader()
1387 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSync()
1434 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSyncPoint()
1449 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL || in inflateCopy()
1457 if (copy == Z_NULL) return Z_MEM_ERROR; in inflateCopy()
1458 window = Z_NULL; in inflateCopy()
1459 if (state->window != Z_NULL) { in inflateCopy()
1462 if (window == Z_NULL) { in inflateCopy()
1477 if (window != Z_NULL) { in inflateCopy()
1492 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateUndermine()
1508 if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16; in inflateMark()