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.cc584 uint32_t adler_checksum = dex_file_->CalculateChecksum(); in CheckHeader() local
586 if (adler_checksum != header_->checksum_) { in CheckHeader()
588 ErrorStringPrintf("Bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()
592 "Ignoring bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()