Home | History | Annotate | Download | only in zlib-1.2.3

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;
117 state->head = Z_NULL;
135 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
152 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
155 if (strm == Z_NULL) return Z_STREAM_ERROR;
156 strm->msg = Z_NULL; /* in case we return an error */
164 if (state == Z_NULL) return Z_MEM_ERROR;
179 strm->state = Z_NULL;
183 state->window = Z_NULL;
333 if (state->window == Z_NULL) {
337 if (state->window == Z_NULL) return 1;
577 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL ||
578 (strm->next_in == Z_NULL && strm->avail_in != 0))
597 state->check = crc32(0L, Z_NULL, 0);
604 if (state->head != Z_NULL)
629 strm->adler = state->check = adler32(0L, Z_NULL, 0);
647 if (state->head != Z_NULL)
654 if (state->head != Z_NULL)
661 if (state->head != Z_NULL) {
672 if (state->head != Z_NULL)
677 else if (state->head != Z_NULL)
678 state->head->extra = Z_NULL;
685 if (state->head != Z_NULL &&
686 state->head->extra != Z_NULL) {
708 if (state->head != Z_NULL &&
709 state->head->name != Z_NULL &&
719 else if (state->head != Z_NULL)
720 state->head->name = Z_NULL;
729 if (state->head != Z_NULL &&
730 state->head->comment != Z_NULL &&
740 else if (state->head != Z_NULL)
741 state->head->comment = Z_NULL;
753 if (state->head != Z_NULL) {
757 strm->adler = state->check = crc32(0L, Z_NULL, 0);
771 strm->adler = state->check = adler32(0L, Z_NULL, 0);
1159 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
1162 if (state->window != Z_NULL) ZFREE(strm, state->window);
1164 strm->state = Z_NULL;
1178 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1185 id = adler32(0L, Z_NULL, 0);
1218 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1271 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1318 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
1333 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL ||
1341 if (copy == Z_NULL) return Z_MEM_ERROR;
1342 window = Z_NULL;
1343 if (state->window != Z_NULL) {
1346 if (window == Z_NULL) {
1361 if (window != Z_NULL) {