Lines Matching refs:oat_file
48 std::unique_ptr<OatFile> oat_file(new OatFile(location, false)); in OpenWithElfFile() local
49 oat_file->elf_file_.reset(elf_file); in OpenWithElfFile()
51 oat_file->begin_ = elf_file->Begin() + hdr->sh_offset; in OpenWithElfFile()
52 oat_file->end_ = elf_file->Begin() + hdr->sh_size + hdr->sh_offset; in OpenWithElfFile()
53 return oat_file->Setup(error_msg) ? oat_file.release() : nullptr; in OpenWithElfFile()
61 std::unique_ptr<OatFile> oat_file(new OatFile(location, false)); in OpenMemory() local
62 oat_file->begin_ = &oat_contents[0]; in OpenMemory()
63 oat_file->end_ = &oat_contents[oat_contents.size()]; in OpenMemory()
64 return oat_file->Setup(error_msg) ? oat_file.release() : nullptr; in OpenMemory()
119 std::unique_ptr<OatFile> oat_file(new OatFile(location, true)); in OpenDlopen() local
120 bool success = oat_file->Dlopen(elf_filename, requested_base, error_msg); in OpenDlopen()
124 return oat_file.release(); in OpenDlopen()
134 std::unique_ptr<OatFile> oat_file(new OatFile(location, executable)); in OpenElfFile() local
135 bool success = oat_file->ElfFileOpen(file, requested_base, oat_file_begin, writable, executable, in OpenElfFile()
141 return oat_file.release(); in OpenElfFile()
440 OatFile::OatDexFile::OatDexFile(const OatFile* oat_file, in OatDexFile() argument
446 : oat_file_(oat_file), in OatDexFile()
509 OatFile::OatClass::OatClass(const OatFile* oat_file, in OatClass() argument
515 : oat_file_(oat_file), status_(status), type_(type), in OatClass()