Home
last modified time | relevance | path

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

123

/external/pdfium/third_party/zlib_v128/
Dinflate.c109 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateResetKeep()
112 strm->msg = Z_NULL; in inflateResetKeep()
119 state->head = Z_NULL; in inflateResetKeep()
134 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset()
150 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset2()
169 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2()
171 state->window = Z_NULL; in inflateReset2()
189 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
192 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
193 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
[all …]
Ddeflate.c232 if (version == Z_NULL || version[0] != my_version[0] || in deflateInit2_()
236 if (strm == Z_NULL) return Z_STREAM_ERROR; in deflateInit2_()
238 strm->msg = Z_NULL; in deflateInit2_()
277 if (s == Z_NULL) return Z_MEM_ERROR; in deflateInit2_()
282 s->gzhead = Z_NULL; in deflateInit2_()
304 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL || in deflateInit2_()
305 s->pending_buf == Z_NULL) { in deflateInit2_()
333 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL) in deflateSetDictionary()
396 if (strm == Z_NULL || strm->state == Z_NULL || in deflateResetKeep()
402 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */ in deflateResetKeep()
[all …]
Dinfback.c37 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateBackInit_()
40 if (strm == Z_NULL || window == Z_NULL || in inflateBackInit_()
43 strm->msg = Z_NULL; /* in case we return an error */ in inflateBackInit_()
60 if (state == Z_NULL) return Z_MEM_ERROR; in inflateBackInit_()
163 next = Z_NULL; \
273 if (strm == Z_NULL || strm->state == Z_NULL) in inflateBack()
278 strm->msg = Z_NULL; in inflateBack()
283 have = next != Z_NULL ? strm->avail_in : 0; in inflateBack()
634 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) in inflateBackEnd()
637 strm->state = Z_NULL; in inflateBackEnd()
/external/zlib/src/
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;
/external/opencv3/3rdparty/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;
/external/freetype/src/gzip/
Dinflate.c57 if (z == Z_NULL || z->state == Z_NULL) in inflateReset()
60 z->msg = Z_NULL; in inflateReset()
62 inflate_blocks_reset(z->state->blocks, z, Z_NULL); in inflateReset()
71 if (z == Z_NULL || z->state == Z_NULL || z->zfree == Z_NULL) in inflateEnd()
73 if (z->state->blocks != Z_NULL) in inflateEnd()
76 z->state = Z_NULL; in inflateEnd()
88 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
93 if (z == Z_NULL) in inflateInit2_()
95 z->msg = Z_NULL; in inflateInit2_()
96 if (z->zalloc == Z_NULL) in inflateInit2_()
[all …]
Dinfblock.c72 if (c != Z_NULL) in inflate_blocks_reset()
82 if (s->checkfn != Z_NULL) in inflate_blocks_reset()
83 z->adler = s->check = (*s->checkfn)(0L, (const Bytef *)Z_NULL, 0); in inflate_blocks_reset()
96 (z,1,sizeof(struct inflate_blocks_state))) == Z_NULL) in inflate_blocks_new()
99 (inflate_huft *)ZALLOC(z, sizeof(inflate_huft), MANY)) == Z_NULL) in inflate_blocks_new()
102 return Z_NULL; in inflate_blocks_new()
104 if ((s->window = (Bytef *)ZALLOC(z, 1, w)) == Z_NULL) in inflate_blocks_new()
108 return Z_NULL; in inflate_blocks_new()
114 inflate_blocks_reset(s, z, Z_NULL); in inflate_blocks_new()
162 if (s->sub.decode.codes == Z_NULL) in inflate_blocks()
[all …]
Dinftrees.c149 *t = (inflate_huft *)Z_NULL; in huft_build()
203 u[0] = (inflate_huft *)Z_NULL; /* just to keep compilers happy */ in huft_build()
204 q = (inflate_huft *)Z_NULL; /* ditto */ in huft_build()
311 if ((v = (uIntf*)ZALLOC(z, 19, sizeof(uInt))) == Z_NULL) in inflate_trees_bits()
313 r = huft_build(c, 19, 19, (uIntf*)Z_NULL, (uIntf*)Z_NULL, in inflate_trees_bits()
344 if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL) in inflate_trees_dynamic()
427 if ((c = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL) in inflate_trees_fixed()
429 if ((v = (uIntf*)ZALLOC(z, 288, sizeof(uInt))) == Z_NULL) in inflate_trees_fixed()
Dinfutil.c45 if (s->checkfn != Z_NULL) in inflate_flush()
71 if (s->checkfn != Z_NULL) in inflate_flush()
/external/zlib/src/test/
Dinfcover.c231 strm->opaque = Z_NULL; in mem_done()
232 strm->zalloc = Z_NULL; in mem_done()
233 strm->zfree = Z_NULL; in mem_done()
295 strm.next_in = Z_NULL; in inf()
357 strm.next_in = Z_NULL; in cover_support()
362 ret = inflateSetDictionary(&strm, Z_NULL, 0); in cover_support()
375 strm.next_in = Z_NULL; in cover_support()
381 strm.next_in = Z_NULL; in cover_support()
394 ret = inflate(Z_NULL, 0); assert(ret == Z_STREAM_ERROR); in cover_wrap()
395 ret = inflateEnd(Z_NULL); assert(ret == Z_STREAM_ERROR); in cover_wrap()
[all …]
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;
/external/zlib/src/examples/
Dzpipe.c45 strm.zalloc = Z_NULL; in def()
46 strm.zfree = Z_NULL; in def()
47 strm.opaque = Z_NULL; in def()
101 strm.zalloc = Z_NULL; in inf()
102 strm.zfree = Z_NULL; in inf()
103 strm.opaque = Z_NULL; in inf()
105 strm.next_in = Z_NULL; in inf()
Dfitblk.c148 def.zalloc = Z_NULL; in main()
149 def.zfree = Z_NULL; in main()
150 def.opaque = Z_NULL; in main()
180 inf.zalloc = Z_NULL; in main()
181 inf.zfree = Z_NULL; in main()
182 inf.opaque = Z_NULL; in main()
184 inf.next_in = Z_NULL; in main()
Dzran.c155 strm.zalloc = Z_NULL; in build_index()
156 strm.zfree = Z_NULL; in build_index()
157 strm.opaque = Z_NULL; in build_index()
159 strm.next_in = Z_NULL; in build_index()
269 strm.zalloc = Z_NULL; in extract()
270 strm.zfree = Z_NULL; in extract()
271 strm.opaque = Z_NULL; in extract()
273 strm.next_in = Z_NULL; in extract()
Dgun.c399 strm->next_in = Z_NULL; /* so Z_BUF_ERROR means EOF */ in gunpipe()
469 outd.crc = crc32(0L, Z_NULL, 0); in gunpipe()
479 strm->next_in = Z_NULL; /* so Z_BUF_ERROR means EOF */ in gunpipe()
608 if (strm->next_in != Z_NULL) { in gunzip()
640 strm.zalloc = Z_NULL; in main()
641 strm.zfree = Z_NULL; in main()
642 strm.opaque = Z_NULL; in main()
Dgzjoin.c268 *crc = crc32(0L, Z_NULL, 0); in gzinit()
300 strm.zalloc = Z_NULL; in gzcopy()
301 strm.zfree = Z_NULL; in gzcopy()
302 strm.opaque = Z_NULL; in gzcopy()
304 strm.next_in = Z_NULL; in gzcopy()
Dgzappend.c283 strm->zalloc = Z_NULL; in gzscan()
284 strm->zfree = Z_NULL; in gzscan()
285 strm->opaque = Z_NULL; in gzscan()
295 crc = crc32(0L, Z_NULL, 0); in gzscan()
/external/libmicrohttpd/src/microspdy/
Dcompression.c219 strm->zalloc = Z_NULL; in SPDYF_zlib_deflate_init()
220 strm->zfree = Z_NULL; in SPDYF_zlib_deflate_init()
221 strm->opaque = Z_NULL; in SPDYF_zlib_deflate_init()
324 strm->zalloc = Z_NULL; in SPDYF_zlib_inflate_init()
325 strm->zfree = Z_NULL; in SPDYF_zlib_inflate_init()
326 strm->opaque = Z_NULL; in SPDYF_zlib_inflate_init()
328 strm->next_in = Z_NULL; in SPDYF_zlib_inflate_init()
/external/zlib/src/contrib/infback9/
Dinfback9.c27 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
30 if (strm == Z_NULL || window == Z_NULL)
32 strm->msg = Z_NULL; /* in case we return an error */
40 if (state == Z_NULL) return Z_MEM_ERROR;
130 next = Z_NULL; \
253 if (strm == Z_NULL || strm->state == Z_NULL)
258 strm->msg = Z_NULL;
264 have = next != Z_NULL ? strm->avail_in : 0;
269 lencode = Z_NULL;
270 distcode = Z_NULL;
[all …]
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc52 zcontext_.zalloc = Z_NULL; in GzipInputStream()
53 zcontext_.zfree = Z_NULL; in GzipInputStream()
54 zcontext_.opaque = Z_NULL; in GzipInputStream()
212 zcontext_.zalloc = Z_NULL; in Init()
213 zcontext_.zfree = Z_NULL; in Init()
214 zcontext_.opaque = Z_NULL; in Init()
/external/libvncserver/libvncserver/
Dzlib.c168 cl->compStream.zalloc = Z_NULL; in rfbSendOneRectEncodingZlib()
169 cl->compStream.zfree = Z_NULL; in rfbSendOneRectEncodingZlib()
170 cl->compStream.opaque = Z_NULL; in rfbSendOneRectEncodingZlib()

123