Home
last modified time | relevance | path

Searched refs:mmap_ (Results 1 – 2 of 2) sorted by relevance

/art/runtime/
Dvdex_file.h179 explicit VdexFile(MemMap&& mmap) : mmap_(std::move(mmap)) {} in VdexFile()
241 const uint8_t* Begin() const { return mmap_.Begin(); } in Begin()
242 const uint8_t* End() const { return mmap_.End(); } in End()
243 size_t Size() const { return mmap_.Size(); } in Size()
295 return mmap_.Size() >= sizeof(VerifierDepsHeader) && GetVerifierDepsHeader().IsValid(); in IsValid()
392 mutable MemMap mmap_; variable
Dvdex_file.cc194 reinterpret_cast<DexSectionHeader*>(vdex->mmap_.Begin() + offset)->quickening_info_size_ = 0; in OpenAtAddress()
221 CHECK(mmap_.Protect(val ? (PROT_READ | PROT_WRITE) : PROT_READ)); in AllowWriting()
255 CHECK_NE(mmap_.GetProtect() & PROT_WRITE, 0) in UnquickenInPlace()
256 << "File not mapped writable. Cannot unquicken! " << mmap_; in UnquickenInPlace()
267 reinterpret_cast<DexSectionHeader*>(mmap_.Begin() + offset)->quickening_info_size_ = 0; in UnquickenInPlace()