Lines Matching refs:Z_NULL
109 if (strm == Z_NULL ||
113 if (state == Z_NULL || state->strm != strm ||
127 strm->msg = Z_NULL;
134 state->head = Z_NULL;
184 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
186 state->window = Z_NULL;
204 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
207 if (strm == Z_NULL) return Z_STREAM_ERROR;
208 strm->msg = Z_NULL; /* in case we return an error */
225 if (state == Z_NULL) return Z_MEM_ERROR;
229 state->window = Z_NULL;
235 strm->state = Z_NULL;
408 if (state->window == Z_NULL) {
412 if (state->window == Z_NULL) return 1;
646 if (inflateStateCheck(strm) || strm->next_out == Z_NULL ||
647 (strm->next_in == Z_NULL && strm->avail_in != 0))
668 state->check = crc32(0L, Z_NULL, 0);
675 if (state->head != Z_NULL)
702 strm->adler = state->check = adler32(0L, Z_NULL, 0);
720 if (state->head != Z_NULL)
728 if (state->head != Z_NULL)
736 if (state->head != Z_NULL) {
748 if (state->head != Z_NULL)
754 else if (state->head != Z_NULL)
755 state->head->extra = Z_NULL;
762 if (state->head != Z_NULL &&
763 state->head->extra != Z_NULL) {
785 if (state->head != Z_NULL &&
786 state->head->name != Z_NULL &&
796 else if (state->head != Z_NULL)
797 state->head->name = Z_NULL;
806 if (state->head != Z_NULL &&
807 state->head->comment != Z_NULL &&
817 else if (state->head != Z_NULL)
818 state->head->comment = Z_NULL;
830 if (state->head != Z_NULL) {
834 strm->adler = state->check = crc32(0L, Z_NULL, 0);
848 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1286 if (state->window != Z_NULL) ZFREE(strm, state->window);
1288 strm->state = Z_NULL;
1305 if (state->whave && dictionary != Z_NULL) {
1311 if (dictLength != Z_NULL)
1333 dictid = adler32(0L, Z_NULL, 0);
1473 if (inflateStateCheck(source) || dest == Z_NULL)
1480 if (copy == Z_NULL) return Z_MEM_ERROR;
1481 window = Z_NULL;
1482 if (state->window != Z_NULL) {
1485 if (window == Z_NULL) {
1501 if (window != Z_NULL) {