Home
last modified time | relevance | path

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

12

/art/libdexfile/dex/
Dcompact_dex_file.cc74 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/
Dgen.sh45 checksum=`head -c 32 -z "$TMP/file${suffix}.dex" | tail -c 24 -z | base64`
46 echo ' Base64.getDecoder().decode("'${checksum}'"),'
/art/libartbase/base/
Dcommon_art_test.h102 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/
DHeaderItem.java25 public int checksum; field in HeaderItem
55 checksum = file.readUInt(); in read()
96 file.writeUInt(checksum); in write()
DRawDexFile.java341 header.checksum = newChecksum; in updateHeader()
/art/libprofile/profile/
Dprofile_compilation_info.cc103 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 …]
Dprofile_compilation_info.h92 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
Dprofile_compilation_info_test.cc1005 [&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/
Dinfo.txt14 3) Change the checksum in the dex header.
/art/test/663-odd-dex-size2/
Dinfo.txt14 3) Change the checksum in the dex header.
/art/test/663-odd-dex-size3/
Dinfo.txt14 3) Change the checksum in the dex header.
/art/test/663-odd-dex-size4/
Dinfo.txt19 3) Change the checksum in the dex header.
/art/runtime/
Doat_file_assistant.cc438 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()
Doat.h63 void SetChecksum(uint32_t checksum);
Dclass_loader_context.cc219 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()
Doat_file.cc1853 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/
Dstaticfields.txt5 checksum : 52d4fc6d
Dinvoke-polymorphic.txt5 checksum : 0b5f9fd7
Dvalues.txt5 checksum : 7605eec0
Dconst-method-handle.txt5 checksum : 16656a27
/art/runtime/gc/space/
Dimage_space.cc1093 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/
Ddex_ir.h353 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/
Dprofman.cc434 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()
Dprofile_assistant_test.cc1330 [&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/
Dti_class.cc114 uint32_t checksum = reinterpret_cast<const art::DexFile::Header*>(map.Begin())->checksum_; in MakeSingleDexFile() local
118 checksum, in MakeSingleDexFile()

12