Home
last modified time | relevance | path

Searched refs:checksum_ (Results 1 – 25 of 25) sorted by relevance

/art/runtime/
Ddex2oat_environment_test.h132 ASSERT_EQ(multi1[0]->GetHeader().checksum_, multi2[0]->GetHeader().checksum_); in SetUp()
133 ASSERT_NE(multi1[1]->GetHeader().checksum_, multi2[1]->GetHeader().checksum_); in SetUp()
Dcommon_runtime_test.h103 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
Dvdex_file.cc379 if (checksums[i] != dex_headers[i]->checksum_) { in MatchesDexFileChecksums()
Druntime_image.cc1128 checksums[checksum_index++] = header->checksum_; in WriteObjects()
Dclass_linker.cc2187 uint32_t dex_checksum = dex_files.at(i)->GetHeader().checksum_; in AddImageSpace()
/art/libdexfile/dex/
Dcompact_dex_file.cc68 temp_header.checksum_ = 0u; in CalculateChecksum()
Ddex_file_loader.cc219 *checksum = checksum->value_or(kEmptyMultiDexChecksum) ^ header->checksum_; in GetMultiDexChecksum()
460 uint32_t checksum = location_checksum.value_or(header->checksum_); in OpenCommon()
463 uint32_t checksum = location_checksum.value_or(header->checksum_); in OpenCommon()
Ddex_file_loader_test.cc422 EXPECT_EQ(0x00d87910U, header.checksum_); in ValidateDexFileHeader()
443 EXPECT_EQ(header.checksum_, dex_file->GetLocationChecksum()); in ValidateDexFileHeader()
Dtest_dex_file_builder.h227 size_t skip = sizeof(header->magic_) + sizeof(header->checksum_);
228 header->checksum_ = adler32(adler32(0L, Z_NULL, 0),
Ddex_file_verifier_test.cc53 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
56 header->checksum_ = adler_checksum; in FixUpChecksum()
1627 header->checksum_ = 0; in TEST_F()
Dart_dex_file_loader_test.cc96 EXPECT_NE(raw->GetHeader().checksum_, raw->GetLocationChecksum()); in TEST_F()
Ddex_file.cc726 dex_file.GetHeader().checksum_, dex_file.GetLocationChecksum(), in operator <<()
Ddex_file_verifier.cc659 if (adler_checksum != header_->checksum_) { in CheckHeader()
661 ErrorStringPrintf("Bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()
665 "Ignoring bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()
Ddex_file.h142 uint32_t checksum_ = 0; // See also location_checksum_ member
/art/profman/
Dprofman.cc500 : dex_location_(dex_location), checksum_(checksum) {} in ProfileFilterKey()
502 uint32_t checksum_; member
505 return checksum_ == other.checksum_ && dex_location_ == other.dex_location_; in operator ==()
508 return checksum_ == other.checksum_ in operator <()
510 : checksum_ < other.checksum_; in operator <()
/art/libartbase/base/
Dcommon_art_test.h193 reinterpret_cast<DexFile::Header*>(copy.data())->checksum_ = checksum; in MutateDexFile()
/art/libdexfile/external/
Ddex_file_ext.cc196 header->checksum_, in ADexFile_create()
/art/dex2oat/linker/
Doat_writer_test.cc285 dex_file_data->GetHeader().checksum_); in CheckOatWriteResult()
577 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail()
/art/tools/hiddenapi/
Dhiddenapi.cc291 header->checksum_ = dex_file->CalculateChecksum(); in UpdateDexChecksums()
738 header->checksum_ = DexFile::CalculateChecksum(begin, header->file_size_); in WriteTo()
/art/runtime/oat/
Doat_file_manager.cc578 dex_headers[i]->checksum_, in OpenDexFilesFromOat_Impl()
Doat_file_assistant.cc565 checksum, header->checksum_, header->file_size_ - DexFile::kNumNonChecksumBytes); in AnonymousDexVdexLocation()
/art/openjdkjvmti/
Dti_class.cc114 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map.Begin())->checksum_; in MakeSingleDexFile()
Dti_redefine.cc722 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map.Begin())->checksum_; in AddRedefinition()
/art/oatdump/
Doatdump.cc989 reinterpret_cast<DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_ = in ExportDexFile()
997 reinterpret_cast<DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_; in ExportDexFile()
/art/dexdump/
Ddexdump.cc659 fprintf(gOutFile, "checksum : %08x\n", pHeader.checksum_); in dumpFileHeader()