Searched refs:Z_NULL (Results 1 – 7 of 7) sorted by relevance
136 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 …]
254 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 …]
62 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()
112 if (buf == Z_NULL) in adler32()
251 if (buf == Z_NULL) return 0UL; in z_crc32()
234 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
441 result = Z_NULL; in kcdata_compress_zalloc()