Lines Matching refs:Z_NULL

85  * - Check next_in and next_out for Z_NULL on entry to inflate()
115 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
118 strm->msg = Z_NULL;
124 state->head = Z_NULL;
142 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
159 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
162 if (strm == Z_NULL) return Z_STREAM_ERROR;
163 strm->msg = Z_NULL; /* in case we return an error */
171 if (state == Z_NULL) return Z_MEM_ERROR;
186 strm->state = Z_NULL;
190 state->window = Z_NULL;
340 if (state->window == Z_NULL) {
344 if (state->window == Z_NULL) return 1;
584 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL ||
585 (strm->next_in == Z_NULL && strm->avail_in != 0))
604 state->check = crc32(0L, Z_NULL, 0);
611 if (state->head != Z_NULL)
636 strm->adler = state->check = adler32(0L, Z_NULL, 0);
654 if (state->head != Z_NULL)
662 if (state->head != Z_NULL)
670 if (state->head != Z_NULL) {
682 if (state->head != Z_NULL)
687 else if (state->head != Z_NULL)
688 state->head->extra = Z_NULL;
696 if (state->head != Z_NULL &&
697 state->head->extra != Z_NULL) {
720 if (state->head != Z_NULL &&
721 state->head->name != Z_NULL &&
731 else if (state->head != Z_NULL)
732 state->head->name = Z_NULL;
742 if (state->head != Z_NULL &&
743 state->head->comment != Z_NULL &&
753 else if (state->head != Z_NULL)
754 state->head->comment = Z_NULL;
767 if (state->head != Z_NULL) {
771 strm->adler = state->check = crc32(0L, Z_NULL, 0);
786 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1186 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1189 if (state->window != Z_NULL) ZFREE(strm, state->window);
1191 strm->state = Z_NULL;
1205 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1212 id = adler32(0L, Z_NULL, 0);
1245 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1298 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1345 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1360 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL ||
1368 if (copy == Z_NULL) return Z_MEM_ERROR;
1369 window = Z_NULL;
1370 if (state->window != Z_NULL) {
1373 if (window == Z_NULL) {
1388 if (window != Z_NULL) {