Searched refs:checksums (Results 1 - 9 of 9) sorted by relevance

/art/runtime/dex/
H A Dart_dex_file_loader_test.cc64 std::vector<uint32_t> checksums; local
69 &checksums,
72 ASSERT_EQ(1U, checksums.size());
73 EXPECT_EQ(java_lang_dex_file_->GetLocationChecksum(), checksums[0]);
78 std::vector<uint32_t> checksums; local
82 &checksums,
87 ASSERT_EQ(2U, checksums.size());
90 EXPECT_EQ(dexes[0]->GetLocationChecksum(), checksums[0]);
93 EXPECT_EQ(dexes[1]->GetLocationChecksum(), checksums[1]);
H A Dart_dex_file_loader.h41 // Returns the checksums of a file for comparison with GetLocationChecksum().
49 // Return true if the checksums could be found, false otherwise.
51 std::vector<uint32_t>* checksums,
H A Dart_dex_file_loader.cc87 std::vector<uint32_t>* checksums,
91 CHECK(checksums != nullptr);
135 checksums->push_back(zip_entry->GetCrc32());
151 checksums->push_back(dex_file->GetHeader().checksum_);
86 GetMultiDexChecksums(const char* filename, std::vector<uint32_t>* checksums, std::string* error_msg, int zip_fd, bool* zip_file_only_contains_uncompressed_dex) const argument
/art/runtime/
H A Ddex2oat_environment_test.h70 std::vector<uint32_t> checksums; variable
79 dex_file_loader.GetMultiDexChecksums(GetStrippedDexSrc1().c_str(), &checksums, &error_msg))
165 // image checksums in the oat_file_assistant_tests.
H A Dclass_loader_context.cc127 class_loader_chain_.back().checksums.push_back(checksum);
259 info.checksums.clear();
263 info.checksums.push_back(dex->GetLocationChecksum());
373 // dex2oat does not need the checksums.
636 info.checksums.push_back(dex_file->GetLocationChecksum());
724 DCHECK_EQ(info.classpath.size(), info.checksums.size());
725 DCHECK_EQ(expected_info.classpath.size(), expected_info.checksums.size());
778 // Compare the checksums.
779 if (info.checksums[k] != expected_info.checksums[
[all...]
H A Dclass_loader_context.h95 // This is the same as EncodeContextForOatFile but without adding the checksums
158 // The list of class path elements checksums.
159 // May be empty if the checksums are not given when the context is created.
160 std::vector<uint32_t> checksums; member in struct:art::ClassLoaderContext::ClassLoaderInfo
208 // together with their checksums.
/art/libdexfile/dex/
H A Ddex_file_loader.h99 // Returns the checksums of a file for comparison with GetLocationChecksum().
107 // Return true if the checksums could be found, false otherwise.
109 std::vector<uint32_t>* checksums,
H A Ddex_file_loader.cc211 std::vector<uint32_t>* checksums ATTRIBUTE_UNUSED,
/art/runtime/gc/space/
H A Dimage_space.cc1887 std::vector<uint32_t> checksums; local
1888 if (!dex_file_loader.GetMultiDexChecksums(dex_file_location.c_str(), &checksums, error_msg)) {
1889 *error_msg = StringPrintf("ValidateOatFile failed to get checksums of dex file '%s' "
1896 CHECK(!checksums.empty());
1897 if (checksums[0] != oat_dex_file->GetDexFileLocationChecksum()) {
1903 checksums[0]);
1907 // Verify checksums for any related multidex entries.
1908 for (size_t i = 1; i < checksums.size(); i++) {
1922 if (checksums[i] != multi_dex->GetDexFileLocationChecksum()) {
1928 checksums[
[all...]

Completed in 1324 milliseconds