Searched refs:zerr (Results 1 – 2 of 2) sorted by relevance
60 int zerr; in inflateToBuffer() local85 zerr = inflateInit2(&zstream, -MAX_WBITS); in inflateToBuffer()86 if (zerr != Z_OK) { in inflateToBuffer()87 if (zerr == Z_VERSION_ERROR) { in inflateToBuffer()91 ALOGE("Call to inflateInit2 failed (zerr=%d)\n", zerr); in inflateToBuffer()124 zerr = inflate(&zstream, Z_NO_FLUSH); in inflateToBuffer()125 if (zerr != Z_OK && zerr != Z_STREAM_END) { in inflateToBuffer()126 ALOGD("zlib inflate call failed (zerr=%d)\n", zerr); in inflateToBuffer()131 } while (zerr == Z_OK); in inflateToBuffer()133 assert(zerr == Z_STREAM_END); /* other errors should've been caught */ in inflateToBuffer()
753 int zerr; in compressFpToFp() local778 zerr = deflateInit2(&zstream, Z_BEST_COMPRESSION, in compressFpToFp()780 if (zerr != Z_OK) { in compressFpToFp()782 if (zerr == Z_VERSION_ERROR) { in compressFpToFp()786 ALOGD("Call to deflateInit2 failed (zerr=%d)\n", zerr); in compressFpToFp()832 zerr = deflate(&zstream, flush); in compressFpToFp()833 if (zerr != Z_OK && zerr != Z_STREAM_END) { in compressFpToFp()834 ALOGD("zlib deflate call failed (zerr=%d)\n", zerr); in compressFpToFp()841 (zerr == Z_STREAM_END && zstream.avail_out != (uInt) kBufSize)) in compressFpToFp()855 } while (zerr == Z_OK); in compressFpToFp()[all …]