HomeSort by relevance Sort by last modified time
    Searched refs:OatFile (Results 1 - 23 of 23) sorted by null

  /art/test/117-nopatchoat/
nopatchoat.cc 27 static const OatFile::OatDexFile* getOatDexFile(jclass cls) {
32 const OatFile::OatDexFile* oat_dex_file =
39 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls);
45 const OatFile::OatDexFile* oat_dex_file = getOatDexFile(cls);
51 const OatFile* oat_file = oat_dex_file->GetOatFile();
  /art/runtime/
oat_file-inl.h 24 inline const OatQuickMethodHeader* OatFile::OatMethod::GetOatQuickMethodHeader() const {
33 inline uint32_t OatFile::OatMethod::GetOatQuickMethodHeaderOffset() const {
41 inline uint32_t OatFile::OatMethod::GetQuickCodeSize() const {
49 inline uint32_t OatFile::OatMethod::GetQuickCodeSizeOffset() const {
57 inline size_t OatFile::OatMethod::GetFrameSizeInBytes() const {
65 inline uint32_t OatFile::OatMethod::GetCoreSpillMask() const {
73 inline uint32_t OatFile::OatMethod::GetFpSpillMask() const {
81 const uint8_t* OatFile::OatMethod::GetGcMap() const {
93 uint32_t OatFile::OatMethod::GetGcMapOffset() const {
98 uint32_t OatFile::OatMethod::GetGcMapOffsetOffset() const
    [all...]
oat_file.cc 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
    [all...]
oat_file.h 41 class OatFile {
45 static OatFile* OpenWithElfFile(ElfFile* elf_file, const std::string& location,
49 static OatFile* Open(const std::string& filename,
61 static OatFile* OpenWritable(File* file, const std::string& location, std::string* error_msg);
63 static OatFile* OpenReadable(File* file, const std::string& location, std::string* error_msg);
66 static OatFile* OpenMemory(std::vector<uint8_t>& oat_contents,
70 ~OatFile();
194 // Return the offset from the start of the OatFile to the
202 OatClass(const OatFile* oat_file,
209 const OatFile* oat_file_
    [all...]
class_linker.h 240 const OatFile* RegisterOatFile(const OatFile* oat_file)
289 static bool VerifyOatImageChecksum(const OatFile* oat_file, const InstructionSet instruction_set);
292 static bool VerifyOatChecksums(const OatFile* oat_file, const InstructionSet instruction_set,
295 static bool VerifyOatAndDexFileChecksums(const OatFile* oat_file,
431 bool FindOatMethodFor(mirror::ArtMethod* method, OatFile::OatMethod* oat_method)
434 OatFile& GetImageOatFile(gc::space::ImageSpace* space)
486 const OatFile::OatClass* oat_class)
502 bool FindOatClass(const DexFile& dex_file, uint16_t class_def_idx, OatFile::OatClass* oat_class)
559 void LinkCode(Handle<mirror::ArtMethod> method, const OatFile::OatClass* oat_class
    [all...]
class_linker.cc 676 const OatFile* ClassLinker::RegisterOatFile(const OatFile* oat_file) {
688 OatFile& ClassLinker::GetImageOatFile(gc::space::ImageSpace* space) {
690 OatFile* oat_file = space->ReleaseOatFile();
696 const OatFile::OatDexFile* ClassLinker::FindOpenedOatDexFileForDexFile(const DexFile& dex_file) {
702 const OatFile::OatDexFile* ClassLinker::FindOpenedOatDexFile(const char* oat_location,
706 for (const OatFile* oat_file : oat_files_) {
715 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_location,
    [all...]
dex_file.h 46 class OatFile;
394 const OatFile* oat_file,
894 const OatFile* GetOatFile() const {
933 const OatFile* oat_file,
940 const OatFile* oat_file);
    [all...]
runtime.cc 621 std::unique_ptr<OatFile> oat_file(OatFile::OpenWithElfFile(elf_file.release(), oat_location,
628 for (const OatFile::OatDexFile* oat_dex_file : oat_file->GetOatDexFiles()) {
    [all...]
dex_file.cc 331 const OatFile* oat_file,
347 const OatFile* oat_file)
    [all...]
  /art/runtime/gc/space/
image_space.h 26 class OatFile;
41 // Create also opens the OatFile associated with the image file so
44 // used to transfer ownership of the OatFile to the ClassLinker when
61 // Give access to the OatFile.
62 const OatFile* GetOatFile() const;
64 // Releases the OatFile from the ImageSpace so it can be transfer to
66 OatFile* ReleaseOatFile()
128 // image's OatFile is up-to-date relative to its DexFile
130 // the OatFile in /data/dalvik-cache if necessary.
135 OatFile* OpenOatFile(const char* image, std::string* error_msg) cons
    [all...]
image_space.cc 738 OatFile* ImageSpace::OpenOatFile(const char* image_path, std::string* error_msg) const {
744 OatFile* oat_file = OatFile::Open(oat_filename, oat_filename, image_header.GetOatDataBegin(),
    [all...]
  /art/compiler/
elf_patcher.h 43 const OatFile* oat_file, uintptr_t oat_data_begin,
57 const OatFile* oat_file, uintptr_t oat_data_begin,
65 ElfPatcher(const CompilerDriver* driver, ElfFile* elf_file, const OatFile* oat_file,
99 uintptr_t GetBaseAddressFor(const OatFile* f) {
113 const OatFile* oat_file_;
common_compiler_test.h 45 OatFile::OatMethod CreateOatMethod(const void* code);
oat_test.cc 39 const OatFile::OatMethod& oat_method,
138 std::unique_ptr<OatFile> oat_file(OatFile::Open(tmp.GetFilename(), tmp.GetFilename(), nullptr,
150 const OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(dex_file->GetLocation().c_str(),
167 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i);
common_compiler_test.cc 145 OatFile::OatMethod CommonCompilerTest::CreateOatMethod(const void* code) {
150 return OatFile::OatMethod(base, code_offset);
208 OatFile::OatMethod oat_method = CreateOatMethod(method_code);
220 OatFile::OatMethod oat_method = CreateOatMethod(method_code);
226 OatFile::OatMethod oat_method = CreateOatMethod(method_code);
elf_patcher.cc 44 const OatFile* oat_file = class_linker->FindOpenedOatFileFromOatLocation(oat_location);
47 oat_file = OatFile::Open(oat_location, oat_location, nullptr, nullptr, false, error_msg);
59 bool ElfPatcher::Patch(const CompilerDriver* driver, ElfFile* elf, const OatFile* oat_file,
211 const OatFile* target_oat =
elf_writer_mclinker.cc 162 std::unique_ptr<OatFile> oat_file(OatFile::OpenMemory(oat_contents, elf_file_->GetPath(), &error_msg));
image_writer.h 156 // With Quick, code is within the OatFile, as there are all in one
232 // Patches references in OatFile to expect runtime addresses.
242 OatFile* oat_file_;
image_writer.cc 95 oat_file_ = OatFile::OpenReadable(oat_file.get(), oat_location, &error_msg);
    [all...]
  /art/test/116-nodex2oat/
nodex2oat.cc 31 const OatFile::OatDexFile* oat_dex_file =
  /art/test/118-noimage-dex2oat/
noimage-dex2oat.cc 31 const OatFile::OatDexFile* oat_dex_file =
  /art/oatdump/
oatdump.cc 142 explicit OatDumper(const OatFile& oat_file, OatDumperOptions* options)
250 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i];
279 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i];
292 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index);
308 const OatFile::OatDexFile* oat_dex_file = oat_dex_files_[i];
322 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index);
350 void AddOffsets(const OatFile::OatMethod& oat_method) {
361 bool DumpOatDexFile(std::ostream& os, const OatFile::OatDexFile& oat_dex_file) {
382 const OatFile::OatClass oat_class = oat_dex_file.GetOatClass(class_def_index);
408 bool DumpOatClass(std::ostream& os, const OatFile::OatClass& oat_class, const DexFile& dex_file
    [all...]
  /art/runtime/native/
dalvik_system_DexFile.cc 293 std::unique_ptr<const OatFile> oat_file(OatFile::Open(oat_filename, oat_filename, nullptr,
314 const art::OatFile::OatDexFile* oat_dex_file = oat_file->GetOatDexFile(filename, nullptr,

Completed in 439 milliseconds