Home
last modified time | relevance | path

Searched refs:adler_checksum (Results 1 – 2 of 2) sorted by relevance

/art/libdexfile/dex/
Ddex_file_verifier_test.cc52 uint32_t adler_checksum = adler32(0L, Z_NULL, 0); in FixUpChecksum() local
55 adler_checksum = adler32(adler_checksum, non_sum_ptr, expected_size - non_sum); in FixUpChecksum()
56 header->checksum_ = adler_checksum; in FixUpChecksum()
Ddex_file_verifier.cc580 uint32_t adler_checksum = dex_file_->CalculateChecksum(); in CheckHeader() local
582 if (adler_checksum != header_->checksum_) { in CheckHeader()
584 ErrorStringPrintf("Bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()
588 "Ignoring bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()