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

/illumos-gate/usr/src/boot/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;
H A Dzlib.h117 Bytef *extra; /* pointer to extra field or Z_NULL if none */
118 uInt extra_len; /* extra field length (valid if extra != Z_NULL) */
120 Bytef *name; /* pointer to zero-terminated file name or Z_NULL */
122 Bytef *comment; /* pointer to zero-terminated comment or Z_NULL */
143 zalloc must return Z_NULL if there is not enough memory for the object.
208 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
228 zalloc and zfree are set to Z_NULL, deflateInit updates them to use default
346 if next_in or next_out was Z_NULL), Z_BUF_ERROR if no progress is possible
372 the caller. If next_in is not Z_NULL and avail_in is large enough (the
376 inflate. If zalloc and zfree are set to Z_NULL, inflateIni
[all...]
/illumos-gate/usr/src/boot/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) {
/illumos-gate/usr/src/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 Dcrc32.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...]
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c872 if (version == Z_NULL || version[0] != my_version[0] ||
876 if (strm == Z_NULL)
879 strm->msg = Z_NULL;
881 if (strm->zalloc == Z_NULL) {
885 if (strm->zfree == Z_NULL) strm->zfree = zcfree;
903 if (s == Z_NULL)
928 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
929 s->pending_buf == Z_NULL) {
[all...]
H A Dzlib.h442 * zalloc must return Z_NULL if there is not enough memory for the
504 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
525 * the caller. If zalloc and zfree are set to Z_NULL, deflateInit
648 * If zalloc and zfree are set to Z_NULL, inflateInit updates them to
1142 * uLong adler = adler32(0L, Z_NULL, 0);
1158 * uLong crc = crc32(0L, Z_NULL, 0);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c602 if (strm == Z_NULL) return Z_STREAM_ERROR;
604 strm->msg = Z_NULL;
605 /* if (strm->zalloc == Z_NULL) strm->zalloc = zcalloc; */
606 /* if (strm->zfree == Z_NULL) strm->zfree = zcfree; */
619 if (s == Z_NULL) return Z_MEM_ERROR;
641 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
642 s->pending_buf == Z_NULL) {
669 if (strm == Z_NULL || str
[all...]
H A Dzlib.h191 zalloc must return Z_NULL if there is not enough memory for the object.
241 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
255 If zalloc and zfree are set to Z_NULL, deflateInit updates them to
363 zfree are set to Z_NULL, inflateInit updates them to use default allocation
619 uLong adler = adler32(0L, Z_NULL, 0);

Completed in 149 milliseconds