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

Lines Matching refs:Z_NULL

106     if (!path || !mode) return Z_NULL;
109 if (!s) return Z_NULL;
114 s->stream.next_in = s->inbuf = Z_NULL;
115 s->stream.next_out = s->outbuf = Z_NULL;
123 s->crc = crc32(0L, Z_NULL, 0);
129 return destroy(s), (gzFile)Z_NULL;
149 if (s->mode == '\0') return destroy(s), (gzFile)Z_NULL;
161 if (err != Z_OK || s->outbuf == Z_NULL) {
162 return destroy(s), (gzFile)Z_NULL;
174 if (err != Z_OK || s->inbuf == Z_NULL) {
175 return destroy(s), (gzFile)Z_NULL;
184 return destroy(s), (gzFile)Z_NULL;
225 if (fd < 0) return (gzFile)Z_NULL;
484 s->crc = crc32(0L, Z_NULL, 0);
536 gzgets returns buf, or Z_NULL in case of error.
546 if (buf == Z_NULL || len <= 0) return Z_NULL;
550 return b == buf && len > 0 ? Z_NULL : b;
789 if (s->inbuf == Z_NULL) {
791 if (s->inbuf == Z_NULL) return -1L;
833 if (offset != 0 && s->outbuf == Z_NULL) {
835 if (s->outbuf == Z_NULL) return -1L;
869 s->crc = crc32(0L, Z_NULL, 0);
1007 if (s->msg == Z_NULL) return (const char*)ERR_MSG(Z_MEM_ERROR);