Home
last modified time | relevance | path

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

12345

/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 …]
/external/libwebsockets/win32port/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;
138 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
157 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
159 state->window = Z_NULL;
177 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
180 if (strm == Z_NULL) return Z_STREAM_ERROR;
181 strm->msg = Z_NULL; /* in case we return an error */
189 if (state == Z_NULL) return Z_MEM_ERROR;
[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 …]
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;
626 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
629 strm->state = Z_NULL;
/external/zlib/contrib/tests/
Dinfcover.cc253 strm->opaque = Z_NULL; in mem_done()
254 strm->zalloc = Z_NULL; in mem_done()
255 strm->zfree = Z_NULL; in mem_done()
317 strm.next_in = Z_NULL; in inf()
379 strm.next_in = Z_NULL; in cover_support()
384 ret = inflateSetDictionary(&strm, Z_NULL, 0); in cover_support()
397 strm.next_in = Z_NULL; in cover_support()
403 strm.next_in = Z_NULL; in cover_support()
416 ret = inflate(Z_NULL, 0); assert(ret == Z_STREAM_ERROR); in cover_wrap()
417 ret = inflateEnd(Z_NULL); assert(ret == Z_STREAM_ERROR); in cover_wrap()
[all …]
/external/rust/crates/libz-sys/src/zlib/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/angle/third_party/zlib/contrib/optimizations/
Dinflate.c110 if (strm == Z_NULL ||
114 if (state == Z_NULL || state->strm != strm ||
128 strm->msg = Z_NULL;
135 state->head = Z_NULL;
185 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
187 state->window = Z_NULL;
205 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
208 if (strm == Z_NULL) return Z_STREAM_ERROR;
209 strm->msg = Z_NULL; /* in case we return an error */
226 if (state == Z_NULL) return Z_MEM_ERROR;
[all …]
/external/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 …]
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;
635 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
638 strm->state = Z_NULL;
/external/zlib/contrib/optimizations/
Dinflate.c110 if (strm == Z_NULL ||
114 if (state == Z_NULL || state->strm != strm ||
128 strm->msg = Z_NULL;
135 state->head = Z_NULL;
185 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
187 state->window = Z_NULL;
205 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
208 if (strm == Z_NULL) return Z_STREAM_ERROR;
209 strm->msg = Z_NULL; /* in case we return an error */
226 if (state == Z_NULL) return Z_MEM_ERROR;
[all …]
/external/angle/third_party/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 …]
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;
635 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
638 strm->state = Z_NULL;
/external/rust/crates/libz-sys/src/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;
/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;
/external/zlib/contrib/tests/fuzzers/
Dstreaming_inflate_fuzzer.cc25 comp_strm.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
26 comp_strm.zfree = Z_NULL; in LLVMFuzzerTestOneInput()
27 comp_strm.opaque = Z_NULL; in LLVMFuzzerTestOneInput()
44 decomp_strm.zalloc = Z_NULL; in LLVMFuzzerTestOneInput()
45 decomp_strm.zfree = Z_NULL; in LLVMFuzzerTestOneInput()
46 decomp_strm.opaque = Z_NULL; in LLVMFuzzerTestOneInput()
/external/rust/crates/libz-sys/src/zlib/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()
/external/rust/crates/libz-sys/src/zlib/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/zstd/zlibWrapper/examples/
Dfitblk_original.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()
Dfitblk.c163 def.zalloc = Z_NULL; in main()
164 def.zfree = Z_NULL; in main()
165 def.opaque = Z_NULL; in main()
197 inf.zalloc = Z_NULL; in main()
198 inf.zfree = Z_NULL; in main()
199 inf.opaque = Z_NULL; in main()
201 inf.next_in = Z_NULL; in main()

12345