Searched refs:Z_NULL (Results 1 - 8 of 8) sorted by relevance

/barrelfish-master/lib/zlib/
H A Dinflate.c78 * - 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; /* i
[all...]
H A Ddeflate.c236 if (version == Z_NULL || version[0] != my_version[0] ||
240 if (strm == Z_NULL) return Z_STREAM_ERROR;
242 strm->msg = Z_NULL;
272 if (s == Z_NULL) return Z_MEM_ERROR;
277 s->gzhead = Z_NULL;
297 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
298 s->pending_buf == Z_NULL) {
325 if (strm == Z_NULL || str
[all...]
H A Dgzio.c106 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) {
[all...]
H A Dinfback.c23 Z_NULL to use the library memory allocation functions.
37 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
40 if (strm == Z_NULL || window == Z_NULL ||
43 strm->msg = Z_NULL; /* in case we return an error */
51 if (state == Z_NULL) return Z_MEM_ERROR;
154 next = Z_NULL; \
234 Z_BUF_ERROR. strm->next_in can be checked for Z_NULL to see whether it
239 are not correct, i.e. strm is Z_NULL or the state was not initialized.
264 if (strm == Z_NULL || str
[all...]
H A Dadler32.c81 if (buf == Z_NULL)
H A Dcrc32.c224 if (buf == Z_NULL) return 0UL;
/barrelfish-master/lib/openssl-1.0.0d/crypto/comp/
H A Dc_zlib.c150 state->istream.opaque = Z_NULL;
151 state->istream.next_in = Z_NULL;
152 state->istream.next_out = Z_NULL;
162 state->ostream.opaque = Z_NULL;
163 state->ostream.next_in = Z_NULL;
164 state->ostream.next_out = Z_NULL;
492 ctx->zin.zalloc = Z_NULL;
493 ctx->zin.zfree = Z_NULL;
498 ctx->zout.zalloc = Z_NULL;
499 ctx->zout.zfree = Z_NULL;
[all...]
/barrelfish-master/include/
H A Dzlib.h114 Bytef *extra; /* pointer to extra field or Z_NULL if none */
115 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */
117 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
119 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
140 zalloc must return Z_NULL if there is not enough memory for the object.
205 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
224 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
347 the caller. If next_in is not Z_NULL and avail_in is large enough (the exact
351 inflate. If zalloc and zfree are set to Z_NULL, inflateInit updates them to
678 caller must assure that, if not Z_NULL, nam
[all...]

Completed in 53 milliseconds