Lines Matching refs:Z_NULL
136 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset()
139 strm->msg = Z_NULL; in inflateReset()
145 state->head = Z_NULL; in inflateReset()
161 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflatePrime()
176 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
179 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
180 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
190 if (state == Z_NULL) return Z_MEM_ERROR; in inflateInit2_()
205 strm->state = Z_NULL; in inflateInit2_()
209 state->window = Z_NULL; in inflateInit2_()
357 if (state->window == Z_NULL) { in updatewindow()
361 if (state->window == Z_NULL) return 1; in updatewindow()
600 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL || in inflate()
601 (strm->next_in == Z_NULL && strm->avail_in != 0)) in inflate()
620 state->check = z_crc32(0L, Z_NULL, 0); in inflate()
627 if (state->head != Z_NULL) in inflate()
652 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
670 if (state->head != Z_NULL) in inflate()
678 if (state->head != Z_NULL) in inflate()
686 if (state->head != Z_NULL) { in inflate()
698 if (state->head != Z_NULL) in inflate()
703 else if (state->head != Z_NULL) in inflate()
704 state->head->extra = Z_NULL; in inflate()
712 if (state->head != Z_NULL && in inflate()
713 state->head->extra != Z_NULL) { in inflate()
736 if (state->head != Z_NULL && in inflate()
737 state->head->name != Z_NULL && in inflate()
747 else if (state->head != Z_NULL) in inflate()
748 state->head->name = Z_NULL; in inflate()
758 if (state->head != Z_NULL && in inflate()
759 state->head->comment != Z_NULL && in inflate()
769 else if (state->head != Z_NULL) in inflate()
770 state->head->comment = Z_NULL; in inflate()
783 if (state->head != Z_NULL) { in inflate()
787 strm->adler = state->check = z_crc32(0L, Z_NULL, 0); in inflate()
804 strm->adler = state->check = adler32(0L, Z_NULL, 0); in inflate()
1204 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) in inflateEnd()
1207 if (state->window != Z_NULL) ZFREE(strm, state->window); in inflateEnd()
1209 strm->state = Z_NULL; in inflateEnd()
1221 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSetDictionary()
1228 id = adler32(0L, Z_NULL, 0); in inflateSetDictionary()
1260 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateGetHeader()
1311 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSync()
1358 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSyncPoint()
1372 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL || in inflateCopy()
1380 if (copy == Z_NULL) return Z_MEM_ERROR; in inflateCopy()
1381 window = Z_NULL; in inflateCopy()
1382 if (state->window != Z_NULL) { in inflateCopy()
1385 if (window == Z_NULL) { in inflateCopy()
1400 if (window != Z_NULL) { in inflateCopy()