Home
last modified time | relevance | path

Searched refs:Z_STREAM_ERROR (Results 1 – 25 of 97) sorted by relevance

1234

/external/rust/crates/libz-sys/src/zlib/examples/
Dfitblk.c87 assert(ret != Z_STREAM_ERROR); in partcompress()
107 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && in recompress()
118 assert(ret != Z_STREAM_ERROR); in recompress()
171 assert(ret != Z_STREAM_ERROR); in main()
190 assert(ret != Z_STREAM_ERROR); in main()
203 assert(ret != Z_STREAM_ERROR); in main()
205 assert(ret != Z_STREAM_ERROR); in main()
225 assert(ret != Z_STREAM_ERROR); in main()
227 assert(ret != Z_STREAM_ERROR); in main()
Dzpipe.c68 assert(ret != Z_STREAM_ERROR); /* state not clobbered */ in def()
126 assert(ret != Z_STREAM_ERROR); /* state not clobbered */ in inf()
161 case Z_STREAM_ERROR: in zerr()
/external/zstd/zlibWrapper/examples/
Dfitblk_original.c87 assert(ret != Z_STREAM_ERROR); in partcompress()
107 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && in recompress()
118 assert(ret != Z_STREAM_ERROR); in recompress()
171 assert(ret != Z_STREAM_ERROR); in main()
190 assert(ret != Z_STREAM_ERROR); in main()
203 assert(ret != Z_STREAM_ERROR); in main()
205 assert(ret != Z_STREAM_ERROR); in main()
225 assert(ret != Z_STREAM_ERROR); in main()
227 assert(ret != Z_STREAM_ERROR); in main()
Dfitblk.c94 assert(ret != Z_STREAM_ERROR); in partcompress()
117 assert(ret != Z_STREAM_ERROR && ret != Z_DATA_ERROR && in recompress()
130 assert(ret != Z_STREAM_ERROR); in recompress()
188 assert(ret != Z_STREAM_ERROR); in main()
207 assert(ret != Z_STREAM_ERROR); in main()
222 assert(ret != Z_STREAM_ERROR); in main()
224 assert(ret != Z_STREAM_ERROR); in main()
246 assert(ret != Z_STREAM_ERROR); in main()
248 assert(ret != Z_STREAM_ERROR); in main()
/external/rust/crates/libz-sys/src/zlib-ng/
Dgzwrite.c125 if (ret == Z_STREAM_ERROR) { in gz_comp()
126 gz_error(state, Z_STREAM_ERROR, "internal error: deflate stream corrupt"); in gz_comp()
277 gz_error(state, Z_STREAM_ERROR, "request does not fit in a size_t"); in PREFIX()
347 gz_error(state, Z_STREAM_ERROR, "string length does not fit in int"); in PREFIX()
364 return Z_STREAM_ERROR; in PREFIX()
370 return Z_STREAM_ERROR; in PREFIX()
427 return Z_STREAM_ERROR; in PREFIX()
432 return Z_STREAM_ERROR; in PREFIX()
436 return Z_STREAM_ERROR; in PREFIX()
457 return Z_STREAM_ERROR; in PREFIX()
[all …]
Dinflate.c59 return Z_STREAM_ERROR; in PREFIX()
86 return Z_STREAM_ERROR; in PREFIX()
100 return Z_STREAM_ERROR; in PREFIX()
117 return Z_STREAM_ERROR; in PREFIX()
142 return Z_STREAM_ERROR; in PREFIX()
175 return Z_STREAM_ERROR; in PREFIX()
184 return Z_STREAM_ERROR; in PREFIX()
390 return Z_STREAM_ERROR; in PREFIX()
1050 return Z_STREAM_ERROR; in PREFIX()
1086 return Z_STREAM_ERROR; in PREFIX()
[all …]
Ddeflate.c275 return Z_STREAM_ERROR; in PREFIX()
300 return Z_STREAM_ERROR; in PREFIX()
430 return Z_STREAM_ERROR; in PREFIX()
434 return Z_STREAM_ERROR; in PREFIX()
486 return Z_STREAM_ERROR; in PREFIX()
504 return Z_STREAM_ERROR; in PREFIX()
551 return Z_STREAM_ERROR; in PREFIX()
559 return Z_STREAM_ERROR; in PREFIX()
574 return Z_STREAM_ERROR; in PREFIX()
602 return Z_STREAM_ERROR; in PREFIX()
[all …]
/external/freetype/src/gzip/
Dinflate.c58 return Z_STREAM_ERROR; in inflateReset()
72 return Z_STREAM_ERROR; in inflateEnd()
94 return Z_STREAM_ERROR; in inflateInit2_()
119 return Z_STREAM_ERROR; in inflateInit2_()
155 return Z_STREAM_ERROR; in inflate()
221 return Z_STREAM_ERROR; in inflate()
277 return Z_STREAM_ERROR; in inflate()
280 return Z_STREAM_ERROR; /* Some dumb compilers complain without this */ in inflate()
/external/zlib/
Dgzwrite.c127 if (ret == Z_STREAM_ERROR) {
128 gz_error(state, Z_STREAM_ERROR,
295 gz_error(state, Z_STREAM_ERROR, "request does not fit in a size_t");
389 return Z_STREAM_ERROR; in gzvprintf()
395 return Z_STREAM_ERROR; in gzvprintf()
479 return Z_STREAM_ERROR;
485 return Z_STREAM_ERROR;
489 return Z_STREAM_ERROR;
561 return Z_STREAM_ERROR;
566 return Z_STREAM_ERROR;
[all …]
Dinflate.c124 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
149 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
165 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
183 return Z_STREAM_ERROR;
207 if (strm == Z_NULL) return Z_STREAM_ERROR;
211 return Z_STREAM_ERROR;
219 return Z_STREAM_ERROR;
255 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
262 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
648 return Z_STREAM_ERROR;
[all …]
Dgzread.c195 if (ret == Z_STREAM_ERROR || ret == Z_NEED_DICT) {
196 gz_error(state, Z_STREAM_ERROR,
395 gz_error(state, Z_STREAM_ERROR, "request does not fit in an int");
433 gz_error(state, Z_STREAM_ERROR, "request does not fit in a size_t");
639 return Z_STREAM_ERROR;
644 return Z_STREAM_ERROR;
Dinfback.c42 return Z_STREAM_ERROR;
46 return Z_STREAM_ERROR;
54 return Z_STREAM_ERROR;
274 return Z_STREAM_ERROR;
621 ret = Z_STREAM_ERROR;
636 return Z_STREAM_ERROR;
/external/rust/crates/libz-sys/src/zlib/
Dgzwrite.c127 if (ret == Z_STREAM_ERROR) {
128 gz_error(state, Z_STREAM_ERROR,
295 gz_error(state, Z_STREAM_ERROR, "request does not fit in a size_t");
389 return Z_STREAM_ERROR; in gzvprintf()
395 return Z_STREAM_ERROR; in gzvprintf()
479 return Z_STREAM_ERROR;
485 return Z_STREAM_ERROR;
489 return Z_STREAM_ERROR;
561 return Z_STREAM_ERROR;
566 return Z_STREAM_ERROR;
[all …]
Dinflate.c124 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
149 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
165 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
183 return Z_STREAM_ERROR;
207 if (strm == Z_NULL) return Z_STREAM_ERROR;
211 return Z_STREAM_ERROR;
219 return Z_STREAM_ERROR;
254 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
261 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
647 return Z_STREAM_ERROR;
[all …]
/external/python/cpython2/Modules/zlib/
Dgzwrite.c127 if (ret == Z_STREAM_ERROR) {
128 gz_error(state, Z_STREAM_ERROR,
295 gz_error(state, Z_STREAM_ERROR, "request does not fit in a size_t");
389 return Z_STREAM_ERROR; in gzvprintf()
395 return Z_STREAM_ERROR; in gzvprintf()
479 return Z_STREAM_ERROR;
485 return Z_STREAM_ERROR;
489 return Z_STREAM_ERROR;
561 return Z_STREAM_ERROR;
566 return Z_STREAM_ERROR;
[all …]
Dinflate.c124 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
149 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
165 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
183 return Z_STREAM_ERROR;
207 if (strm == Z_NULL) return Z_STREAM_ERROR;
211 return Z_STREAM_ERROR;
219 return Z_STREAM_ERROR;
254 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
261 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
647 return Z_STREAM_ERROR;
[all …]
Dinfback.c42 return Z_STREAM_ERROR;
46 return Z_STREAM_ERROR;
54 return Z_STREAM_ERROR;
274 return Z_STREAM_ERROR;
620 ret = Z_STREAM_ERROR;
635 return Z_STREAM_ERROR;
/external/zstd/zlibWrapper/
Dgzwrite.c132 if (ret == Z_STREAM_ERROR) {
133 gz_error(state, Z_STREAM_ERROR,
301 gz_error(state, Z_STREAM_ERROR, "request does not fit in a size_t");
395 return Z_STREAM_ERROR; in gzvprintf()
401 return Z_STREAM_ERROR; in gzvprintf()
485 return Z_STREAM_ERROR;
491 return Z_STREAM_ERROR;
495 return Z_STREAM_ERROR;
567 return Z_STREAM_ERROR;
572 return Z_STREAM_ERROR;
[all …]
Dzstd_zlibwrapper.c42 #define FINISH_WITH_GZ_ERR(msg) { (void)msg; return Z_STREAM_ERROR; }
205 if (zwc == NULL || zwc->zbc == NULL) return Z_STREAM_ERROR; in ZWRAP_initializeCStream()
213 if (ZSTD_isError(initErr)) return Z_STREAM_ERROR; in ZWRAP_initializeCStream()
225 return (error) ? error : Z_STREAM_ERROR; in ZWRAPC_finishWithError()
233 if (zwc == NULL) return Z_STREAM_ERROR; in ZWRAPC_finishWithErrorMsg()
242 if (zwc == NULL) return Z_STREAM_ERROR; in ZWRAP_setPledgedSrcSize()
339 if (!zwc) return Z_STREAM_ERROR; in z_deflateSetDictionary()
364 if (zwc == NULL) { LOG_WRAPPERC("zwc == NULL\n"); return Z_STREAM_ERROR; } in z_deflate()
465 if (ZSTD_isError(errorCode)) return Z_STREAM_ERROR; in z_deflateEnd()
569 return (error) ? error : Z_STREAM_ERROR; in ZWRAPD_finishWithError()
[all …]
/external/rust/crates/libz-sys/src/zlib/test/
Dinfcover.c363 assert(ret == Z_STREAM_ERROR); in cover_support()
371 inf("", "bad window size", 0, 1, 0, Z_STREAM_ERROR); 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()
396 ret = inflateCopy(Z_NULL, Z_NULL); assert(ret == Z_STREAM_ERROR); in cover_wrap()
433 ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_STREAM_ERROR); in cover_wrap()
478 ret = inflateBackInit(Z_NULL, 0, win); assert(ret == Z_STREAM_ERROR); in cover_back()
480 assert(ret == Z_STREAM_ERROR); in cover_back()
481 ret = inflateBackEnd(Z_NULL); assert(ret == Z_STREAM_ERROR); in cover_back()
497 assert(ret == Z_STREAM_ERROR); in cover_back()
[all …]
/external/zlib/contrib/tests/
Dinfcover.cc385 assert(ret == Z_STREAM_ERROR); in cover_support()
393 inf("", "bad window size", 0, 1, 0, Z_STREAM_ERROR); 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()
418 ret = inflateCopy(Z_NULL, Z_NULL); assert(ret == Z_STREAM_ERROR); in cover_wrap()
455 ret = inflate(&strm, Z_NO_FLUSH); assert(ret == Z_STREAM_ERROR); in cover_wrap()
500 ret = inflateBackInit(Z_NULL, 0, win); assert(ret == Z_STREAM_ERROR); in cover_back()
502 assert(ret == Z_STREAM_ERROR); in cover_back()
503 ret = inflateBackEnd(Z_NULL); assert(ret == Z_STREAM_ERROR); in cover_back()
519 assert(ret == Z_STREAM_ERROR); in cover_back()
[all …]
/external/rust/crates/libz-sys/src/zlib-ng/test/
Dinfcover.c367 assert(ret == Z_STREAM_ERROR); in cover_support()
375 inf("", "bad window size", 0, 1, 0, Z_STREAM_ERROR); in cover_support()
398 ret = PREFIX(inflate)(NULL, 0); assert(ret == Z_STREAM_ERROR); in cover_wrap()
399 ret = PREFIX(inflateEnd)(NULL); assert(ret == Z_STREAM_ERROR); in cover_wrap()
400 ret = PREFIX(inflateCopy)(NULL, NULL); assert(ret == Z_STREAM_ERROR); in cover_wrap()
437 ret = PREFIX(inflate)(&strm, Z_NO_FLUSH); assert(ret == Z_STREAM_ERROR); in cover_wrap()
486 assert(ret == Z_STREAM_ERROR); in cover_back()
488 assert(ret == Z_STREAM_ERROR); in cover_back()
489 ret = PREFIX(inflateBackEnd)(NULL); assert(ret == Z_STREAM_ERROR); in cover_back()
506 assert(ret == Z_STREAM_ERROR); in cover_back()
[all …]
/external/zlib/contrib/optimizations/
Dinflate.c125 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
150 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
166 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
184 return Z_STREAM_ERROR;
208 if (strm == Z_NULL) return Z_STREAM_ERROR;
212 return Z_STREAM_ERROR;
220 return Z_STREAM_ERROR;
256 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
263 if (bits > 16 || state->bits + (uInt)bits > 32) return Z_STREAM_ERROR;
659 return Z_STREAM_ERROR;
[all …]
/external/libwebsockets/win32port/zlib/
Dgzwrite.c94 if (ret == Z_STREAM_ERROR) {
95 gz_error(state, Z_STREAM_ERROR,
439 return Z_STREAM_ERROR;
443 return Z_STREAM_ERROR;
468 return Z_STREAM_ERROR;
474 return Z_STREAM_ERROR;
508 return Z_STREAM_ERROR;
513 return Z_STREAM_ERROR;
Dinflate.c108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
138 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
156 return Z_STREAM_ERROR;
180 if (strm == Z_NULL) return Z_STREAM_ERROR;
216 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
223 if (bits > 16 || state->bits + bits > 32) return Z_STREAM_ERROR;
614 return Z_STREAM_ERROR;
1206 return Z_STREAM_ERROR;
1243 return Z_STREAM_ERROR;
1261 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR;
[all …]

1234