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

12

/freebsd-10.1-release/lib/libz/
H A Dinflate.c78 * - Check next_in and next_out for Z_NULL on entry to inflate()
109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
112 strm->msg = Z_NULL;
119 state->head = Z_NULL;
134 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
150 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
169 if (state->window != Z_NULL
[all...]
H A Ddeflate.c233 if (version == Z_NULL || version[0] != my_version[0] ||
237 if (strm == Z_NULL) return Z_STREAM_ERROR;
239 strm->msg = Z_NULL;
278 if (s == Z_NULL) return Z_MEM_ERROR;
283 s->gzhead = Z_NULL;
305 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
306 s->pending_buf == Z_NULL) {
334 if (strm == Z_NULL || str
[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 */
60 if (state == Z_NULL) return Z_MEM_ERROR;
163 next = Z_NULL; \
243 Z_BUF_ERROR. strm->next_in can be checked for Z_NULL to see whether it
248 are not correct, i.e. strm is Z_NULL or the state was not initialized.
273 if (strm == Z_NULL || str
[all...]
H A Dgzread.c110 state->strm.zalloc = Z_NULL;
111 state->strm.zfree = Z_NULL;
112 state->strm.opaque = Z_NULL;
114 state->strm.next_in = Z_NULL;
H A Dadler32.c89 if (buf == Z_NULL)
H A Dgzwrite.c42 strm->zalloc = Z_NULL;
43 strm->zfree = Z_NULL;
44 strm->opaque = Z_NULL;
H A Dcrc32.c209 if (buf == Z_NULL) return 0UL;
/freebsd-10.1-release/lib/libz/test/
H A Dinfcover.c50 strm members to Z_NULL to use the default memory
231 strm->opaque = Z_NULL;
232 strm->zalloc = Z_NULL;
233 strm->zfree = Z_NULL;
295 strm.next_in = Z_NULL;
357 strm.next_in = Z_NULL;
362 ret = inflateSetDictionary(&strm, Z_NULL, 0);
375 strm.next_in = Z_NULL;
381 strm.next_in = Z_NULL;
394 ret = inflate(Z_NULL,
[all...]
H A Dminigzip.c159 q = Z_NULL;
166 q = Z_NULL;
210 gz->strm.opaque = Z_NULL;
215 gz->strm.avail_in = Z_NULL;
307 strm->next_in = Z_NULL;
H A Dexample.c62 q = Z_NULL;
68 q = Z_NULL;
570 if (compr == Z_NULL || uncompr == Z_NULL) {
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinflate.c85 * - Check next_in and next_out for Z_NULL on entry to inflate()
115 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
118 strm->msg = Z_NULL;
124 state->head = Z_NULL;
142 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
159 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
162 if (strm == Z_NULL) return Z_STREAM_ERROR;
163 strm->msg = Z_NULL; /* i
[all...]
H A Ddeflate.c242 if (version == Z_NULL || version[0] != my_version[0] ||
246 if (strm == Z_NULL) return Z_STREAM_ERROR;
248 strm->msg = Z_NULL;
278 if (s == Z_NULL) return Z_MEM_ERROR;
283 s->gzhead = Z_NULL;
303 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
304 s->pending_buf == Z_NULL) {
331 if (strm == Z_NULL || str
[all...]
H A Dadler32.c81 if (buf == Z_NULL)
H A Dopensolaris_crc32.c229 if (buf == Z_NULL) return 0UL;
H A Dzlib.h116 Bytef *extra; /* pointer to extra field or Z_NULL if none */
117 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */
119 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
121 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
142 zalloc must return Z_NULL if there is not enough memory for the object.
207 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
226 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
349 the caller. If next_in is not Z_NULL and avail_in is large enough (the exact
353 inflate. If zalloc and zfree are set to Z_NULL, inflateInit updates them to
680 caller must assure that, if not Z_NULL, nam
[all...]
/freebsd-10.1-release/sys/kern/
H A Dkern_gzio.c104 if (!path || !mode) return Z_NULL;
107 if (!s) return Z_NULL;
112 s->stream.next_in = s->inbuf = Z_NULL;
113 s->stream.next_out = s->outbuf = Z_NULL;
126 return destroy(s), (gzFile)Z_NULL;
147 return destroy(s), (gzFile)Z_NULL;
155 if (err != Z_OK || s->outbuf == Z_NULL) {
156 return destroy(s), (gzFile)Z_NULL;
172 return destroy(s), (gzFile)Z_NULL;
/freebsd-10.1-release/sys/net/
H A Dzlib.c765 if (version == Z_NULL || version[0] != my_version[0] ||
769 if (strm == Z_NULL) return Z_STREAM_ERROR;
771 strm->msg = Z_NULL;
773 if (strm->zalloc == Z_NULL) {
777 if (strm->zfree == Z_NULL) strm->zfree = zcfree;
792 if (s == Z_NULL) return Z_MEM_ERROR;
816 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
817 s->pending_buf == Z_NULL) {
[all...]
H A Dzlib.h313 zalloc must return Z_NULL if there is not enough memory for the object.
372 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
391 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
503 zalloc and zfree are set to Z_NULL, inflateInit updates them to use default
956 uLong adler = adler32(0L, Z_NULL, 0);
973 uLong crc = crc32(0L, Z_NULL, 0);
/freebsd-10.1-release/crypto/openssl/crypto/comp/
H A Dc_zlib.c152 state->istream.opaque = Z_NULL;
153 state->istream.next_in = Z_NULL;
154 state->istream.next_out = Z_NULL;
163 state->ostream.opaque = Z_NULL;
164 state->ostream.next_in = Z_NULL;
165 state->ostream.next_out = Z_NULL;
475 ctx->zin.zalloc = Z_NULL;
476 ctx->zin.zfree = Z_NULL;
481 ctx->zout.zalloc = Z_NULL;
482 ctx->zout.zfree = Z_NULL;
[all...]
/freebsd-10.1-release/contrib/file/src/
H A Dcompress.c352 z.zalloc = Z_NULL;
353 z.zfree = Z_NULL;
354 z.opaque = Z_NULL;
/freebsd-10.1-release/tools/tools/net80211/w00t/libw00t/
H A Dw00t.c310 uLong crc = crc32(0L, Z_NULL, 0);
338 uLong crc = crc32(0L, Z_NULL, 0);
/freebsd-10.1-release/tools/tools/net80211/w00t/prga/
H A Dprga.c265 uLong crc = crc32(0L, Z_NULL, 0);
410 uLong crc = crc32(0L, Z_NULL, 0);
515 uLong crc = crc32(0L, Z_NULL, 0);
/freebsd-10.1-release/tools/tools/net80211/w00t/expand/
H A Dexpand.c186 uLong crc = crc32(0L, Z_NULL, 0);
286 crc = crc32(0L, Z_NULL, 0);
/freebsd-10.1-release/sys/opencrypto/
H A Dcryptodeflate.c120 zbuf.opaque = Z_NULL;
/freebsd-10.1-release/usr.bin/gzip/
H A Dgzip.c577 z.zalloc = Z_NULL;
578 z.zfree = Z_NULL;
617 crc = crc32(0L, Z_NULL, 0);
821 crc = crc32(0L, Z_NULL, 0);

Completed in 299 milliseconds

12