Home
last modified time | relevance | path

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

123

/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 …]
/external/u-boot/lib/zlib/
Dinflate.c12 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; in inflateReset()
15 strm->msg = Z_NULL; in inflateReset()
21 state->head = Z_NULL; in inflateReset()
38 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
41 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
42 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
50 if (state == Z_NULL) return Z_MEM_ERROR; in inflateInit2_()
65 strm->state = Z_NULL; in inflateInit2_()
69 state->window = Z_NULL; in inflateInit2_()
108 if (state->window == Z_NULL) { in updatewindow()
[all …]
Ddeflate.c230 if (version == Z_NULL || version[0] != my_version[0] ||
234 if (strm == Z_NULL) return Z_STREAM_ERROR;
236 strm->msg = Z_NULL;
266 if (s == Z_NULL) return Z_MEM_ERROR;
271 s->gzhead = Z_NULL;
293 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
294 s->pending_buf == Z_NULL) {
321 if (strm == Z_NULL || strm->state == Z_NULL || dictionary == Z_NULL ||
358 if (strm == Z_NULL || strm->state == Z_NULL ||
364 strm->msg = Z_NULL; /* use zfree if we ever allocate msg dynamically */
[all …]
/external/python/cpython2/Modules/zlib/
Dinflate.c109 if (strm == Z_NULL ||
113 if (state == Z_NULL || state->strm != strm ||
127 strm->msg = Z_NULL;
134 state->head = Z_NULL;
184 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
186 state->window = Z_NULL;
204 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
207 if (strm == Z_NULL) return Z_STREAM_ERROR;
208 strm->msg = Z_NULL; /* in case we return an error */
225 if (state == Z_NULL) return Z_MEM_ERROR;
[all …]
Ddeflate.c260 if (version == Z_NULL || version[0] != my_version[0] ||
264 if (strm == Z_NULL) return Z_STREAM_ERROR;
266 strm->msg = Z_NULL;
305 if (s == Z_NULL) return Z_MEM_ERROR;
311 s->gzhead = Z_NULL;
333 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
334 s->pending_buf == Z_NULL) {
357 if (strm == Z_NULL ||
361 if (s == Z_NULL || s->strm != strm || (s->status != INIT_STATE &&
387 if (deflateStateCheck(strm) || dictionary == Z_NULL)
[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;
/external/zlib/src/
Dinflate.c109 if (strm == Z_NULL ||
113 if (state == Z_NULL || state->strm != strm ||
127 strm->msg = Z_NULL;
134 state->head = Z_NULL;
184 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
186 state->window = Z_NULL;
204 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
207 if (strm == Z_NULL) return Z_STREAM_ERROR;
208 strm->msg = Z_NULL; /* in case we return an error */
225 if (state == Z_NULL) return Z_MEM_ERROR;
[all …]
Ddeflate.c260 if (version == Z_NULL || version[0] != my_version[0] ||
264 if (strm == Z_NULL) return Z_STREAM_ERROR;
266 strm->msg = Z_NULL;
305 if (s == Z_NULL) return Z_MEM_ERROR;
311 s->gzhead = Z_NULL;
333 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
334 s->pending_buf == Z_NULL) {
357 if (strm == Z_NULL ||
361 if (s == Z_NULL || s->strm != strm || (s->status != INIT_STATE &&
387 if (deflateStateCheck(strm) || dictionary == Z_NULL)
[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/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()
/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_.state = Z_NULL; in GzipInputStream()
53 zcontext_.zalloc = Z_NULL; in GzipInputStream()
54 zcontext_.zfree = Z_NULL; in GzipInputStream()
55 zcontext_.opaque = Z_NULL; in GzipInputStream()
218 zcontext_.zalloc = Z_NULL; in Init()
219 zcontext_.zfree = Z_NULL; in Init()
220 zcontext_.opaque = Z_NULL; in Init()
/external/libtextclassifier/utils/zlib/
Dzlib.cc36 stream_.zalloc = Z_NULL; in ZlibDecompressor()
37 stream_.zfree = Z_NULL; in ZlibDecompressor()
127 stream_.zalloc = Z_NULL; in ZlibCompressor()
128 stream_.zfree = Z_NULL; in ZlibCompressor()
183 if (deflateGetDictionary(&stream_, /*dictionary=*/Z_NULL, &size) != Z_OK) { in GetDictionary()
/external/tensorflow/tensorflow/core/lib/io/
Dzlib_inputstream.cc98 z_stream_def_->stream->zalloc = Z_NULL; in InitZlibBuffer()
99 z_stream_def_->stream->zfree = Z_NULL; in InitZlibBuffer()
100 z_stream_def_->stream->opaque = Z_NULL; in InitZlibBuffer()
101 z_stream_def_->stream->next_in = Z_NULL; in InitZlibBuffer()
Dzlib_outputbuffer.cc53 z_stream_->zalloc = Z_NULL; in Init()
54 z_stream_->zfree = Z_NULL; in Init()
55 z_stream_->opaque = Z_NULL; in Init()
/external/python/cpython2/Modules/
Dzlibmodule.c76 const char *zmsg = Z_NULL; in zlib_error()
81 if (zmsg == Z_NULL) in zlib_error()
83 if (zmsg == Z_NULL) { in zlib_error()
96 if (zmsg == Z_NULL) in zlib_error()
218 zst.zfree = (free_func)Z_NULL; in PyZlib_compress()
305 zst.zfree = (free_func)Z_NULL; in PyZlib_decompress()
395 self->zst.zfree = (free_func)Z_NULL; in PyZlib_compressobj()
431 self->zst.zfree = (free_func)Z_NULL; in PyZlib_decompressobj()

123