Home
last modified time | relevance | path

Searched refs:checksums (Results 1 – 13 of 13) sorted by relevance

/art/libdexfile/dex/
Dart_dex_file_loader_test.cc66 std::vector<uint32_t> checksums; in TEST_F() local
70 &checksums, in TEST_F()
73 ASSERT_EQ(1U, checksums.size()); in TEST_F()
74 EXPECT_EQ(java_lang_dex_file_->GetLocationChecksum(), checksums[0]); in TEST_F()
79 std::vector<uint32_t> checksums; in TEST_F() local
83 &checksums, in TEST_F()
88 ASSERT_EQ(2U, checksums.size()); in TEST_F()
91 EXPECT_EQ(dexes[0]->GetLocationChecksum(), checksums[0]); in TEST_F()
94 EXPECT_EQ(dexes[1]->GetLocationChecksum(), checksums[1]); in TEST_F()
Dart_dex_file_loader.cc88 std::vector<uint32_t>* checksums, in GetMultiDexChecksums() argument
92 CHECK(checksums != nullptr); in GetMultiDexChecksums()
136 checksums->push_back(zip_entry->GetCrc32()); in GetMultiDexChecksums()
152 checksums->push_back(dex_file->GetHeader().checksum_); in GetMultiDexChecksums()
Dart_dex_file_loader.h51 std::vector<uint32_t>* checksums,
Ddex_file_loader.h118 std::vector<uint32_t>* checksums,
Ddex_file_loader.cc213 std::vector<uint32_t>* checksums ATTRIBUTE_UNUSED, in GetMultiDexChecksums()
/art/runtime/
Dclass_loader_context.cc229 info->checksums.push_back(checksum); in ParseClassLoaderSpec()
512 info->checksums.clear(); in OpenDexFiles()
516 info->checksums.push_back(dex->GetLocationChecksum()); in OpenDexFiles()
586 std::vector<uint32_t> checksums; in EncodeClassPathContexts() local
607 EncodeClassPath(base_dir, dex_locations, checksums, class_loader_chain_->type, out); in EncodeClassPathContexts()
650 const std::vector<uint32_t>& checksums, in EncodeClassPath() argument
653 CHECK(checksums.empty() || dex_locations.size() == checksums.size()); in EncodeClassPath()
671 if (!checksums.empty()) { in EncodeClassPath()
673 out << checksums[k]; in EncodeClassPath()
685 std::vector<uint32_t> checksums; in EncodeContextInternal() local
[all …]
Ddex2oat_environment_test.h70 std::vector<uint32_t> checksums; in SetUp() local
79 dex_file_loader.GetMultiDexChecksums(GetStrippedDexSrc1().c_str(), &checksums, &error_msg)) in SetUp()
Ddexopt_test.cc149 const char* checksums = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in GenerateOatForTest() local
150 ASSERT_TRUE(checksums != nullptr); in GenerateOatForTest()
153 checksums, in GenerateOatForTest()
Dclass_loader_context.h228 std::vector<uint32_t> checksums; member
317 const std::vector<uint32_t>& checksums,
Dvdex_file.cc473 const VdexChecksum* checksums = header.GetDexChecksumsArray(); in MatchesDexFileChecksums() local
475 if (checksums[i] != dex_headers[i]->checksum_) { in MatchesDexFileChecksums()
/art/runtime/gc/space/
Dimage_space_test.cc335 std::string checksums = gc::space::ImageSpace::GetBootClassPathChecksums( in TEST_F() local
339 checksums, in TEST_F()
Dimage_space.cc1597 /*inout*/std::string* checksums) { in AppendImageChecksum() argument
1599 StringAppendF(checksums, "i;%u/%08x", component_count, checksum); in AppendImageChecksum()
3765 std::vector<uint32_t> checksums; in ValidateOatFile() local
3766 if (!dex_file_loader.GetMultiDexChecksums(dex_file_location.c_str(), &checksums, error_msg)) { in ValidateOatFile()
3774 CHECK(!checksums.empty()); in ValidateOatFile()
3775 if (checksums[0] != oat_dex_file->GetDexFileLocationChecksum()) { in ValidateOatFile()
3781 checksums[0]); in ValidateOatFile()
3786 for (size_t i = 1; i < checksums.size(); i++) { in ValidateOatFile()
3800 if (checksums[i] != multi_dex->GetDexFileLocationChecksum()) { in ValidateOatFile()
3806 checksums[i]); in ValidateOatFile()
/art/dex2oat/
Ddex2oat_test.cc994 /*out*/std::vector<uint32_t>* checksums) { in GetDexFileChecksums() argument
1006 checksums->push_back(oat_dex_file->GetDexFileLocationChecksum()); in GetDexFileChecksums()