Home
last modified time | relevance | path

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

12345

/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/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/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()
405 strm.next_in = Z_NULL; in cover_support()
418 ret = inflate(Z_NULL, 0); assert(ret == Z_STREAM_ERROR); in cover_wrap()
419 ret = inflateEnd(Z_NULL); assert(ret == Z_STREAM_ERROR); in cover_wrap()
[all …]
/external/zlib/contrib/optimizations/
Dinflate.c110 if (strm == Z_NULL ||
114 if (state == Z_NULL || state->strm != strm ||
128 strm->msg = Z_NULL;
136 state->head = Z_NULL;
188 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
190 state->window = Z_NULL;
208 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
211 if (strm == Z_NULL) return Z_STREAM_ERROR;
212 strm->msg = Z_NULL; /* in case we return an error */
229 if (state == Z_NULL) return Z_MEM_ERROR;
[all …]
/external/tflite-support/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 …]
Ddeflate.c256 if (version == Z_NULL || version[0] != my_version[0] ||
260 if (strm == Z_NULL) return Z_STREAM_ERROR;
262 strm->msg = Z_NULL;
301 if (s == Z_NULL) return Z_MEM_ERROR;
307 s->gzhead = Z_NULL;
379 if (s->window == Z_NULL || s->prev == Z_NULL || s->head == Z_NULL ||
380 s->pending_buf == Z_NULL) {
407 if (strm == Z_NULL ||
411 if (s == Z_NULL || s->strm != strm || (s->status != INIT_STATE &&
437 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;
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/tflite-support/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/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/freetype/src/gzip/
Dinflate.c111 if (strm == Z_NULL || in inflateStateCheck()
115 if (state == Z_NULL || state->strm != strm || in inflateStateCheck()
129 strm->msg = Z_NULL; in inflateResetKeep()
137 state->head = Z_NULL; in inflateResetKeep()
189 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) { in inflateReset2()
191 state->window = Z_NULL; in inflateReset2()
209 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] || in inflateInit2_()
212 if (strm == Z_NULL) return Z_STREAM_ERROR; in inflateInit2_()
213 strm->msg = Z_NULL; /* in case we return an error */ in inflateInit2_()
230 if (state == Z_NULL) return Z_MEM_ERROR; in inflateInit2_()
[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_()
164 next = Z_NULL; \
274 if (strm == Z_NULL || strm->state == Z_NULL) in inflateBack()
279 strm->msg = Z_NULL; in inflateBack()
284 have = next != Z_NULL ? strm->avail_in : 0; in inflateBack()
638 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0) in inflateBackEnd()
641 strm->state = Z_NULL; in inflateBackEnd()
/external/zlib/
Dinflate.c109 if (strm == Z_NULL ||
113 if (state == Z_NULL || state->strm != strm ||
127 strm->msg = Z_NULL;
135 state->head = Z_NULL;
187 if (state->window != Z_NULL && state->wbits != (unsigned)windowBits) {
189 state->window = Z_NULL;
207 if (version == Z_NULL || version[0] != ZLIB_VERSION[0] ||
210 if (strm == Z_NULL) return Z_STREAM_ERROR;
211 strm->msg = Z_NULL; /* in case we return an error */
228 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;
164 next = Z_NULL; \
274 if (strm == Z_NULL || strm->state == Z_NULL)
279 strm->msg = Z_NULL;
284 have = next != Z_NULL ? strm->avail_in : 0;
639 if (strm == Z_NULL || strm->state == Z_NULL || strm->zfree == (free_func)0)
642 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()

12345