Lines Matching refs:dex_file
110 …std::unique_ptr<const DexFile> dex_file(DexFile::OpenFile(fd.release(), filename, false, error_msg… in GetChecksum() local
111 if (dex_file.get() == NULL) { in GetChecksum()
114 *checksum = dex_file->GetHeader().checksum_; in GetChecksum()
133 std::unique_ptr<const DexFile> dex_file(DexFile::OpenFile(fd.release(), location, true, in Open() local
135 if (dex_file.get() != nullptr) { in Open()
136 dex_files->push_back(dex_file.release()); in Open()
208 const DexFile* dex_file = OpenMemory(location, dex_header->checksum_, map.release(), error_msg); in OpenFile() local
209 if (dex_file == nullptr) { in OpenFile()
215 if (verify && !DexFileVerifier::Verify(dex_file, dex_file->Begin(), dex_file->Size(), location, in OpenFile()
220 return dex_file; in OpenFile()
263 std::unique_ptr<const DexFile> dex_file(OpenMemory(location, zip_entry->GetCrc32(), map.release(), in Open() local
265 if (dex_file.get() == nullptr) { in Open()
271 if (!dex_file->DisableWrite()) { in Open()
276 CHECK(dex_file->IsReadOnly()) << location; in Open()
277 if (!DexFileVerifier::Verify(dex_file.get(), dex_file->Begin(), dex_file->Size(), in Open()
283 return dex_file.release(); in Open()
289 std::unique_ptr<const DexFile> dex_file(Open(zip_archive, kClassesDex, location, error_msg, in OpenFromZip() local
291 if (dex_file.get() == nullptr) { in OpenFromZip()
295 dex_files->push_back(dex_file.release()); in OpenFromZip()
331 std::unique_ptr<DexFile> dex_file(new DexFile(base, size, location, location_checksum, mem_map)); in OpenMemory() local
332 if (!dex_file->Init(error_msg)) { in OpenMemory()
335 return dex_file.release(); in OpenMemory()
976 std::ostream& operator<<(std::ostream& os, const DexFile& dex_file) { in operator <<() argument
978 dex_file.GetLocation().c_str(), in operator <<()
979 dex_file.GetHeader().checksum_, dex_file.GetLocationChecksum(), in operator <<()
980 dex_file.Begin(), dex_file.Begin() + dex_file.Size()); in operator <<()
1114 EncodedStaticFieldValueIterator::EncodedStaticFieldValueIterator(const DexFile& dex_file, in EncodedStaticFieldValueIterator() argument
1119 : dex_file_(dex_file), dex_cache_(dex_cache), class_loader_(class_loader), linker_(linker), in EncodedStaticFieldValueIterator()
1123 ptr_ = dex_file.GetEncodedStaticFieldValuesArray(class_def); in EncodedStaticFieldValueIterator()