Home
last modified time | relevance | path

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

/art/compiler/
Doat_writer.cc164 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].gc_map_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].gc_map_offset_ = in SetOffset()
173 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in SetOffset()
186 static uint32_t GetOffset(OatClass* oat_class, size_t method_offsets_index) ALWAYS_INLINE { in GetOffset()
187 uint32_t offset = oat_class->method_headers_[method_offsets_index].mapping_table_offset_; in GetOffset()
189 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in GetOffset()
192 static void SetOffset(OatClass* oat_class, size_t method_offsets_index, uint32_t offset) in SetOffset()
[all …]
Doat_test.cc158 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(i); in TEST_F() local
159 CHECK_EQ(mirror::Class::Status::kStatusNotReady, oat_class.GetStatus()) << descriptor; in TEST_F()
161 oat_class.GetType()) << descriptor; in TEST_F()
165 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
171 CheckMethod(&m, oat_class.GetOatMethod(method_index), dex_file); in TEST_F()
/art/oatdump/
Doatdump.cc170 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in WalkOatDexFile() local
171 OatClassType type = oat_class.GetType(); in WalkOatDexFile()
175 WalkOatClass(oat_class, *dex_file.get(), class_def, callback); in WalkOatDexFile()
186 void WalkOatClass(const OatFile::OatClass& oat_class, const DexFile& dex_file, in WalkOatClass() argument
198 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_idx); in WalkOatClass()
205 const OatFile::OatMethod oat_method = oat_class.GetOatMethod(class_method_idx); in WalkOatClass()
514 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in GetQuickOatCode() local
516 return oat_class.GetOatMethod(method_index).GetQuickCode(); in GetQuickOatCode()
544 const OatFile::OatClass oat_class = oat_dex_file->GetOatClass(class_def_index); in AddAllOffsets() local
551 AddOffsets(oat_class.GetOatMethod(class_method_index++)); in AddAllOffsets()
[all …]
/art/runtime/
Dclass_linker.cc2053 OatFile::OatClass oat_class = FindOatClass(*declaring_class->GetDexCache()->GetDexFile(), in FindOatMethodFor() local
2059 return oat_class.GetOatMethod(oat_method_index); in FindOatMethodFor()
2112 OatFile::OatClass oat_class = FindOatClass(dex_file, class_def_idx, &found); in GetQuickOatCodeFor() local
2117 return oat_class.GetOatMethod(oat_method_idx).GetQuickCode(); in GetQuickOatCodeFor()
2162 OatFile::OatClass oat_class = FindOatClass(dex_file, klass->GetDexClassDefIndex(), in FixupStaticTrampolines() local
2173 OatFile::OatMethod oat_method = oat_class.GetOatMethod(method_index); in FixupStaticTrampolines()
2191 void ClassLinker::LinkCode(ArtMethod* method, const OatFile::OatClass* oat_class, in LinkCode() argument
2200 if (oat_class != nullptr) { in LinkCode()
2203 const OatFile::OatMethod oat_method = oat_class->GetOatMethod(class_def_method_index); in LinkCode()
2278 OatFile::OatClass oat_class = FindOatClass(dex_file, klass->GetDexClassDefIndex(), in LoadClass() local
[all …]
Dclass_linker.h539 Handle<mirror::Class> klass, const OatFile::OatClass* oat_class)
610 void LinkCode(ArtMethod* method, const OatFile::OatClass* oat_class,