Lines Matching refs:checksum
341 * Verify the checksum(s). This is reasonably quick, but does require
342 * touching every byte in the DEX file. The base checksum changes after
347 if (adler != pHeader->checksum) {
348 ALOGE("ERROR: bad checksum (%08x vs %08x)",
349 adler, pHeader->checksum);
353 ALOGV("+++ adler32 checksum (%08x) verified", adler);
359 if (adler != pOptHeader->checksum) {
360 ALOGE("ERROR: bad opt checksum (%08x vs %08x)",
361 adler, pOptHeader->checksum);
365 ALOGV("+++ adler32 opt checksum (%08x) verified", adler);
378 const int nonSum = sizeof(pHeader->magic) + sizeof(pHeader->checksum) +
475 * Compute the DEX file checksum for a memory-mapped DEX file.
482 const int nonSum = sizeof(pHeader->magic) + sizeof(pHeader->checksum);