/external/zlib/src/test/ |
D | infcover.c | 297 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(©, &strm); assert(ret == Z_OK); in inf() 336 ret = inflateEnd(©); 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 …]
|
D | minigzip.c | 218 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/ |
D | gzip_stream.cc | 51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream() 89 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) { in Inflate() 105 if (error != Z_OK) { in Inflate() 125 bool ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) in Next() 139 if (zerror_ != Z_OK) { in Next() 143 if (zerror_ != Z_OK) { in Next() 157 ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) in Next() 249 int error = Z_OK; in Deflate() 263 } while (error == Z_OK && zcontext_.avail_out == 0); in Deflate() 276 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next() [all …]
|
/external/libtextclassifier/utils/zlib/ |
D | zlib.cc | 39 if (inflateInit(&stream_) != Z_OK) { in ZlibDecompressor() 44 inflateSetDictionary(&stream_, dictionary, dictionary_size) != Z_OK) { in ZlibDecompressor() 68 return (inflate(&stream_, Z_SYNC_FLUSH) == Z_OK); in Decompress() 132 if (deflateInit(&stream_, level) != Z_OK) { in ZlibCompressor() 137 deflateSetDictionary(&stream_, dictionary, dictionary_size) != Z_OK) { in ZlibCompressor() 177 } while (status == Z_OK); in Compress() 183 if (deflateGetDictionary(&stream_, /*dictionary=*/Z_NULL, &size) != Z_OK) { in GetDictionary() 187 return deflateGetDictionary(&stream_, dictionary->data(), &size) == Z_OK; in GetDictionary()
|
/external/zlib/src/examples/ |
D | zpipe.c | 49 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/zlib/src/ |
D | gzwrite.c | 46 if (ret != Z_OK) { 101 ret = Z_OK; 259 if (state->mode != GZ_WRITE || state->err != Z_OK) 289 if (state->mode != GZ_WRITE || state->err != Z_OK) 320 if (state->mode != GZ_WRITE || state->err != Z_OK) 366 if (state->mode != GZ_WRITE || state->err != Z_OK) 394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf() 488 if (state->mode != GZ_WRITE || state->err != Z_OK) 565 if (state->mode != GZ_WRITE || state->err != Z_OK) 600 if (state->mode != GZ_WRITE || state->err != Z_OK) [all …]
|
D | gzread.c | 62 if (state->err != Z_OK && state->err != Z_BUF_ERROR) 115 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */ 178 int ret = Z_OK; 389 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 403 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR) 427 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 461 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 496 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 560 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 648 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; [all …]
|
D | compress.c | 42 if (err != Z_OK) return err; 59 } while (err == Z_OK); 63 return err == Z_STREAM_END ? Z_OK : err;
|
D | uncompr.c | 56 if (err != Z_OK) return err; 71 } while (err == Z_OK); 80 return err == Z_STREAM_END ? Z_OK :
|
/external/python/cpython2/Modules/zlib/ |
D | gzwrite.c | 46 if (ret != Z_OK) { 101 ret = Z_OK; 259 if (state->mode != GZ_WRITE || state->err != Z_OK) 289 if (state->mode != GZ_WRITE || state->err != Z_OK) 320 if (state->mode != GZ_WRITE || state->err != Z_OK) 366 if (state->mode != GZ_WRITE || state->err != Z_OK) 394 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzvprintf() 488 if (state->mode != GZ_WRITE || state->err != Z_OK) 565 if (state->mode != GZ_WRITE || state->err != Z_OK) 600 if (state->mode != GZ_WRITE || state->err != Z_OK) [all …]
|
D | gzread.c | 62 if (state->err != Z_OK && state->err != Z_BUF_ERROR) 115 if (inflateInit2(&(state->strm), 15 + 16) != Z_OK) { /* gunzip */ 178 int ret = Z_OK; 389 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 403 if (len == 0 && state->err != Z_OK && state->err != Z_BUF_ERROR) 427 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 461 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 496 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 560 (state->err != Z_OK && state->err != Z_BUF_ERROR)) 648 err = state->err == Z_BUF_ERROR ? Z_BUF_ERROR : Z_OK; [all …]
|
D | compress.c | 42 if (err != Z_OK) return err; 59 } while (err == Z_OK); 63 return err == Z_STREAM_END ? Z_OK : err;
|
D | uncompr.c | 56 if (err != Z_OK) return err; 71 } while (err == Z_OK); 80 return err == Z_STREAM_END ? Z_OK :
|
D | minigzip.c | 218 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/pdfium/third_party/libtiff/ |
D | tif_zip.c | 114 inflateInit(&sp->stream) != Z_OK) { in ZIPSetupDecode() 149 return (inflateReset(&sp->stream) == Z_OK); in ZIPPreDecode() 184 if (inflateSync(&sp->stream) != Z_OK) in ZIPDecode() 188 if (state != Z_OK) { in ZIPDecode() 219 if (deflateInit(&sp->stream, sp->zipquality) != Z_OK) { in ZIPSetupEncode() 253 return (deflateReset(&sp->stream) == Z_OK); in ZIPPreEncode() 281 if (deflate(&sp->stream, Z_NO_FLUSH) != Z_OK) { in ZIPEncode() 313 case Z_OK: in ZIPPostEncode() 367 sp->zipquality, Z_DEFAULT_STRATEGY) != Z_OK) { in ZIPVSetField()
|
/external/python/cpython3/Modules/ |
D | zlibmodule.c | 222 case Z_OK: in zlib_compress_impl() 265 if (err == Z_OK) { in zlib_compress_impl() 350 case Z_OK: in zlib_decompress_impl() 378 case Z_OK: /* fall through */ in zlib_decompress_impl() 405 if (err != Z_OK) { in zlib_decompress_impl() 473 case Z_OK: in zlib_compressobj_impl() 481 case Z_OK: in zlib_compressobj_impl() 527 if (err != Z_OK) { in set_inflate_zdict() 573 case Z_OK: in zlib_decompressobj_impl() 760 int err = Z_OK; in zlib_Decompress_decompress_impl() [all …]
|
/external/libevent/test/ |
D | regress_zlib.c | 98 assert(deflateEnd(p) == Z_OK); in zlib_deflate_free() 107 assert(inflateEnd(p) == Z_OK); in zlib_inflate_free() 174 assert(res == Z_OK || res == Z_STREAM_END); in zlib_input_filter() 228 assert(res == Z_OK || res == Z_STREAM_END); in zlib_output_filter() 301 tt_int_op(r, ==, Z_OK); in test_bufferevent_zlib() 304 tt_int_op(r, ==, Z_OK); in test_bufferevent_zlib()
|
/external/python/cpython2/Modules/ |
D | zlibmodule.c | 223 case Z_OK: in PyZlib_compress() 266 if (err == Z_OK) { in PyZlib_compress() 311 case Z_OK: in PyZlib_decompress() 339 case Z_OK: /* fall through */ in PyZlib_decompress() 366 if (err != Z_OK) { in PyZlib_decompress() 400 case Z_OK: in PyZlib_compressobj() 436 case Z_OK: in PyZlib_decompressobj() 588 int err = Z_OK; in PyZlib_objdecompress() 636 case Z_OK: /* fall through */ in PyZlib_objdecompress() 655 if (err != Z_STREAM_END && err != Z_OK && err != Z_BUF_ERROR) { in PyZlib_objdecompress() [all …]
|
/external/freetype/src/gzip/ |
D | inftrees.c | 151 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()
|
D | inflate.c | 64 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/skia/tests/ |
D | PDFDeflateWStreamTest.cpp | 49 if (rc != Z_OK) { in stream_inflate() 64 rc = Z_OK; in stream_inflate() 74 if (rc != Z_OK) in stream_inflate() 87 while (rc == Z_OK) { in stream_inflate()
|
/external/skqp/tests/ |
D | PDFDeflateWStreamTest.cpp | 49 if (rc != Z_OK) { in stream_inflate() 64 rc = Z_OK; in stream_inflate() 74 if (rc != Z_OK) in stream_inflate() 87 while (rc == Z_OK) { in stream_inflate()
|
/external/squashfs-tools/squashfs-tools/ |
D | gzip_wrapper.c | 381 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/ |
D | mztools.c | 37 int err = Z_OK; 137 if (err != Z_OK) { 256 if (err == Z_OK) { 279 if (err == Z_OK) {
|
/external/perfetto/src/perfetto_cmd/ |
D | packet_writer.cc | 165 CheckEq(deflate(&stream_, Z_SYNC_FLUSH), Z_OK); in WritePacket() 181 CheckEq(deflateInit(&stream_, 9), Z_OK); in WritePacket() 219 CheckEq(deflateEnd(&stream_), Z_OK); in FinalizeCompressedPacket() 234 CheckEq(deflate(&stream_, Z_NO_FLUSH), Z_OK); in Deflate()
|