Lines Matching refs:Z_NULL
108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
111 strm->msg = Z_NULL;
117 state->head = Z_NULL;
138 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
157 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
159 state->window = Z_NULL;
177 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
180 if (strm == Z_NULL) return Z_STREAM_ERROR;
181 strm->msg = Z_NULL; /* in case we return an error */
189 if (state == Z_NULL) return Z_MEM_ERROR;
192 state->window = Z_NULL;
196 strm->state = Z_NULL;
216 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
368 if (state->window == Z_NULL) {
372 if (state->window == Z_NULL) return 1;
612 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL ||
613 (strm->next_in == Z_NULL && strm->avail_in != 0))
632 state->check = crc32(0L, Z_NULL, 0);
639 if (state->head != Z_NULL)
666 strm->adler = state->check = adler32(0L, Z_NULL, 0);
684 if (state->head != Z_NULL)
691 if (state->head != Z_NULL)
698 if (state->head != Z_NULL) {
709 if (state->head != Z_NULL)
714 else if (state->head != Z_NULL)
715 state->head->extra = Z_NULL;
722 if (state->head != Z_NULL &&
723 state->head->extra != Z_NULL) {
745 if (state->head != Z_NULL &&
746 state->head->name != Z_NULL &&
756 else if (state->head != Z_NULL)
757 state->head->name = Z_NULL;
766 if (state->head != Z_NULL &&
767 state->head->comment != Z_NULL &&
777 else if (state->head != Z_NULL)
778 state->head->comment = Z_NULL;
790 if (state->head != Z_NULL) {
794 strm->adler = state->check = crc32(0L, Z_NULL, 0);
808 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1242 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1245 if (state->window != Z_NULL) ZFREE(strm, state->window);
1247 strm->state = Z_NULL;
1261 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1268 id = adler32(0L, Z_NULL, 0);
1301 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1354 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1401 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1416 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL ||
1424 if (copy == Z_NULL) return Z_MEM_ERROR;
1425 window = Z_NULL;
1426 if (state->window != Z_NULL) {
1429 if (window == Z_NULL) {
1444 if (window != Z_NULL) {
1459 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1475 if (strm == Z_NULL || strm->state == Z_NULL)