/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 …]
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/ |
D | gzip_stream.cc | 51 : 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/protobuf/src/google/protobuf/io/ |
D | gzip_stream.cc | 51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK) { in GzipInputStream() 77 if ((zerror_ == Z_OK) && (zcontext_.avail_out == 0)) { in Inflate() 100 if (error != Z_OK) { in Inflate() 120 bool ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) in Next() 139 ok = (zerror_ == Z_OK) || (zerror_ == Z_STREAM_END) in Next() 239 int error = Z_OK; in Deflate() 253 } while (error == Z_OK && zcontext_.avail_out == 0); in Deflate() 267 if ((zerror_ != Z_OK) && (zerror_ != Z_BUF_ERROR)) { in Next() 272 if (zerror_ != Z_OK) { in Next() 299 } while (zerror_ == Z_OK); in Flush() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
D | WebSocketDeflater.cpp | 66 …(), Z_DEFAULT_COMPRESSION, Z_DEFLATED, -m_windowBits, defaultMemLevel, Z_DEFAULT_STRATEGY) == Z_OK; in initialize() 72 if (result != Z_OK) in ~WebSocketDeflater() 96 if (result != Z_OK) in addBytes() 121 if (result == Z_OK) in finish() 161 return inflateInit2(m_stream.get(), -m_windowBits) == Z_OK; in initialize() 167 if (result != Z_OK) in ~WebSocketInflater() 190 if (inflateReset(m_stream.get()) != Z_OK) in addBytes() 194 if (result != Z_OK) in addBytes() 220 if (result != Z_OK && result != Z_STREAM_END) in finish()
|
/external/chromium_org/components/metrics/ |
D | compression_utils.cc | 56 if (err != Z_OK) in GzipCompressHelper() 60 if (err != Z_OK) in GzipCompressHelper() 66 return err == Z_OK ? Z_BUF_ERROR : err; in GzipCompressHelper() 97 if (err != Z_OK) in GzipUncompressHelper() 137 input_size) != Z_OK) { in GzipCompress() 153 static_cast<uLongf>(input.length())) == Z_OK; in GzipUncompress()
|
/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/chromium_org/third_party/zlib/ |
D | gzwrite.c | 39 if (ret != Z_OK) { 72 ret = Z_OK; 160 if (state->mode != GZ_WRITE || state->err != Z_OK) 236 if (state->mode != GZ_WRITE || state->err != Z_OK) 295 if (state->mode != GZ_WRITE || state->err != Z_OK) in gzprintf() 370 if (state->mode != GZ_WRITE || state->err != Z_OK) 438 if (state->mode != GZ_WRITE || state->err != Z_OK) 473 if (state->mode != GZ_WRITE || state->err != Z_OK) 478 return Z_OK; 496 return Z_OK; [all …]
|
D | gzread.c | 55 if (state->err != Z_OK) 132 if (inflateInit2(&(state->strm), -15) != Z_OK) { /* raw inflate */ 378 if (state->mode != GZ_READ || state->err != Z_OK) 466 if (state->mode != GZ_READ || state->err != Z_OK) 494 if (state->mode != GZ_READ || state->err != Z_OK) 555 if (state->mode != GZ_READ || state->err != Z_OK) 648 gz_error(state, Z_OK, NULL); 652 return ret ? Z_ERRNO : Z_OK;
|
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/ |
D | gzwrite.c | 44 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 …]
|
D | gzread.c | 57 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()
|
/external/zlib/src/ |
D | gzwrite.c | 44 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 …]
|
D | gzread.c | 57 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/qemu/distrib/zlib-1.2.8/ |
D | gzwrite.c | 44 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 …]
|
D | gzread.c | 57 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/chromium_org/net/quic/crypto/ |
D | cert_compressor.cc | 480 DCHECK_EQ(Z_OK, rv); in CompressChain() 481 if (rv != Z_OK) { in CompressChain() 490 DCHECK_EQ(Z_OK, rv); in CompressChain() 491 if (rv != Z_OK) { in CompressChain() 530 DCHECK_EQ(Z_OK, rv); in CompressChain() 532 if (rv != Z_OK || z.avail_in) { in CompressChain() 540 DCHECK_EQ(Z_OK, rv); in CompressChain() 542 if (rv != Z_OK || z.avail_in) { in CompressChain() 595 if (Z_OK != inflateInit(&z)) { in DecompressChain() 604 if (Z_OK != inflateSetDictionary(&z, dict, zlib_dict.size())) { in DecompressChain()
|
/external/chromium_org/third_party/skia/src/core/ |
D | SkFlate.cpp | 53 if (rc != Z_OK) in doFlate() 67 rc = Z_OK; in doFlate() 77 if (rc != Z_OK) in doFlate() 93 while (rc == Z_OK) { in doFlate()
|
/external/skia/src/core/ |
D | SkFlate.cpp | 53 if (rc != Z_OK) in doFlate() 67 rc = Z_OK; in doFlate() 77 if (rc != Z_OK) in doFlate() 93 while (rc == Z_OK) { in doFlate()
|
/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/chromium_org/third_party/openssl/openssl/crypto/comp/ |
D | c_zlib.c | 157 if (err != Z_OK) in zlib_stateful_init() 169 if (err != Z_OK) in zlib_stateful_init() 194 int err = Z_OK; in zlib_stateful_compress_block() 208 if (err != Z_OK) in zlib_stateful_compress_block() 221 int err = Z_OK; in zlib_stateful_expand_block() 236 if (err != Z_OK) in zlib_stateful_expand_block() 259 if (i != Z_OK) 290 if (i != Z_OK) 325 if (err != Z_OK) return err; 567 if((ret != Z_OK) && (ret != Z_STREAM_END)) in bio_zlib_read() [all …]
|
/external/openssl/crypto/comp/ |
D | c_zlib.c | 157 if (err != Z_OK) in zlib_stateful_init() 169 if (err != Z_OK) in zlib_stateful_init() 194 int err = Z_OK; in zlib_stateful_compress_block() 208 if (err != Z_OK) in zlib_stateful_compress_block() 221 int err = Z_OK; in zlib_stateful_expand_block() 236 if (err != Z_OK) in zlib_stateful_expand_block() 259 if (i != Z_OK) 290 if (i != Z_OK) 325 if (err != Z_OK) return err; 567 if((ret != Z_OK) && (ret != Z_STREAM_END)) in bio_zlib_read() [all …]
|
/external/chromium_org/net/websockets/ |
D | websocket_inflater.cc | 53 if (result != Z_OK) { in Initialize() 82 return result == Z_OK || result == Z_BUF_ERROR; in AddBytes() 100 if (result != Z_OK && result != Z_BUF_ERROR) in GetOutput() 109 if (result != Z_OK && result != Z_BUF_ERROR) in InflateWithFlush() 143 } while (result == Z_OK || result == Z_BUF_ERROR); in Inflate() 158 if (result != Z_OK && result != Z_BUF_ERROR) in InflateChokedInput()
|
D | websocket_deflater.cc | 41 if (result != Z_OK) { in Initialize() 116 int result = Z_OK; in Deflate() 123 } while (result == Z_OK); in Deflate()
|
/external/chromium_org/net/filter/ |
D | gzip_filter.cc | 41 if (inflateInit(zlib_stream_.get()) != Z_OK) in InitDecoding() 53 if (inflateInit2(zlib_stream_.get(), -MAX_WBITS) != Z_OK) in InitDecoding() 238 case Z_OK: { in DoInflate() 281 return (code == Z_OK); in InsertZlibHeader()
|
/external/chromium_org/third_party/zlib/contrib/minizip/ |
D | mztools.c | 37 int err = Z_OK; 127 if (err != Z_OK) { 246 if (err == Z_OK) { 269 if (err == Z_OK) {
|