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 uint32_t offset = oat_class->method_headers_[method_offsets_index].gc_map_offset_; in GetOffset()
148 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in GetOffset()
151 static void SetOffset(OatClass* oat_class, size_t method_offsets_index, uint32_t offset) in SetOffset()
153 oat_class->method_headers_[method_offsets_index].gc_map_offset_ = in SetOffset()
154 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in SetOffset()
167 static uint32_t GetOffset(OatClass* oat_class, size_t method_offsets_index) ALWAYS_INLINE { in GetOffset()
168 uint32_t offset = oat_class->method_headers_[method_offsets_index].mapping_table_offset_; in GetOffset()
170 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in GetOffset()
173 static void SetOffset(OatClass* oat_class, size_t method_offsets_index, uint32_t 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.cc292 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in GetQuickOatCode() local
294 return oat_class.GetOatMethod(method_index).GetQuickCode(); in GetQuickOatCode()
322 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in AddAllOffsets() local
329 AddOffsets(oat_class.GetOatMethod(class_method_index++)); in AddAllOffsets()
333 AddOffsets(oat_class.GetOatMethod(class_method_index++)); in AddAllOffsets()
382 const OatFile::OatClass oat_class = oat_dex_file.GetOatClass(class_def_index); in DumpOatDexFile() local
385 << " (" << oat_class.GetStatus() << ")" in DumpOatDexFile()
386 << " (" << oat_class.GetType() << ")\n"; in DumpOatDexFile()
390 if (!DumpOatClass(indented_os, oat_class, *(dex_file.get()), class_def)) { in DumpOatDexFile()
408 bool DumpOatClass(std::ostream& os, const OatFile::OatClass& oat_class, const DexFile& dex_file, in DumpOatClass() argument
[all …]
/art/runtime/
Dclass_linker.cc2347 OatFile::OatClass* oat_class) { in FindOatClass() argument
2348 DCHECK(oat_class != nullptr); in FindOatClass()
2354 *oat_class = oat_dex_file->GetOatClass(class_def_idx); in FindOatClass()
2422 OatFile::OatClass oat_class; in FindOatMethodFor() local
2425 &oat_class)) { in FindOatMethodFor()
2429 *oat_method = oat_class.GetOatMethod(oat_method_index); in FindOatMethodFor()
2504 OatFile::OatClass oat_class; in GetQuickOatCodeFor() local
2505 if (!FindOatClass(dex_file, class_def_idx, &oat_class)) { in GetQuickOatCodeFor()
2509 return oat_class.GetOatMethod(oat_method_idx).GetQuickCode(); in GetQuickOatCodeFor()
2515 OatFile::OatClass oat_class; in GetPortableOatCodeFor() local
[all …]
Dclass_linker.h486 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,