Lines Matching refs:Z_NULL
130 if (!path || !mode) return Z_NULL;
133 if (!s) return Z_NULL;
138 s->stream.next_in = s->inbuf = Z_NULL;
139 s->stream.next_out = s->outbuf = Z_NULL;
147 s->crc = crc32(0L, Z_NULL, 0);
153 return destroy(s), (gzFile)Z_NULL;
173 if (s->mode == '\0') return destroy(s), (gzFile)Z_NULL;
185 if (err != Z_OK || s->outbuf == Z_NULL) {
186 return destroy(s), (gzFile)Z_NULL;
198 if (err != Z_OK || s->inbuf == Z_NULL) {
199 return destroy(s), (gzFile)Z_NULL;
208 return destroy(s), (gzFile)Z_NULL;
249 if (fd < 0) return (gzFile)Z_NULL;
508 s->crc = crc32(0L, Z_NULL, 0);
560 gzgets returns buf, or Z_NULL in case of error.
570 if (buf == Z_NULL || len <= 0) return Z_NULL;
574 return b == buf && len > 0 ? Z_NULL : b;
813 if (s->inbuf == Z_NULL) {
815 if (s->inbuf == Z_NULL) return -1L;
857 if (offset != 0 && s->outbuf == Z_NULL) {
859 if (s->outbuf == Z_NULL) return -1L;
893 s->crc = crc32(0L, Z_NULL, 0);
1031 if (s->msg == Z_NULL) return (const char*)ERR_MSG(Z_MEM_ERROR);