Home
last modified time | relevance | path

Searched refs:Z_NULL (Results 1 – 15 of 15) sorted by relevance

/illumos-gate/usr/src/contrib/zlib/
H A Dinflate.c108 if (strm == Z_NULL || in inflateStateCheck()
112 if (state == Z_NULL || state->strm != strm || in inflateStateCheck()
125 strm->msg = Z_NULL; in inflateResetKeep()
133 state->head = Z_NULL; in inflateResetKeep()
180 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2()
182 state->window = Z_NULL; in inflateReset2()
197 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
200 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
201 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
218 if (state == Z_NULL) return Z_MEM_ERROR; in inflateInit2_()
[all …]
H A Ddeflate.c256 if (version == Z_NULL || version[0] != my_version[0] ||
260 if (strm == Z_NULL) return Z_STREAM_ERROR;
262 strm->msg = Z_NULL;
301 if (s == Z_NULL) return Z_MEM_ERROR;
307 s->gzhead = Z_NULL;
367 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
368 s->pending_buf == Z_NULL) {
395 if (strm == Z_NULL ||
399 if (s == Z_NULL || s->strm != strm || (s->status != INIT_STATE &&
425 if (deflateStateCheck(strm) || dictionary == Z_NULL)
[all …]
H A Dinfback.c33 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateBackInit_()
36 if (strm == Z_NULL || window == Z_NULL || in inflateBackInit_()
39 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_()
56 if (state == Z_NULL) return Z_MEM_ERROR; in inflateBackInit_()
158 next = Z_NULL; \
264 if (strm == Z_NULL || strm->state == Z_NULL) in inflateBack()
269 strm->msg = Z_NULL; in inflateBack()
274 have = next != Z_NULL ? strm->avail_in : 0; in inflateBack()
624 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) in inflateBackEnd()
627 strm->state = Z_NULL; in inflateBackEnd()
H A Dadler32.c82 if (buf == Z_NULL) in adler32_z()
H A Dcrc32.c619 if (buf == Z_NULL) return 0;
734 if (buf == Z_NULL) return 0; in crc32_z()
H A Dzlib.h212 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
H A DChangeLog271 - Permit Z_NULL arguments to deflatePending
588 - Change NULL's to Z_NULL's in deflate.c and in comments in zlib.h
950 - Compare function pointers with 0, not with NULL or Z_NULL [Truta]
1311 - work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c870 if (version == Z_NULL || version[0] != my_version[0] ||
874 if (strm == Z_NULL)
877 strm->msg = Z_NULL;
879 if (strm->zalloc == Z_NULL) {
883 if (strm->zfree == Z_NULL) strm->zfree = zcfree;
901 if (s == Z_NULL)
926 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
927 s->pending_buf == Z_NULL) {
955 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL)
999 if (strm == Z_NULL || strm->state == Z_NULL ||
[all …]
H A Dzlib.h502 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Dratz.c573 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
1078 if (buf == Z_NULL) return 0;
1185 if (buf == Z_NULL)
2334 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
2337 strm->msg = Z_NULL;
2343 state->head = Z_NULL;
2361 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
2378 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
2381 if (strm == Z_NULL) return Z_STREAM_ERROR;
2382 strm->msg = Z_NULL; /* in case we return an error */
[all …]
/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;
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 || strm->state == Z_NULL ||
670 strm->zalloc == Z_NULL || strm->zfree == Z_NULL) return Z_STREAM_ERROR;
673 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */
737 if (strm == Z_NULL || state == Z_NULL) return Z_STREAM_ERROR;
739 if (strm->next_in == Z_NULL && strm->avail_in != 0) {
[all …]
H A Dzlib.h241 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
/illumos-gate/usr/src/boot/common/
H A Dgpt.c80 hdr->hdr_crc_table = crc32(0, Z_NULL, 0); in gptupdate()
83 hdr->hdr_crc_self = crc32(0, Z_NULL, 0); in gptupdate()
204 hdr->hdr_crc_self = crc32(0, Z_NULL, 0); in gptread_hdr()
271 hdr->hdr_crc_table = crc32(0, Z_NULL, 0); in gptbootconv()
274 hdr->hdr_crc_self = crc32(0, Z_NULL, 0); in gptbootconv()
H A Dpart.c190 hdr->hdr_crc_self = crc32(0, Z_NULL, 0); in gpt_checkhdr()
/illumos-gate/usr/src/common/pnglite/
H A Dpnglite.c119 calc_crc = crc32(0L, Z_NULL, 0); in png_read_ihdr()
329 calc_crc = crc32(0L, Z_NULL, 0); in png_read_idat()