Lines Matching refs:Z_NULL

109     if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
112 strm->msg = Z_NULL;
119 state->head = Z_NULL;
134 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
150 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
169 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
171 state->window = Z_NULL;
189 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
192 if (strm == Z_NULL) return Z_STREAM_ERROR;
193 strm->msg = Z_NULL; /* in case we return an error */
210 if (state == Z_NULL) return Z_MEM_ERROR;
213 state->window = Z_NULL;
217 strm->state = Z_NULL;
237 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
390 if (state->window == Z_NULL) {
394 if (state->window == Z_NULL) return 1;
628 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL ||
629 (strm->next_in == Z_NULL && strm->avail_in != 0))
648 state->check = crc32(0L, Z_NULL, 0);
655 if (state->head != Z_NULL)
682 strm->adler = state->check = adler32(0L, Z_NULL, 0);
700 if (state->head != Z_NULL)
707 if (state->head != Z_NULL)
714 if (state->head != Z_NULL) {
725 if (state->head != Z_NULL)
730 else if (state->head != Z_NULL)
731 state->head->extra = Z_NULL;
738 if (state->head != Z_NULL &&
739 state->head->extra != Z_NULL) {
761 if (state->head != Z_NULL &&
762 state->head->name != Z_NULL &&
772 else if (state->head != Z_NULL)
773 state->head->name = Z_NULL;
782 if (state->head != Z_NULL &&
783 state->head->comment != Z_NULL &&
793 else if (state->head != Z_NULL)
794 state->head->comment = Z_NULL;
806 if (state->head != Z_NULL) {
810 strm->adler = state->check = crc32(0L, Z_NULL, 0);
824 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1258 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1261 if (state->window != Z_NULL) ZFREE(strm, state->window);
1263 strm->state = Z_NULL;
1276 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1280 if (state->whave && dictionary != Z_NULL) {
1286 if (dictLength != Z_NULL)
1301 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1308 dictid = adler32(0L, Z_NULL, 0);
1333 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1386 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1433 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1448 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL ||
1456 if (copy == Z_NULL) return Z_MEM_ERROR;
1457 window = Z_NULL;
1458 if (state->window != Z_NULL) {
1461 if (window == Z_NULL) {
1476 if (window != Z_NULL) {
1491 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1507 if (strm == Z_NULL || strm->state == Z_NULL)