Home
last modified time | relevance | path

Searched refs:pCRC32 (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/tools/aapt/
DZipFile.cpp646 status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32) in copyFpToFp() argument
651 *pCRC32 = crc32(0L, Z_NULL, 0); in copyFpToFp()
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
677 const void* data, size_t size, unsigned long* pCRC32) in copyDataToFp() argument
679 *pCRC32 = crc32(0L, Z_NULL, 0); in copyDataToFp()
681 *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size); in copyDataToFp()
700 unsigned long* pCRC32) in copyPartialFpToFp() argument
705 if (pCRC32 != NULL) in copyPartialFpToFp()
706 *pCRC32 = crc32(0L, Z_NULL, 0); in copyPartialFpToFp()
721 if (pCRC32 != NULL) in copyPartialFpToFp()
[all …]
DZipFile.h229 status_t copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32);
232 const void* data, size_t size, unsigned long* pCRC32);
235 unsigned long* pCRC32);
240 const void* data, size_t size, unsigned long* pCRC32);
/frameworks/base/tools/aapt2/
DZipFile.cpp656 status_t ZipFile::copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32) in copyFpToFp() argument
661 *pCRC32 = crc32(0L, Z_NULL, 0); in copyFpToFp()
670 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp()
687 const void* data, size_t size, unsigned long* pCRC32) in copyDataToFp() argument
689 *pCRC32 = crc32(0L, Z_NULL, 0); in copyDataToFp()
691 *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size); in copyDataToFp()
710 unsigned long* pCRC32) in copyPartialFpToFp() argument
715 if (pCRC32 != NULL) in copyPartialFpToFp()
716 *pCRC32 = crc32(0L, Z_NULL, 0); in copyPartialFpToFp()
731 if (pCRC32 != NULL) in copyPartialFpToFp()
[all …]
DZipFile.h237 status_t copyFpToFp(FILE* dstFp, FILE* srcFp, unsigned long* pCRC32);
240 const void* data, size_t size, unsigned long* pCRC32);
243 unsigned long* pCRC32);
248 const void* data, size_t size, unsigned long* pCRC32);
/frameworks/base/include/androidfw/
DZipUtils.h62 long* pUncompressedLen, long* pCompressedLen, unsigned long* pCRC32);
/frameworks/base/libs/androidfw/
DZipUtils.cpp256 long* pUncompressedLen, long* pCompressedLen, unsigned long* pCRC32) in examineGzip() argument
326 *pCRC32 = get4LE(&buf[0]); in examineGzip()