Searched refs:crc32 (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | BackupHelpers.cpp | 228 int crc = crc32(0L, Z_NULL, 0); in write_update_file() 319 int crc = crc32(0L, Z_NULL, 0); in compute_crc32() 324 crc = crc32(crc, (Bytef*)buf, amt); in compute_crc32() 407 g.s.crc32 = compute_crc32(fd); in back_up_files() 411 f.modTime_sec, f.modTime_nsec, f.mode, f.size, f.crc32); in back_up_files() 413 g.s.modTime_sec, g.s.modTime_nsec, g.s.mode, g.s.size, g.s.crc32); in back_up_files() 415 || f.mode != g.s.mode || f.size != g.s.size || f.crc32 != g.s.crc32) { in back_up_files() 775 crc = crc32(0L, Z_NULL, 0); in WriteFile() 789 crc = crc32(crc, (Bytef*)buf, amt); in WriteFile() 808 r.s.crc32 = crc; in WriteFile() [all …]
|
D | Asset.cpp | 207 unsigned long crc32; in createFromCompressedFile() local 209 &compressedLen, &crc32); in createFromCompressedFile()
|
/frameworks/base/tools/aapt/ |
D | ZipFile.cpp | 651 *pCRC32 = crc32(0L, Z_NULL, 0); in copyFpToFp() 660 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyFpToFp() 681 *pCRC32 = crc32(0L, Z_NULL, 0); in copyDataToFp() 683 *pCRC32 = crc32(*pCRC32, (const unsigned char*)data, size); in copyDataToFp() 708 *pCRC32 = crc32(0L, Z_NULL, 0); in copyPartialFpToFp() 724 *pCRC32 = crc32(*pCRC32, tmpBuf, count); in copyPartialFpToFp() 791 crc = crc32(0L, Z_NULL, 0); in compressFpToFp() 821 crc = crc32(crc, inBuf, getSize); in compressFpToFp()
|
D | ZipEntry.h | 185 void setDataInfo(long uncompLen, long compLen, unsigned long crc32,
|
D | ZipEntry.cpp | 259 void ZipEntry::setDataInfo(long uncompLen, long compLen, unsigned long crc32, in setDataInfo() argument 263 mCDE.mCRC32 = crc32; in setDataInfo()
|
/frameworks/base/include/androidfw/ |
D | BackupHelpers.h | 48 int crc32; member
|
/frameworks/base/core/jni/ |
D | com_android_internal_content_NativeLibraryHelper.cpp | 128 long crc = crc32(0L, Z_NULL, 0); in isFileDifferent() 132 crc = crc32(crc, crcBuffer, numBytes); in isFileDifferent()
|
/frameworks/native/libs/utils/ |
D | README | 242 header := idmap-magic <crc32-original-pkg> <crc32-overlay-pkg>
|