Home
last modified time | relevance | path

Searched refs:adler (Results 1 – 5 of 5) sorted by relevance

/dalvik/libdex/
DDexFile.cpp349 u4 adler = dexComputeChecksum(pHeader); in dexFileParse() local
350 if (adler != pHeader->checksum) { in dexFileParse()
352 adler, pHeader->checksum); in dexFileParse()
356 LOGV("+++ adler32 checksum (%08x) verified", adler); in dexFileParse()
361 adler = dexComputeOptChecksum(pOptHeader); in dexFileParse()
362 if (adler != pOptHeader->checksum) { in dexFileParse()
364 adler, pOptHeader->checksum); in dexFileParse()
368 LOGV("+++ adler32 opt checksum (%08x) verified", adler); in dexFileParse()
484 uLong adler = adler32(0L, Z_NULL, 0); in dexComputeChecksum() local
487 return (u4) adler32(adler, start + nonSum, pHeader->fileSize - nonSum); in dexComputeChecksum()
DDexOptData.cpp43 uLong adler = adler32(0L, Z_NULL, 0); in dexComputeOptChecksum() local
45 return (u4) adler32(adler, start, end - start); in dexComputeOptChecksum()
DDexSwapVerify.cpp2858 uLong adler = adler32(0L, Z_NULL, 0); in dexSwapAndVerify() local
2863 adler = adler32(adler, ((const u1*) pHeader) + nonSum, in dexSwapAndVerify()
2866 if (adler != expectedChecksum) { in dexSwapAndVerify()
2868 adler, expectedChecksum); in dexSwapAndVerify()
/dalvik/vm/analysis/
DDexPrepare.cpp1519 uLong adler; in computeFileChecksum() local
1527 adler = adler32(0L, Z_NULL, 0); in computeFileChecksum()
1538 adler = adler32(adler, readBuf, actual); in computeFileChecksum()
1543 *pSum = adler; in computeFileChecksum()
1557 uLong adler = adler32(0L, Z_NULL, 0); in updateChecksum() local
1560 adler = adler32(adler, addr + nonSum, len - nonSum); in updateChecksum()
1561 pHeader->checksum = adler; in updateChecksum()
/dalvik/vm/
DCheckJni.cpp1061 uLong adler; member
1090 uLong adler = 0; in create() local
1092 adler = adler32(0L, Z_NULL, 0); in create()
1093 adler = adler32(adler, (const Bytef*)buf, len); in create()
1094 *(uLong*)newBuf = adler; in create()
1099 pExtra->adler = adler; in create()
1180 uLong adler = adler32(0L, Z_NULL, 0); in check() local
1181 adler = adler32(adler, (const Bytef*)dataBuf, len); in check()
1182 if (pExtra->adler != adler) { in check()
1184 pExtra->adler, adler, dataBuf); in check()