Lines Matching refs:Z_NULL
102 * - Check next_in and next_out for Z_NULL on entry to inflate()
132 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
135 strm->msg = Z_NULL;
141 state->head = Z_NULL;
159 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
176 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
179 if (strm == Z_NULL) return Z_STREAM_ERROR;
180 strm->msg = Z_NULL; /* in case we return an error */
188 if (state == Z_NULL) return Z_MEM_ERROR;
203 strm->state = Z_NULL;
207 state->window = Z_NULL;
357 if (state->window == Z_NULL) {
361 if (state->window == Z_NULL) return 1;
601 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL ||
602 (strm->next_in == Z_NULL && strm->avail_in != 0))
621 state->check = crc32(0L, Z_NULL, 0);
628 if (state->head != Z_NULL)
653 strm->adler = state->check = adler32(0L, Z_NULL, 0);
671 if (state->head != Z_NULL)
678 if (state->head != Z_NULL)
685 if (state->head != Z_NULL) {
696 if (state->head != Z_NULL)
701 else if (state->head != Z_NULL)
702 state->head->extra = Z_NULL;
709 if (state->head != Z_NULL &&
710 state->head->extra != Z_NULL) {
732 if (state->head != Z_NULL &&
733 state->head->name != Z_NULL &&
743 else if (state->head != Z_NULL)
744 state->head->name = Z_NULL;
753 if (state->head != Z_NULL &&
754 state->head->comment != Z_NULL &&
764 else if (state->head != Z_NULL)
765 state->head->comment = Z_NULL;
777 if (state->head != Z_NULL) {
781 strm->adler = state->check = crc32(0L, Z_NULL, 0);
795 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1183 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1186 if (state->window != Z_NULL) ZFREE(strm, state->window);
1188 strm->state = Z_NULL;
1202 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1209 id = adler32(0L, Z_NULL, 0);
1242 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1295 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1342 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1357 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL ||
1365 if (copy == Z_NULL) return Z_MEM_ERROR;
1366 window = Z_NULL;
1367 if (state->window != Z_NULL) {
1370 if (window == Z_NULL) {
1385 if (window != Z_NULL) {