Home | History | Annotate | Download | only in runtime

Lines Matching refs:OatFile

41 void OatFile::CheckLocation(const std::string& location) {
45 OatFile* OatFile::OpenWithElfFile(ElfFile* elf_file,
48 std::unique_ptr<OatFile> oat_file(new OatFile(location, false));
56 OatFile* OatFile::OpenMemory(std::vector<uint8_t>& oat_contents,
61 std::unique_ptr<OatFile> oat_file(new OatFile(location, false));
67 OatFile* OatFile::Open(const std::string& filename,
75 std::unique_ptr<OatFile> ret;
105 OatFile* OatFile::OpenWritable(File* file, const std::string& location, std::string* error_msg) {
110 OatFile* OatFile::OpenReadable(File* file, const std::string& location, std::string* error_msg) {
115 OatFile* OatFile::OpenDlopen(const std::string& elf_filename,
119 std::unique_ptr<OatFile> oat_file(new OatFile(location, true));
127 OatFile* OatFile::OpenElfFile(File* file,
134 std::unique_ptr<OatFile> oat_file(new OatFile(location, executable));
144 OatFile::OatFile(const std::string& location, bool is_executable)
147 secondary_lookup_lock_("OatFile secondary lookup lock", kOatFileSecondaryLookupLock) {
151 OatFile::~OatFile() {
158 bool OatFile::Dlopen(const std::string& elf_filename, byte* requested_base,
195 bool OatFile::ElfFileOpen(File* file, byte* requested_base, uint8_t* oat_file_begin,
232 bool OatFile::Setup(std::string* error_msg) {
354 const OatHeader& OatFile::GetOatHeader() const {
358 const byte* OatFile::Begin() const {
363 const byte* OatFile::End() const {
368 const OatFile::OatDexFile* OatFile::GetOatDexFile(const char* dex_location,
379 const OatFile::OatDexFile* oat_dex_file = nullptr;
426 << " with checksum " << checksum << " in OatFile " << GetLocation();
429 LOG(WARNING) << "OatFile " << GetLocation()
440 OatFile::OatDexFile::OatDexFile(const OatFile* oat_file,
453 OatFile::OatDexFile::~OatDexFile() {}
455 size_t OatFile::OatDexFile::FileSize() const {
459 const DexFile* OatFile::OatDexFile::OpenDexFile(std::string* error_msg) const {
464 uint32_t OatFile::OatDexFile::GetOatClassOffset(uint16_t class_def_index) const {
468 OatFile::OatClass OatFile::OatDexFile::GetOatClass(uint16_t class_def_index) const {
509 OatFile::OatClass::OatClass(const OatFile* oat_file,
542 uint32_t OatFile::OatClass::GetOatMethodOffsetsOffset(uint32_t method_index) const {
550 const OatMethodOffsets* OatFile::OatClass::GetOatMethodOffsets(uint32_t method_index) const {
572 const OatFile::OatMethod OatFile::OatClass::GetOatMethod(uint32_t method_index) const {
587 OatFile::OatMethod::OatMethod(const byte* base,
593 OatFile::OatMethod::~OatMethod() {}
595 void OatFile::OatMethod::LinkMethod(mirror::ArtMethod* method) const {
603 bool OatFile::IsPic() const {