Home
last modified time | relevance | path

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

/xnu-11215/libkern/zlib/
H A Dinflate.c136 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset()
139 strm->msg = Z_NULL; in inflateReset()
145 state->head = Z_NULL; in inflateReset()
161 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflatePrime()
600 if (strm == Z_NULL || strm->state == Z_NULL || strm->next_out == Z_NULL || in inflate()
1221 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSetDictionary()
1260 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateGetHeader()
1311 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSync()
1358 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateSyncPoint()
1372 if (dest == Z_NULL || source == Z_NULL || source->state == Z_NULL || in inflateCopy()
[all …]
H A Ddeflate.c317 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL || in deflateInit2_()
343 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL || in deflateSetDictionary()
395 if (strm == Z_NULL || strm->state == Z_NULL || in deflateReset()
431 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in deflateSetHeader()
441 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in deflatePrime()
455 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in deflateParams()
490 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in deflateTune()
527 if (strm == Z_NULL || strm->state == Z_NULL) in deflateBound()
587 if (strm == Z_NULL || strm->state == Z_NULL || in deflate()
933 if (source == Z_NULL || dest == Z_NULL || source->state == Z_NULL) { in deflateCopy()
[all …]
H A Dinfback.c62 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateBackInit_()
65 if (strm == Z_NULL || window == Z_NULL || in inflateBackInit_()
68 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_()
78 if (state == Z_NULL) return Z_MEM_ERROR; in inflateBackInit_()
181 next = Z_NULL; \
288 if (strm == Z_NULL || strm->state == Z_NULL) in inflateBack()
293 strm->msg = Z_NULL; in inflateBack()
298 have = next != Z_NULL ? strm->avail_in : 0; in inflateBack()
642 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) in inflateBackEnd()
645 strm->state = Z_NULL; in inflateBackEnd()
H A Dadler32.c112 if (buf == Z_NULL) in adler32()
H A Dz_crc32.c251 if (buf == Z_NULL) return 0UL; in z_crc32()
/xnu-11215/libkern/libkern/
H A Dzlib.h234 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
/xnu-11215/osfmk/kern/
H A Dkern_cdata.c450 result = Z_NULL; in kcdata_compress_zalloc()