Home
last modified time | relevance | path

Searched refs:zerr (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/androidfw/
DZipUtils.cpp60 int zerr; in inflateToBuffer() local
85 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()
/frameworks/base/tools/aapt/
DZipFile.cpp751 int zerr; in compressFpToFp() local
776 zerr = deflateInit2(&zstream, Z_BEST_COMPRESSION, in compressFpToFp()
778 if (zerr != Z_OK) { in compressFpToFp()
780 if (zerr == Z_VERSION_ERROR) { in compressFpToFp()
784 ALOGD("Call to deflateInit2 failed (zerr=%d)\n", zerr); in compressFpToFp()
830 zerr = deflate(&zstream, flush); in compressFpToFp()
831 if (zerr != Z_OK && zerr != Z_STREAM_END) { in compressFpToFp()
832 ALOGD("zlib deflate call failed (zerr=%d)\n", zerr); in compressFpToFp()
839 (zerr == Z_STREAM_END && zstream.avail_out != (uInt) kBufSize)) in compressFpToFp()
853 } while (zerr == Z_OK); in compressFpToFp()
[all …]
/frameworks/base/tools/aapt2/
DZipFile.cpp761 int zerr; in compressFpToFp() local
786 zerr = deflateInit2(&zstream, Z_BEST_COMPRESSION, in compressFpToFp()
788 if (zerr != Z_OK) { in compressFpToFp()
790 if (zerr == Z_VERSION_ERROR) { in compressFpToFp()
794 ALOGD("Call to deflateInit2 failed (zerr=%d)\n", zerr); in compressFpToFp()
840 zerr = deflate(&zstream, flush); in compressFpToFp()
841 if (zerr != Z_OK && zerr != Z_STREAM_END) { in compressFpToFp()
842 ALOGD("zlib deflate call failed (zerr=%d)\n", zerr); in compressFpToFp()
849 (zerr == Z_STREAM_END && zstream.avail_out != (uInt) kBufSize)) in compressFpToFp()
863 } while (zerr == Z_OK); in compressFpToFp()
[all …]