Searched refs:zerr (Results 1 – 3 of 3) sorted by relevance
/frameworks/native/libs/utils/ |
D | ZipUtils.cpp | 49 int zerr; in inflateToBuffer() local 77 zerr = inflateInit2(&zstream, -MAX_WBITS); in inflateToBuffer() 78 if (zerr != Z_OK) { in inflateToBuffer() 79 if (zerr == Z_VERSION_ERROR) { in inflateToBuffer() 83 ALOGE("Call to inflateInit2 failed (zerr=%d)\n", zerr); in inflateToBuffer() 115 zerr = inflate(&zstream, Z_NO_FLUSH); in inflateToBuffer() 116 if (zerr != Z_OK && zerr != Z_STREAM_END) { in inflateToBuffer() 117 ALOGD("zlib inflate call failed (zerr=%d)\n", zerr); in inflateToBuffer() 122 } while (zerr == Z_OK); in inflateToBuffer() 124 assert(zerr == Z_STREAM_END); /* other errors should've been caught */ in inflateToBuffer() [all …]
|
D | ZipFileRO.cpp | 787 int zerr; in inflateBuffer() local 806 zerr = inflateInit2(&zstream, -MAX_WBITS); in inflateBuffer() 807 if (zerr != Z_OK) { in inflateBuffer() 808 if (zerr == Z_VERSION_ERROR) { in inflateBuffer() 812 ALOGE("Call to inflateInit2 failed (zerr=%d)\n", zerr); in inflateBuffer() 820 zerr = inflate(&zstream, Z_FINISH); in inflateBuffer() 821 if (zerr != Z_STREAM_END) { in inflateBuffer() 823 zerr, zstream.next_in, zstream.avail_in, in inflateBuffer() 854 int zerr; in inflateBuffer() local 873 zerr = inflateInit2(&zstream, -MAX_WBITS); in inflateBuffer() [all …]
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 753 int zerr; in compressFpToFp() local 778 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 …]
|