/art/libdexfile/dex/ |
D | compact_dex_file.cc | 74 uint32_t checksum = ChecksumMemoryRange(reinterpret_cast<const uint8_t*>(&temp_header), in CalculateChecksum() local 77 checksum = (checksum * 31) ^ ChecksumMemoryRange(base_begin + sizeof(temp_header), in CalculateChecksum() 79 checksum = (checksum * 31) ^ ChecksumMemoryRange(data_begin, data_size); in CalculateChecksum() 80 return checksum; in CalculateChecksum()
|
/art/test/693-vdex-inmem-loader-evict/src-secondary/ |
D | gen.sh | 45 checksum=`head -c 32 -z "$TMP/file${suffix}.dex" | tail -c 24 -z | base64` 46 echo ' Base64.getDecoder().decode("'${checksum}'"),'
|
/art/libartbase/base/ |
D | common_art_test.h | 102 uint32_t checksum, in Create() argument 105 fake_dex->dex = CreateFakeDex(location, checksum, num_method_ids, &fake_dex->storage); in Create() 111 uint32_t checksum, in CreateFakeDex() argument 128 checksum, in CreateFakeDex() 152 uint32_t checksum, in AddFakeDex() argument 154 fake_dex_files.push_back(FakeDex::Create(location, checksum, num_method_ids)); in AddFakeDex()
|
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | HeaderItem.java | 25 public int checksum; field in HeaderItem 55 checksum = file.readUInt(); in read() 96 file.writeUInt(checksum); in write()
|
D | RawDexFile.java | 341 header.checksum = newChecksum; in updateHeader()
|
/art/libprofile/profile/ |
D | profile_compilation_info.cc | 103 static bool ChecksumMatch(uint32_t dex_file_checksum, uint32_t checksum) { in ChecksumMatch() argument 104 return kDebugIgnoreChecksum || dex_file_checksum == checksum; in ChecksumMatch() 454 AddUintToBuffer(&buffer, dex_data.checksum); // uint32_t in Save() 610 uint32_t checksum, in GetOrAddDexFileData() argument 630 checksum, in GetOrAddDexFileData() 640 if (result->checksum != checksum) { in GetOrAddDexFileData() 663 uint32_t checksum, in FindDexData() argument 672 if (verify_checksum && !ChecksumMatch(result->checksum, checksum)) { in FindDexData() 687 if (!ChecksumMatch(dex_data->checksum, dex_file->GetLocationChecksum())) { in FindDexDataUsingAnnotations() 707 if (ChecksumMatch(dex_data->checksum, dex_file->GetLocationChecksum())) { in FindAllDexData() [all …]
|
D | profile_compilation_info.h | 92 DexReference(const std::string& key, uint32_t checksum, uint32_t num_methods) in DexReference() 93 : profile_key(key), dex_checksum(checksum), num_method_ids(num_methods) {} in DexReference() 400 static bool ProfileFilterFnAcceptAll(const std::string& dex_location, uint32_t checksum); 609 checksum(location_checksum), in DexFileData() 638 return checksum == other.checksum && 667 uint32_t checksum; member 690 uint32_t checksum, 707 uint32_t checksum, 745 uint32_t checksum; member
|
D | profile_compilation_info_test.cc | 1005 [&dex1 = dex1, &dex3 = dex3](const std::string& dex_location, uint32_t checksum) -> bool { in TEST_F() argument 1006 return (dex_location == dex1->GetLocation() && checksum == dex1->GetLocationChecksum()) in TEST_F() 1007 || (dex_location == dex3->GetLocation() && checksum == dex3->GetLocationChecksum()); in TEST_F() 1169 [&dex2 = dex2](const std::string& dex_location, uint32_t checksum) -> bool { in TEST_F() argument 1170 return (dex_location == dex2->GetLocation() && checksum == dex2->GetLocationChecksum()); in TEST_F()
|
/art/test/663-odd-dex-size/ |
D | info.txt | 14 3) Change the checksum in the dex header.
|
/art/test/663-odd-dex-size2/ |
D | info.txt | 14 3) Change the checksum in the dex header.
|
/art/test/663-odd-dex-size3/ |
D | info.txt | 14 3) Change the checksum in the dex header.
|
/art/test/663-odd-dex-size4/ |
D | info.txt | 19 3) Change the checksum in the dex header.
|
/art/runtime/ |
D | oat_file_assistant.cc | 438 uint32_t checksum = adler32(0L, Z_NULL, 0); in AnonymousDexVdexLocation() local 440 checksum = adler32_combine(checksum, in AnonymousDexVdexLocation() 444 *location_checksum = checksum; in AnonymousDexVdexLocation() 448 *dex_location = StringPrintf("%s%u", kAnonymousDexPrefix, checksum); in AnonymousDexVdexLocation() 451 *dex_location = StringPrintf("%s/%s%u.jar", data_dir.c_str(), kAnonymousDexPrefix, checksum); in AnonymousDexVdexLocation()
|
D | oat.h | 63 void SetChecksum(uint32_t checksum);
|
D | class_loader_context.cc | 219 uint32_t checksum = 0; in ParseClassLoaderSpec() local 220 if (!android::base::ParseUint(dex_file_with_checksum[1].c_str(), &checksum)) { in ParseClassLoaderSpec() 229 info->checksums.push_back(checksum); in ParseClassLoaderSpec()
|
D | oat_file.cc | 1853 std::string checksum = StringPrintf("0x%08x", oat_dex_file->GetDexFileLocationChecksum()); in GetOatDexFile() local 1857 + " has checksum " + checksum + " but " + required_checksum + " was required"; in GetOatDexFile()
|
/art/test/dexdump/ |
D | staticfields.txt | 5 checksum : 52d4fc6d
|
D | invoke-polymorphic.txt | 5 checksum : 0b5f9fd7
|
D | values.txt | 5 checksum : 7605eec0
|
D | const-method-handle.txt | 5 checksum : 16656a27
|
/art/runtime/gc/space/ |
D | image_space.cc | 1093 uint32_t checksum = 0u; in ValidateBootImageChecksum() local 1109 checksum ^= current_header.GetImageChecksum(); in ValidateBootImageChecksum() 1114 if (image_header.GetBootImageChecksum() != checksum) { in ValidateBootImageChecksum() 1117 checksum, in ValidateBootImageChecksum() 1596 uint32_t checksum, in AppendImageChecksum() argument 1599 StringAppendF(checksums, "i;%u/%08x", component_count, checksum); in AppendImageChecksum() 1603 uint32_t checksum, in CheckAndRemoveImageChecksum() argument 1607 AppendImageChecksum(component_count, checksum, &image_checksum); in CheckAndRemoveImageChecksum() 1633 uint32_t checksum; member 2001 composite_checksum ^= chunk.checksum; in ValidateBootImageChecksum() [all …]
|
/art/dexlayout/ |
D | dex_ir.h | 353 uint32_t checksum, in Header() argument 365 checksum, in Header() 377 uint32_t checksum, in Header() argument 402 checksum, in Header() 528 uint32_t checksum, in ConstructorHelper() argument 537 checksum_ = checksum; in ConstructorHelper()
|
/art/profman/ |
D | profman.cc | 434 ProfileFilterKey(const std::string& dex_location, uint32_t checksum) in ProfileFilterKey() 435 : dex_location_(dex_location), checksum_(checksum) {} in ProfileFilterKey() 472 [profile_filter_keys](const std::string& profile_key, uint32_t checksum) { in ProcessProfiles() argument 479 return profile_filter_keys.find(ProfileFilterKey(base_key, checksum)) != in ProcessProfiles()
|
D | profile_assistant_test.cc | 1330 [&d1, &d2](const std::string& dex_location, uint32_t checksum) -> bool { in TEST_F() argument 1332 && checksum == d1.GetLocationChecksum()) in TEST_F() 1334 && checksum == d2.GetLocationChecksum()); in TEST_F()
|
/art/openjdkjvmti/ |
D | ti_class.cc | 114 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map.Begin())->checksum_; in MakeSingleDexFile() local 118 checksum, in MakeSingleDexFile()
|