Home
last modified time | relevance | path

Searched refs:oat_class (Results 1 – 5 of 5) sorted by relevance

/art/compiler/
Doat_writer.cc145 static uint32_t GetOffset(OatClass* oat_class, size_t method_offsets_index) ALWAYS_INLINE { in GetOffset()
146 return oat_class->method_offsets_[method_offsets_index].gc_map_offset_; in GetOffset()
149 static void SetOffset(OatClass* oat_class, size_t method_offsets_index, uint32_t offset) in SetOffset()
151 oat_class->method_offsets_[method_offsets_index].gc_map_offset_ = offset; in SetOffset()
164 static uint32_t GetOffset(OatClass* oat_class, size_t method_offsets_index) ALWAYS_INLINE { in GetOffset()
165 uint32_t offset = oat_class->method_headers_[method_offsets_index].mapping_table_offset_; in GetOffset()
167 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in GetOffset()
170 static void SetOffset(OatClass* oat_class, size_t method_offsets_index, uint32_t offset) in SetOffset()
172 oat_class->method_headers_[method_offsets_index].mapping_table_offset_ = in SetOffset()
173 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in SetOffset()
[all …]
Doat_test.cc167 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i); in TEST_F() local
168 CHECK_EQ(mirror::Class::Status::kStatusNotReady, oat_class.GetStatus()) << descriptor; in TEST_F()
170 oat_class.GetType()) << descriptor; in TEST_F()
175 oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
179 oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
/art/oatdump/
Doatdump.cc285 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in GetQuickOatCode() local
287 return oat_class.GetOatMethod(method_index).GetQuickCode(); in GetQuickOatCode()
315 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in AddAllOffsets() local
322 AddOffsets(oat_class.GetOatMethod(class_method_index++)); in AddAllOffsets()
326 AddOffsets(oat_class.GetOatMethod(class_method_index++)); in AddAllOffsets()
375 const OatFile::OatClass oat_class = oat_dex_file.GetOatClass(class_def_index); in DumpOatDexFile() local
378 << " (" << oat_class.GetStatus() << ")" in DumpOatDexFile()
379 << " (" << oat_class.GetType() << ")\n"; in DumpOatDexFile()
383 if (!DumpOatClass(indented_os, oat_class, *(dex_file.get()), class_def)) { in DumpOatDexFile()
401 bool DumpOatClass(std::ostream& os, const OatFile::OatClass& oat_class, const DexFile& dex_file, in DumpOatClass() argument
[all …]
/art/runtime/
Dclass_linker.cc2320 OatFile::OatClass* oat_class) { in FindOatClass() argument
2321 DCHECK(oat_class != nullptr); in FindOatClass()
2327 *oat_class = oat_dex_file->GetOatClass(class_def_idx); in FindOatClass()
2395 OatFile::OatClass oat_class; in FindOatMethodFor() local
2398 &oat_class)) { in FindOatMethodFor()
2402 *oat_method = oat_class.GetOatMethod(oat_method_index); in FindOatMethodFor()
2468 OatFile::OatClass oat_class; in GetQuickOatCodeFor() local
2469 if (!FindOatClass(dex_file, class_def_idx, &oat_class)) { in GetQuickOatCodeFor()
2473 return oat_class.GetOatMethod(oat_method_idx).GetQuickCode(); in GetQuickOatCodeFor()
2479 OatFile::OatClass oat_class; in GetPortableOatCodeFor() local
[all …]
Dclass_linker.h461 const OatFile::OatClass* oat_class)
477 bool FindOatClass(const DexFile& dex_file, uint16_t class_def_idx, OatFile::OatClass* oat_class)
532 void LinkCode(Handle<mirror::ArtMethod> method, const OatFile::OatClass* oat_class,