Home
last modified time | relevance | path

Searched refs:Z_OK (Results 1 – 25 of 124) sorted by relevance

12345

/external/zlib/src/test/
Dinfcover.c297 if (ret != Z_OK) { in inf()
309 ret = inflateGetHeader(&strm, &head); assert(ret == Z_OK); in inf()
321 if (ret != Z_OK && ret != Z_BUF_ERROR && ret != Z_NEED_DICT) in inf()
332 assert(ret == Z_OK); in inf()
335 ret = inflateCopy(&copy, &strm); assert(ret == Z_OK); in inf()
336 ret = inflateEnd(&copy); assert(ret == Z_OK); in inf()
344 ret = inflateReset2(&strm, -8); assert(ret == Z_OK); in inf()
345 ret = inflateEnd(&strm); assert(ret == Z_OK); in inf()
358 ret = inflateInit(&strm); assert(ret == Z_OK); in cover_support()
360 ret = inflatePrime(&strm, 5, 31); assert(ret == Z_OK); in cover_support()
[all …]
Dminigzip.c218 if (ret != Z_OK) {
321 return Z_OK;
374 if (gz_compress_mmap(in, out) == Z_OK) return;
387 if (gzclose(out) != Z_OK) error("failed gzclose");
422 if (gzclose(out) != Z_OK) error("failed gzclose");
423 return Z_OK;
449 if (gzclose(in) != Z_OK) error("failed gzclose");
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK) { in GzipInputStream()
88 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) { in Inflate()
104 if (error != Z_OK) { in Inflate()
124 bool ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) in Next()
137 if (zerror_ != Z_OK) { in Next()
141 if (zerror_ != Z_OK) { in Next()
155 ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) in Next()
245 int error = Z_OK; in Deflate()
259 } while (error == Z_OK && zcontext_.avail_out == 0); in Deflate()
272 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next()
[all …]
/external/libmicrohttpd/src/microspdy/
Dcompression.c225 if(ret != Z_OK) in SPDYF_zlib_deflate_init()
233 if(ret != Z_OK) in SPDYF_zlib_deflate_init()
315 return Z_OK == ret ? SPDY_YES : SPDY_NO; in SPDYF_zlib_deflate()
333 if(ret != Z_OK) in SPDYF_zlib_inflate_init()
356 int ret = Z_OK; in SPDYF_zlib_inflate()
400 if(ret != Z_OK) in SPDYF_zlib_inflate()
440 return Z_OK == ret || Z_STREAM_END == ret ? SPDY_YES : SPDY_NO; in SPDYF_zlib_inflate()
/external/zlib/src/examples/
Dzpipe.c49 if (ret != Z_OK) in def()
83 return Z_OK; in def()
107 if (ret != Z_OK) in inf()
147 return ret == Z_STREAM_END ? Z_OK : Z_DATA_ERROR; in inf()
187 if (ret != Z_OK) in main()
195 if (ret != Z_OK) in main()
/external/pdfium/third_party/zlib_v128/
Dgzwrite.c44 if (ret != Z_OK) { in gz_init()
94 ret = Z_OK; in gz_comp()
181 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzwrite()
261 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzputc()
323 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
407 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzprintf()
476 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzflush()
511 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzsetparams()
516 return Z_OK; in gzsetparams()
534 return Z_OK; in gzsetparams()
[all …]
Dgzread.c57 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gz_avail()
112 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */ in gz_look()
175 int ret = Z_OK; in gz_decomp()
305 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzread()
401 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzgetc()
436 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzungetc()
500 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzgets()
588 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; in gzclose_r()
589 gz_error(state, Z_OK, NULL); in gzclose_r()
Dcompress.c47 if (err != Z_OK) return err; in compress2()
52 return err == Z_OK ? Z_BUF_ERROR : err; in compress2()
Dgzlib.c85 gz_error(state, Z_OK, NULL); /* clear error */ in gz_reset()
351 (state->err != Z_OK && state->err != Z_BUF_ERROR)) in gzrewind()
379 if (state->err != Z_OK && state->err != Z_BUF_ERROR) in gzseek64()
403 gz_error(state, Z_OK, NULL); in gzseek64()
566 gz_error(state, Z_OK, NULL); in gzclearerr()
588 if (err != Z_OK && err != Z_BUF_ERROR) in gz_error()
/external/zlib/src/
Dgzwrite.c44 if (ret != Z_OK) {
94 ret = Z_OK;
181 if (state->mode != GZ_WRITE || state->err != Z_OK)
261 if (state->mode != GZ_WRITE || state->err != Z_OK)
323 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
408 if (state->mode != GZ_WRITE || state->err != Z_OK)
477 if (state->mode != GZ_WRITE || state->err != Z_OK)
512 if (state->mode != GZ_WRITE || state->err != Z_OK)
517 return Z_OK;
535 return Z_OK;
[all …]
Dgzread.c57 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
112 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */
175 int ret = Z_OK;
305 (state->err != Z_OK && state->err != Z_BUF_ERROR))
401 (state->err != Z_OK && state->err != Z_BUF_ERROR))
436 (state->err != Z_OK && state->err != Z_BUF_ERROR))
500 (state->err != Z_OK && state->err != Z_BUF_ERROR))
588 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
589 gz_error(state, Z_OK, NULL);
/external/opencv3/3rdparty/zlib/
Dgzwrite.c44 if (ret != Z_OK) {
94 ret = Z_OK;
181 if (state->mode != GZ_WRITE || state->err != Z_OK)
261 if (state->mode != GZ_WRITE || state->err != Z_OK)
323 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf()
408 if (state->mode != GZ_WRITE || state->err != Z_OK)
477 if (state->mode != GZ_WRITE || state->err != Z_OK)
512 if (state->mode != GZ_WRITE || state->err != Z_OK)
517 return Z_OK;
535 return Z_OK;
[all …]
Dgzread.c57 if (state->err != Z_OK && state->err != Z_BUF_ERROR)
112 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */
175 int ret = Z_OK;
305 (state->err != Z_OK && state->err != Z_BUF_ERROR))
401 (state->err != Z_OK && state->err != Z_BUF_ERROR))
436 (state->err != Z_OK && state->err != Z_BUF_ERROR))
500 (state->err != Z_OK && state->err != Z_BUF_ERROR))
588 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK;
589 gz_error(state, Z_OK, NULL);
/external/pdfium/third_party/libtiff/
Dtif_zip.c110 if (inflateInit(&sp->stream) != Z_OK) { in ZIPSetupDecode()
145 return (inflateReset(&sp->stream) == Z_OK); in ZIPPreDecode()
180 if (inflateSync(&sp->stream) != Z_OK) in ZIPDecode()
184 if (state != Z_OK) { in ZIPDecode()
215 if (deflateInit(&sp->stream, sp->zipquality) != Z_OK) { in ZIPSetupEncode()
249 return (deflateReset(&sp->stream) == Z_OK); in ZIPPreEncode()
277 if (deflate(&sp->stream, Z_NO_FLUSH) != Z_OK) { in ZIPEncode()
309 case Z_OK: in ZIPPostEncode()
363 sp->zipquality, Z_DEFAULT_STRATEGY) != Z_OK) { in ZIPVSetField()
/external/opencv3/3rdparty/libtiff/
Dtif_zip.c108 if (inflateInit(&sp->stream) != Z_OK) { in ZIPSetupDecode()
143 return (inflateReset(&sp->stream) == Z_OK); in ZIPPreDecode()
178 if (inflateSync(&sp->stream) != Z_OK) in ZIPDecode()
182 if (state != Z_OK) { in ZIPDecode()
213 if (deflateInit(&sp->stream, sp->zipquality) != Z_OK) { in ZIPSetupEncode()
247 return (deflateReset(&sp->stream) == Z_OK); in ZIPPreEncode()
275 if (deflate(&sp->stream, Z_NO_FLUSH) != Z_OK) { in ZIPEncode()
306 case Z_OK: in ZIPPostEncode()
360 sp->zipquality, Z_DEFAULT_STRATEGY) != Z_OK) { in ZIPVSetField()
/external/libvncserver/libvncclient/
Dzlib.c79 if ( inflateResult != Z_OK ) { in HandleZlibBPP()
91 inflateResult = Z_OK; in HandleZlibBPP()
97 ( inflateResult == Z_OK )) { in HandleZlibBPP()
142 if ( inflateResult == Z_OK ) { in HandleZlibBPP()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/gzip/
Dinftrees.c151 return Z_OK; in huft_build()
295 return y != 0 && g != 1 ? Z_BUF_ERROR : Z_OK; in huft_build()
349 if (r != Z_OK || *bl == 0) in inflate_trees_dynamic()
364 if (r != Z_OK || (*bd == 0 && nl > 257)) in inflate_trees_dynamic()
373 r = Z_OK; in inflate_trees_dynamic()
391 return Z_OK; in inflate_trees_dynamic()
467 return Z_OK; in inflate_trees_fixed()
Dinflate.c64 return Z_OK; in inflateReset()
78 return Z_OK; in inflateEnd()
135 return Z_OK; in inflateInit2_()
156 f = f == Z_FINISH ? Z_BUF_ERROR : Z_OK; in inflate()
225 if (r == Z_OK) in inflate()
/external/freetype/src/gzip/
Dinftrees.c151 return Z_OK; in huft_build()
295 return y != 0 && g != 1 ? Z_BUF_ERROR : Z_OK; in huft_build()
349 if (r != Z_OK || *bl == 0) in inflate_trees_dynamic()
364 if (r != Z_OK || (*bd == 0 && nl > 257)) in inflate_trees_dynamic()
373 r = Z_OK; in inflate_trees_dynamic()
391 return Z_OK; in inflate_trees_dynamic()
467 return Z_OK; in inflate_trees_fixed()
Dinflate.c64 return Z_OK; in inflateReset()
78 return Z_OK; in inflateEnd()
135 return Z_OK; in inflateInit2_()
156 f = f == Z_FINISH ? Z_BUF_ERROR : Z_OK; in inflate()
225 if (r == Z_OK) in inflate()
/external/curl/lib/
Dcontent_encoding.c116 if(status == Z_OK || status == Z_STREAM_END) { in inflate_stream()
131 if(inflateEnd(z) == Z_OK) in inflate_stream()
150 if(inflateInit2(z, -MAX_WBITS) != Z_OK) { in inflate_stream()
180 if(inflateInit(z) != Z_OK) in Curl_unencode_deflate_write()
292 if(inflateInit2(z, MAX_WBITS+32) != Z_OK) { in Curl_unencode_gzip_write()
299 if(inflateInit2(z, -MAX_WBITS) != Z_OK) { in Curl_unencode_gzip_write()
/external/skia/tests/
DPDFDeflateWStreamTest.cpp49 if (rc != Z_OK) in stream_inflate()
63 rc = Z_OK; in stream_inflate()
73 if (rc != Z_OK) in stream_inflate()
86 while (rc == Z_OK) { in stream_inflate()
/external/squashfs-tools/squashfs-tools/
Dgzip_wrapper.c381 if(res != Z_OK) in gzip_init()
409 if(res != Z_OK) in gzip_compress()
420 if(res != Z_OK) in gzip_compress()
429 } else if(res != Z_OK) in gzip_compress()
461 if(res == Z_OK) in gzip_uncompress()
/external/zlib/src/contrib/minizip/
Dmztools.c37 int err = Z_OK;
137 if (err != Z_OK) {
256 if (err == Z_OK) {
279 if (err == Z_OK) {
/external/zlib/src/contrib/testzlib/
Dtestzlib.c193 int ret=Z_OK; in main()
213 } while (ret==Z_OK); in main()
234 int ret=Z_OK; in main()
254 } while (ret==Z_OK); in main()

12345