Home | History | Annotate | Download | only in zlib

Lines Matching refs:Z_NULL

78  * - Check next_in and next_out for Z_NULL on entry to inflate()
108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
111 strm->msg = Z_NULL;
118 state->head = Z_NULL;
133 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
149 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
168 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
170 state->window = Z_NULL;
188 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
191 if (strm == Z_NULL) return Z_STREAM_ERROR;
192 strm->msg = Z_NULL; /* in case we return an error */
209 if (state == Z_NULL) return Z_MEM_ERROR;
212 state->window = Z_NULL;
216 strm->state = Z_NULL;
236 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
388 if (state->window == Z_NULL) {
392 if (state->window == Z_NULL) return 1;
632 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL ||
633 (strm->next_in == Z_NULL && strm->avail_in != 0))
652 state->check = crc32(0L, Z_NULL, 0);
659 if (state->head != Z_NULL)
686 strm->adler = state->check = adler32(0L, Z_NULL, 0);
704 if (state->head != Z_NULL)
711 if (state->head != Z_NULL)
718 if (state->head != Z_NULL) {
729 if (state->head != Z_NULL)
734 else if (state->head != Z_NULL)
735 state->head->extra = Z_NULL;
742 if (state->head != Z_NULL &&
743 state->head->extra != Z_NULL) {
765 if (state->head != Z_NULL &&
766 state->head->name != Z_NULL &&
776 else if (state->head != Z_NULL)
777 state->head->name = Z_NULL;
786 if (state->head != Z_NULL &&
787 state->head->comment != Z_NULL &&
797 else if (state->head != Z_NULL)
798 state->head->comment = Z_NULL;
810 if (state->head != Z_NULL) {
814 strm->adler = state->check = crc32(0L, Z_NULL, 0);
828 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1262 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1265 if (state->window != Z_NULL) ZFREE(strm, state->window);
1267 strm->state = Z_NULL;
1284 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1291 id = adler32(0L, Z_NULL, 0);
1322 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1375 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1422 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1437 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL ||
1445 if (copy == Z_NULL) return Z_MEM_ERROR;
1446 window = Z_NULL;
1447 if (state->window != Z_NULL) {
1450 if (window == Z_NULL) {
1465 if (window != Z_NULL) {
1480 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1496 if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;