Home
last modified time | relevance | path

Searched refs:checksums (Results 1 – 10 of 10) 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/
Ddexopt_test.cc133 const char* checksums = oat_header.GetStoreValueByKey(OatHeader::kBootClassPathChecksumsKey); in GenerateOatForTest() local
134 ASSERT_TRUE(checksums != nullptr); in GenerateOatForTest()
136 EXPECT_NE(boot_image_checksums, checksums); in GenerateOatForTest()
138 EXPECT_EQ(boot_image_checksums, checksums); in GenerateOatForTest()
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()
Dclass_loader_context.cc225 info->checksums.push_back(checksum); in ParseClassLoaderSpec()
505 info->checksums.clear(); in OpenDexFiles()
509 info->checksums.push_back(dex->GetLocationChecksum()); in OpenDexFiles()
1071 info->checksums.push_back(dex_file->GetLocationChecksum()); in CreateInfoFromClassLoader()
1188 DCHECK_EQ(info.classpath.size(), info.checksums.size()); in ClassLoaderInfoMatch()
1189 DCHECK_EQ(expected_info.classpath.size(), expected_info.checksums.size()); in ClassLoaderInfoMatch()
1242 if (info.checksums[k] != expected_info.checksums[k]) { in ClassLoaderInfoMatch()
1244 << ". expected=" << expected_info.checksums[k] in ClassLoaderInfoMatch()
1245 << ", found=" << info.checksums[k] in ClassLoaderInfoMatch()
Dclass_loader_context.h183 std::vector<uint32_t> checksums; member
Dvdex_file.cc434 const VdexChecksum* checksums = header.GetDexChecksumsArray(); in MatchesDexFileChecksums() local
436 if (checksums[i] != dex_headers[i]->checksum_) { in MatchesDexFileChecksums()