Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DZipUtils.cpp55 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
63 assert(uncompressedLen >= 0); in inflateToBuffer()
78 zstream.avail_out = uncompressedLen; in inflateToBuffer()
135 if ((long) zstream.total_out != uncompressedLen) { in inflateToBuffer()
137 zstream.total_out, uncompressedLen); in inflateToBuffer()
217 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
221 uncompressedLen, compressedLen); in inflateToBuffer()
225 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
229 uncompressedLen, compressedLen); in inflateToBuffer()
233 long uncompressedLen, long compressedLen) in inflateToBuffer() argument
[all …]
DAsset.cpp192 long uncompressedLen, compressedLen; in createFromCompressedFile() local
214 scanResult = ZipUtils::examineGzip(fp, &method, &uncompressedLen, in createFromCompressedFile()
225 result = pAsset->openChunk(fd, offset, method, uncompressedLen, in createFromCompressedFile()
260 int compressionMethod, size_t uncompressedLen, size_t compressedLen,
268 uncompressedLen, compressedLen);
299 size_t uncompressedLen, AccessMode mode) in createFromCompressedMap() argument
305 result = pAsset->openChunk(dataMap, uncompressedLen); in createFromCompressedMap()
705 int compressionMethod, size_t uncompressedLen, size_t compressedLen) in openChunk() argument
720 mUncompressedLen = uncompressedLen; in openChunk()
725 if (uncompressedLen > StreamingZipInflater::OUTPUT_CHUNK_SIZE) { in openChunk()
[all …]
DAssetManager.cpp1160 uint32_t uncompressedLen; in openAssetFromZipLocked() local
1164 if (!pZipFile->getEntryInfo(entry, &method, &uncompressedLen, NULL, NULL, in openAssetFromZipLocked()
1183 static_cast<size_t>(uncompressedLen), mode); in openAssetFromZipLocked()
/frameworks/base/include/androidfw/
DZipUtils.h38 static bool inflateToBuffer(FILE* fp, void* buf, long uncompressedLen,
40 static bool inflateToBuffer(int fd, void* buf, long uncompressedLen,
42 static bool inflateToBuffer(void *in, void* buf, long uncompressedLen,
DAsset.h190 size_t uncompressedLen, AccessMode mode);
282 size_t uncompressedLen, size_t compressedLen);
289 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.cpp125 int calcPercent(long uncompressedLen, long compressedLen) in calcPercent() argument
127 if (!uncompressedLen) { in calcPercent()
130 return (int) (100.0 - (compressedLen * 100.0) / uncompressedLen + 0.5); in calcPercent()
/frameworks/base/tools/aapt2/
DZipFile.cpp373 long lfhPosn, startPosn, endPosn, uncompressedLen; in addCommon() local
467 uncompressedLen = inputFp ? ftell(inputFp) : size; in addCommon()
477 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, in addCommon()
507 pEntry->setDataInfo(uncompressedLen, endPosn - startPosn, crc, in addCommon()