Searched defs:oat_file (Results 1 - 5 of 5) sorted by relevance

/art/runtime/gc/space/
H A Dimage_space.cc28 #include "oat_file.h"
257 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(), local
259 if (oat_file == NULL) {
263 uint32_t oat_checksum = oat_file->GetOatHeader().GetChecksum();
271 return oat_file;
/art/runtime/
H A Doat_file.cc17 #include "oat_file.h"
54 UniquePtr<OatFile> oat_file(new OatFile(location));
55 oat_file->begin_ = &oat_contents[0];
56 oat_file->end_ = &oat_contents[oat_contents.size()];
57 return oat_file->Setup() ? oat_file.release() : NULL;
97 UniquePtr<OatFile> oat_file(new OatFile(location));
98 bool success = oat_file->Dlopen(elf_filename, requested_base);
102 return oat_file.release();
110 UniquePtr<OatFile> oat_file(ne
359 OatDexFile(const OatFile* oat_file, const std::string& dex_file_location, uint32_t dex_file_location_checksum, const byte* dex_file_pointer, const uint32_t* oat_class_offsets_pointer) argument
396 OatClass(const OatFile* oat_file, mirror::Class::Status status, const OatMethodOffsets* methods_pointer) argument
[all...]
H A Dclass_linker.cc45 #include "oat_file.h"
647 void ClassLinker::RegisterOatFile(const OatFile& oat_file) { argument
649 RegisterOatFileLocked(oat_file);
652 void ClassLinker::RegisterOatFileLocked(const OatFile& oat_file) { argument
656 CHECK_NE(&oat_file, oat_files_[i]) << oat_file.GetLocation();
659 VLOG(class_linker) << "Registering " << oat_file.GetLocation();
660 oat_files_.push_back(&oat_file);
665 OatFile& oat_file = space->ReleaseOatFile(); local
667 RegisterOatFileLocked(oat_file);
680 const OatFile* oat_file = oat_files_[i]; local
826 const OatFile* oat_file = OatFile::Open(oat_location, oat_location, NULL, local
848 VerifyOatFileChecksums(const OatFile* oat_file, const std::string& dex_location, uint32_t dex_location_checksum) argument
895 VerifyAndOpenDexFileFromOatFile(const OatFile* oat_file, const std::string& dex_location, uint32_t dex_location_checksum) argument
967 const OatFile* oat_file = oat_files_[i]; local
982 const OatFile* oat_file = FindOpenedOatFileFromOatLocation(oat_location); local
1020 OatFile& oat_file = GetImageOatFile(space); local
1507 const OatFile* oat_file = FindOpenedOatFileForDexFile(dex_file); local
2541 const OatFile* oat_file = FindOpenedOatFileForDexFile(dex_file); local
[all...]
/art/dex2oat/
H A Ddex2oat.cc231 File* oat_file,
289 if (!driver->WriteElf(android_root, is_host, dex_files, oat_writer, oat_file)) {
290 LOG(ERROR) << "Failed to write ELF file " << oat_file->GetPath();
314 UniquePtr<File> oat_file(OS::OpenFileReadWrite(oat_filename.c_str()));
315 if (oat_file.get() == NULL) {
319 if (!ElfFixup::Fixup(oat_file.get(), oat_data_begin)) {
320 LOG(ERROR) << "Failed to fixup ELF file " << oat_file->GetPath();
814 UniquePtr<File> oat_file; local
817 oat_file.reset(OS::CreateEmptyFile(oat_unstripped.c_str()));
822 oat_file
226 CreateOatFile(const std::string& boot_image_option, const std::string* host_prefix, const std::string& android_root, bool is_host, const std::vector<const DexFile*>& dex_files, File* oat_file, const std::string& bitcode_filename, bool image, UniquePtr<CompilerDriver::DescriptorSet>& image_classes, bool dump_stats, base::TimingLogger& timings) argument
[all...]
/art/oatdump/
H A Doatdump.cc99 explicit OatDumper(const std::string& host_prefix, const OatFile& oat_file) argument
101 oat_file_(oat_file),
102 oat_dex_files_(oat_file.GetOatDexFiles()),
730 const OatFile* oat_file = class_linker->FindOatFileFromOatLocation(oat_location); local
731 if (oat_file == NULL) {
737 stats_.oat_file_bytes = oat_file->Size();
739 oat_dumper_.reset(new OatDumper(host_prefix_, *oat_file));
741 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) {
1415 OatFile* oat_file = local
1417 if (oat_file
[all...]

Completed in 435 milliseconds