Home
last modified time | relevance | path

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

/xnu-8792.61.2/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()
176 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
179 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
180 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
190 if (state == Z_NULL) return Z_MEM_ERROR; in inflateInit2_()
205 strm->state = Z_NULL; in inflateInit2_()
209 state->window = Z_NULL; in inflateInit2_()
[all …]
H A Ddeflate.c254 if (version == Z_NULL || version[0] != my_version[0] || in deflateInit2_()
258 if (strm == Z_NULL) return Z_STREAM_ERROR; in deflateInit2_()
260 strm->msg = Z_NULL; in deflateInit2_()
292 if (s == Z_NULL) return Z_MEM_ERROR; in deflateInit2_()
297 s->gzhead = Z_NULL; in deflateInit2_()
317 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL || in deflateInit2_()
318 s->pending_buf == 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()
401 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */ in deflateReset()
[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-8792.61.2/libkern/libkern/
H A Dzlib.h234 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
/xnu-8792.61.2/osfmk/kern/
H A Dkern_cdata.c441 result = Z_NULL; in kcdata_compress_zalloc()