Home
last modified time | relevance | path

Searched refs:uncompressedLen (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/utils/
DZipUtils.cpp43 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
52 assert(uncompressedLen >= 0); in inflateToBuffer()
70 zstream.avail_out = uncompressedLen; in inflateToBuffer()
126 if ((long) zstream.total_out != uncompressedLen) { in inflateToBuffer()
128 zstream.total_out, uncompressedLen); in inflateToBuffer()
155 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
164 assert(uncompressedLen >= 0); in inflateToBuffer()
182 zstream.avail_out = uncompressedLen; in inflateToBuffer()
238 if ((long) zstream.total_out != uncompressedLen) { in inflateToBuffer()
240 zstream.total_out, uncompressedLen); in inflateToBuffer()
/frameworks/base/libs/androidfw/
DAsset.cpp186 long uncompressedLen, compressedLen; in createFromCompressedFile() local
208 scanResult = ZipUtils::examineGzip(fp, &method, &uncompressedLen, in createFromCompressedFile()
219 result = pAsset->openChunk(fd, offset, method, uncompressedLen, in createFromCompressedFile()
254 int compressionMethod, size_t uncompressedLen, size_t compressedLen,
262 uncompressedLen, compressedLen);
293 int method, size_t uncompressedLen, AccessMode mode) in createFromCompressedMap() argument
299 result = pAsset->openChunk(dataMap, method, uncompressedLen); in createFromCompressedMap()
699 int compressionMethod, size_t uncompressedLen, size_t compressedLen) in openChunk() argument
714 mUncompressedLen = uncompressedLen; in openChunk()
719 if (uncompressedLen > StreamingZipInflater::OUTPUT_CHUNK_SIZE) { in openChunk()
[all …]
DAssetManager.cpp1068 size_t uncompressedLen; in openAssetFromZipLocked() local
1074 if (!pZipFile->getEntryInfo(entry, &method, &uncompressedLen, NULL, NULL, in openAssetFromZipLocked()
1093 uncompressedLen, mode); in openAssetFromZipLocked()
/frameworks/native/include/utils/
DZipUtils.h36 static bool inflateToBuffer(int fd, void* buf, long uncompressedLen,
38 static bool inflateToBuffer(FILE* fp, void* buf, long uncompressedLen,
/frameworks/base/include/androidfw/
DAsset.h190 size_t uncompressedLen, AccessMode mode);
282 size_t uncompressedLen, size_t compressedLen);
290 size_t uncompressedLen);
/frameworks/base/tools/aapt/
DMain.h33 extern int calcPercent(long uncompressedLen, long compressedLen);
DZipFile.cpp364 long lfhPosn, startPosn, endPosn, uncompressedLen; in addCommon() local
458 uncompressedLen = inputFp ? ftell(inputFp) : size; in addCommon()
468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, in addCommon()
498 pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc, in addCommon()
DCommand.cpp107 int calcPercent(long uncompressedLen, long compressedLen) in calcPercent() argument
109 if (!uncompressedLen) in calcPercent()
112 return (int) (100.0 - (compressedLen * 100.0) / uncompressedLen + 0.5); in calcPercent()