Lines Matching refs:checksum
81 static bool ChecksumMatch(uint32_t dex_file_checksum, uint32_t checksum) {
82 return kDebugIgnoreChecksum || dex_file_checksum == checksum;
157 uint32_t checksum,
161 checksum,
322 3 * sizeof(uint32_t); // method_map.size + checksum + num_method_ids
408 AddUintToBuffer(&buffer, dex_data.checksum); // uint32_t
563 uint32_t checksum,
582 checksum,
589 // Check that the checksum matches.
591 if (result->checksum != checksum) {
592 LOG(WARNING) << "Checksum mismatch for dex " << profile_key;
614 uint32_t checksum,
623 if (verify_checksum && !ChecksumMatch(result->checksum, checksum)) {
633 const uint32_t checksum = classes.GetLocationChecksum();
634 DexFileData* const data = GetOrAddDexFileData(dex_location, checksum, classes.NumMethodIds());
652 // The data is null if there is a mismatch in the checksum or number of method ids.
695 if (class_dex_data == nullptr) { // checksum mismatch
706 if (data == nullptr) { // checksum mismatch
722 if (class_dex_data == nullptr) { // checksum mismatch
737 uint32_t checksum,
740 DexFileData* const data = GetOrAddDexFileData(dex_location, checksum, num_method_ids);
821 line_header.checksum,
863 line_header.checksum,
986 READ_UINT(uint32_t, buffer, line_header->checksum, error);
1030 line_header.checksum,
1033 *error = "Error when reading profile file line header: checksum mismatch for "
1089 if (!ChecksumMatch(dex_data->checksum, dex_file->GetLocationChecksum())) {
1090 LOG(ERROR) << "Dex checksum mismatch while verifying profile "
1091 << "dex location " << dex_location << " (checksum="
1092 << dex_file->GetLocationChecksum() << ", profile checksum="
1093 << dex_data->checksum;
1350 if (!filter_fn(profile_line_headers[k].dex_location, profile_line_headers[k].checksum)) {
1389 if (!filter_fn(other_profile_line_header.dex_location, other_profile_line_header.checksum)) {
1393 // a mismatched checksum.
1397 if ((dex_data != nullptr) && (dex_data->checksum != other_profile_line_header.checksum)) {
1398 LOG(WARNING) << "Checksum mismatch for dex " << other_profile_line_header.dex_location;
1405 if (!filter_fn(profile_line_headers[i].dex_location, profile_line_headers[i].checksum)) {
1409 profile_line_headers[i].checksum,
1481 // a mismatched checksum.
1485 if ((dex_data != nullptr) && (dex_data->checksum != other_dex_data->checksum)) {
1486 LOG(WARNING) << "Checksum mismatch for dex " << other_dex_data->profile_key;
1505 other_dex_data->checksum,
1516 other_dex_data->checksum));
1605 pmi->dex_references[dex_data->profile_index].dex_checksum = dex_data->checksum;
1797 if (dex_data->checksum != it->second->GetLocationChecksum()) {
1798 LOG(ERROR) << "Dex checksum mismatch when getting resolved classes from profile for "
1799 << "location " << dex_location << " (checksum=" << dex_file->GetLocationChecksum()
1800 << ", profile checksum=" << dex_data->checksum;
1805 dex_data->checksum,
1880 uint32_t checksum = dex_file->GetLocationChecksum();
1890 checksum,
2082 if (dex_data->checksum == dex_file->GetLocationChecksum()
2104 uint32_t checksum ATTRIBUTE_UNUSED) {