Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DZipUtils.cpp126 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
129 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer()
130 return (zip_archive::Inflate(reader, compressedLen, uncompressedLen, &writer, nullptr) == 0); in inflateToBuffer()
134 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
137 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer()
138 return (zip_archive::Inflate(reader, compressedLen, uncompressedLen, &writer, nullptr) == 0); in inflateToBuffer()
142 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
145 BufferWriter writer(buf, uncompressedLen); in inflateToBuffer()
146 return (zip_archive::Inflate(reader, compressedLen, uncompressedLen, &writer, nullptr) == 0); in inflateToBuffer()
DAsset.cpp199 long uncompressedLen, compressedLen; in createFromCompressedFile() local
221 scanResult = ZipUtils::examineGzip(fp, &method, &uncompressedLen, in createFromCompressedFile()
232 result = pAsset->openChunk(fd, offset, method, uncompressedLen, in createFromCompressedFile()
267 int compressionMethod, size_t uncompressedLen, size_t compressedLen,
275 uncompressedLen, compressedLen);
324 size_t uncompressedLen, AccessMode mode) in createFromCompressedMap() argument
330 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
339 size_t uncompressedLen, AccessMode mode) in createFromCompressedMap() argument
343 status_t result = pAsset->openChunk(dataMap.get(), uncompressedLen); in createFromCompressedMap()
759 int compressionMethod, size_t uncompressedLen, size_t compressedLen) in openChunk() argument
[all …]
DAssetManager.cpp924 uint32_t uncompressedLen; in openAssetFromZipLocked() local
928 if (!pZipFile->getEntryInfo(entry, &method, &uncompressedLen, NULL, NULL, in openAssetFromZipLocked()
947 static_cast<size_t>(uncompressedLen), mode); in openAssetFromZipLocked()
/frameworks/base/libs/androidfw/include/androidfw/
DZipUtils.h39 static bool inflateToBuffer(FILE* fp, void* buf, long uncompressedLen,
41 static bool inflateToBuffer(int fd, void* buf, long uncompressedLen,
43 static bool inflateToBuffer(const void *in, void* buf, long uncompressedLen,
DAsset.h210 size_t uncompressedLen, AccessMode mode);
213 size_t uncompressedLen, AccessMode mode);
305 size_t uncompressedLen, size_t compressedLen);
312 status_t openChunk(FileMap* dataMap, size_t uncompressedLen);
/frameworks/base/tools/aapt/
DMain.h41 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()