Home
last modified time | relevance | path

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

12

/art/profman/
Dprofman.cc339 : dex_location_(dex_location), checksum_(checksum) {} in ProfileFilterKey()
341 uint32_t checksum_; member
344 return checksum_ == other.checksum_ && dex_location_ == other.dex_location_; in operator ==()
347 return checksum_ == other.checksum_ in operator <()
349 : checksum_ < other.checksum_; in operator <()
/art/libdexfile/dex/
Dcompact_dex_file.cc71 temp_header.checksum_ = 0u; in CalculateChecksum()
Ddex_file_loader_test.cc284 EXPECT_EQ(0x00d87910U, header.checksum_); in ValidateDexFileHeader()
305 EXPECT_EQ(header.checksum_, dex_file->GetLocationChecksum()); in ValidateDexFileHeader()
Dart_dex_file_loader.cc152 checksums->push_back(dex_file->GetHeader().checksum_); in GetMultiDexChecksums()
363 dex_header->checksum_, in OpenFile()
Dtest_dex_file_builder.h225 size_t skip = sizeof(header->magic_) + sizeof(header->checksum_); in Build()
226 header->checksum_ = adler32(adler32(0L, Z_NULL, 0), in Build()
Dart_dex_file_loader_test.cc62 EXPECT_NE(raw->GetHeader().checksum_, raw->GetLocationChecksum()); in TEST_F()
Ddex_file_verifier_test.cc51 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
54 header->checksum_ = adler_checksum; in FixUpChecksum()
1636 header->checksum_ = 0; in TEST_F()
Ddex_file_loader.cc300 dex_header->checksum_, in OpenAll()
Ddex_file.cc589 dex_file.GetHeader().checksum_, dex_file.GetLocationChecksum(), in operator <<()
Ddex_file.h89 uint32_t checksum_ = 0; // See also location_checksum_ member
Ddex_file_verifier.cc315 if (adler_checksum != header_->checksum_) { in CheckHeader()
317 ErrorStringPrintf("Bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()
321 "Ignoring bad checksum (%08x, expected %08x)", adler_checksum, header_->checksum_); in CheckHeader()
/art/openjdkjvmti/
Dfixed_up_dex_file.cc50 reinterpret_cast<art::DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_ = in RecomputeDexChecksum()
Dti_class.cc113 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map.Begin())->checksum_; in MakeSingleDexFile()
/art/libdexfile/external/
Ddex_file_ext.cc191 header->checksum_, in ExtDexFileOpenFromMemory()
272 header->checksum_, in ExtDexFileOpenFromFd()
/art/runtime/
Dvdex_file.cc388 const uint32_t* checksum_ptr = &dex_file->GetHeader().checksum_; in WriteToDisk()
436 if (checksums[i] != dex_headers[i]->checksum_) { in MatchesDexFileChecksums()
Dcommon_runtime_test.h84 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
Doat_file_assistant.cc444 header->checksum_, in AnonymousDexVdexLocation()
/art/libartbase/base/
Dcommon_art_test.h150 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
/art/dex2oat/linker/
Doat_writer_test.cc546 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail()
626 dex_file1_data->GetHeader().checksum_); in TestDexFileInput()
628 dex_file2_data->GetHeader().checksum_); in TestDexFileInput()
/art/dexlayout/
Ddex_ir.h417 uint32_t Checksum() const { return checksum_; } in Checksum()
427 void SetChecksum(uint32_t new_checksum) { checksum_ = new_checksum; } in SetChecksum()
516 uint32_t checksum_; variable
537 checksum_ = checksum; in ConstructorHelper()
Dcompact_dex_writer.cc274 header.checksum_ = header_->Checksum(); in WriteHeader()
Ddex_writer.cc805 header.checksum_ = header_->Checksum(); in WriteHeader()
Ddex_ir_builder.cc254 disk_header.checksum_, in DexIrBuilder()
/art/tools/hiddenapi/
Dhiddenapi.cc268 header->checksum_ = dex_file->CalculateChecksum(); in UpdateDexChecksums()
846 GetHeader().checksum_ = loaded_dex_->CalculateChecksum(); in UpdateChecksum()
/art/oatdump/
Doatdump.cc986 reinterpret_cast<DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_ = in ExportDexFile()
994 reinterpret_cast<DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_; in ExportDexFile()

12