Home
last modified time | relevance | path

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

12

/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.cc53 const uint32_t non_sum = sizeof(DexFile::Header::magic_) + sizeof(DexFile::Header::checksum_); in FixUpChecksum()
56 header->checksum_ = adler_checksum; in FixUpChecksum()
1638 header->checksum_ = 0; in TEST_F()
Ddex_file_loader.cc300 dex_header->checksum_, in OpenAll()
Ddex_file.cc590 dex_file.GetHeader().checksum_, dex_file.GetLocationChecksum(), in operator <<()
Ddex_file.h92 uint32_t checksum_ = 0; // See also location_checksum_ member
Ddex_file_verifier.cc586 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()
/art/openjdkjvmti/
Dfixed_up_dex_file.cc50 reinterpret_cast<art::DexFile::Header*>(const_cast<uint8_t*>(dex_file->Begin()))->checksum_ = in RecomputeDexChecksum()
Dti_class.cc114 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/profman/
Dprofman.cc435 : dex_location_(dex_location), checksum_(checksum) {} in ProfileFilterKey()
437 uint32_t checksum_; member
440 return checksum_ == other.checksum_ && dex_location_ == other.dex_location_; in operator ==()
443 return checksum_ == other.checksum_ in operator <()
445 : checksum_ < other.checksum_; in operator <()
/art/runtime/
Dvdex_file.cc427 const uint32_t* checksum_ptr = &dex_file->GetHeader().checksum_; in WriteToDisk()
475 if (checksums[i] != dex_headers[i]->checksum_) { in MatchesDexFileChecksums()
Dcommon_runtime_test.h104 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
Doat_file_assistant.cc448 header->checksum_, in AnonymousDexVdexLocation()
/art/libartbase/base/
Dcommon_art_test.h218 const_cast<DexFile::Header&>(dex_file->GetHeader()).checksum_ = dex_file->CalculateChecksum(); in MutateDexFile()
/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.cc808 header.checksum_ = header_->Checksum(); in WriteHeader()
Ddex_ir_builder.cc255 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/dex2oat/linker/
Doat_writer_test.cc294 dex_file_data->GetHeader().checksum_); in CheckOatWriteResult()
595 const_cast<DexFile::Header*>(&data->GetHeader())->checksum_++; in MaybeModifyDexFileToFail()
/art/dexdump/
Ddexdump.cc559 fprintf(gOutFile, "checksum : %08x\n", pHeader.checksum_); in dumpFileHeader()

12