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()
750 int zerr; in compressFpToFp() local775 zerr = deflateInit2(&zstream, Z_BEST_COMPRESSION, in compressFpToFp()777 if (zerr != Z_OK) { in compressFpToFp()779 if (zerr == Z_VERSION_ERROR) { in compressFpToFp()783 ALOGD("Call to deflateInit2 failed (zerr=%d)\n", zerr); in compressFpToFp()829 zerr = deflate(&zstream, flush); in compressFpToFp()830 if (zerr != Z_OK && zerr != Z_STREAM_END) { in compressFpToFp()831 ALOGD("zlib deflate call failed (zerr=%d)\n", zerr); in compressFpToFp()838 (zerr == Z_STREAM_END && zstream.avail_out != (uInt) kBufSize)) in compressFpToFp()852 } while (zerr == Z_OK); in compressFpToFp()[all …]