Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/zlib/
Dinflate.c109 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 && state->wbits != (unsigned)windowBits) {
171 state->window = Z_NULL;
189 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
192 if (strm == Z_NULL) return Z_STREAM_ERROR;
193 strm->msg = Z_NULL; /* in case we return an error */
[all …]
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 || strm->state == Z_NULL || dictionary == Z_NULL)
397 if (strm == Z_NULL || strm->state == Z_NULL ||
403 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */
[all …]
Dinfback.c37 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; \
273 if (strm == Z_NULL || strm->state == Z_NULL)
278 strm->msg = Z_NULL;
283 have = next != Z_NULL ? strm->avail_in : 0;
634 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
637 strm->state = Z_NULL;
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;
Dgzread.c107 state->strm.zalloc = Z_NULL;
108 state->strm.zfree = Z_NULL;
109 state->strm.opaque = Z_NULL;
111 state->strm.next_in = Z_NULL;
Dexample.c62 q = Z_NULL;
68 q = Z_NULL; in myfree()
570 if (compr == Z_NULL || uncompr == Z_NULL) {
Dgzwrite.c39 strm->zalloc = Z_NULL;
40 strm->zfree = Z_NULL;
41 strm->opaque = Z_NULL;
Dadler32.c89 if (buf == Z_NULL)
Dcrc32.c209 if (buf == Z_NULL) return 0UL;
Dzlib.h208 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
DChangeLog165 - Permit Z_NULL arguments to deflatePending
482 - Change NULL's to Z_NULL's in deflate.c and in comments in zlib.h
844 - Compare function pointers with 0, not with NULL or Z_NULL [Truta]
1205 - work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/zlib/
Dinflate.c108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
111 strm->msg = Z_NULL;
117 state->head = Z_NULL;
135 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
152 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
155 if (strm == Z_NULL) return Z_STREAM_ERROR;
156 strm->msg = Z_NULL; /* in case we return an error */
164 if (state == Z_NULL) return Z_MEM_ERROR;
179 strm->state = Z_NULL;
183 state->window = Z_NULL;
[all …]
Ddeflate.c236 if (version == Z_NULL || version[0] != my_version[0] ||
240 if (strm == Z_NULL) return Z_STREAM_ERROR;
242 strm->msg = Z_NULL;
272 if (s == Z_NULL) return Z_MEM_ERROR;
277 s->gzhead = Z_NULL;
297 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
298 s->pending_buf == Z_NULL) {
325 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL ||
362 if (strm == Z_NULL || strm->state == Z_NULL ||
368 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */
[all …]
Dinfback.c37 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 */
51 if (state == Z_NULL) return Z_MEM_ERROR;
154 next = Z_NULL; \
264 if (strm == Z_NULL || strm->state == Z_NULL)
269 strm->msg = Z_NULL;
274 have = next != Z_NULL ? strm->avail_in : 0;
617 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
620 strm->state = Z_NULL;
Dgzio.c106 if (!path || !mode) return Z_NULL;
109 if (!s) return Z_NULL;
114 s->stream.next_in = s->inbuf = Z_NULL;
115 s->stream.next_out = s->outbuf = Z_NULL;
123 s->crc = crc32(0L, Z_NULL, 0);
129 return destroy(s), (gzFile)Z_NULL;
149 if (s->mode == '\0') return destroy(s), (gzFile)Z_NULL;
161 if (err != Z_OK || s->outbuf == Z_NULL) {
162 return destroy(s), (gzFile)Z_NULL;
174 if (err != Z_OK || s->inbuf == Z_NULL) {
[all …]
Dadler32.c81 if (buf == Z_NULL)
Dexample.c539 if (compr == Z_NULL || uncompr == Z_NULL) {
Dcrc32.c224 if (buf == Z_NULL) return 0UL;
Dzlib.h205 #define Z_NULL 0 /* for initializing zalloc, zfree, opaque */ macro
DChangeLog227 - Compare function pointers with 0, not with NULL or Z_NULL [Truta]
588 - work around compiler bug on Atari (cast Z_NULL in call of s->checkfn)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzlibmodule.c75 const char *zmsg = Z_NULL; in zlib_error()
80 if (zmsg == Z_NULL) in zlib_error()
82 if (zmsg == Z_NULL) { in zlib_error()
95 if (zmsg == Z_NULL) in zlib_error()
162 zst.zfree = (free_func)Z_NULL; in PyZlib_compress()
238 zst.zfree = (free_func)Z_NULL; in PyZlib_decompress()
323 self->zst.zfree = (free_func)Z_NULL; in PyZlib_compressobj()
359 self->zst.zfree = (free_func)Z_NULL; in PyZlib_decompressobj()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dzlibmodule.c76 if (zmsg == Z_NULL) { in zlib_error()
89 if (zmsg == Z_NULL) in zlib_error()
156 zst.zfree = (free_func)Z_NULL; in PyZlib_compress()
232 zst.zfree = (free_func)Z_NULL; in PyZlib_decompress()
317 self->zst.zfree = (free_func)Z_NULL; in PyZlib_compressobj()
353 self->zst.zfree = (free_func)Z_NULL; in PyZlib_decompressobj()