Lines Matching refs:oat_class

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].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()
194 oat_class->method_headers_[method_offsets_index].mapping_table_offset_ = in SetOffset()
195 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in SetOffset()
208 static uint32_t GetOffset(OatClass* oat_class, size_t method_offsets_index) ALWAYS_INLINE { in GetOffset()
209 uint32_t offset = oat_class->method_headers_[method_offsets_index].vmap_table_offset_; in GetOffset()
211 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in GetOffset()
214 static void SetOffset(OatClass* oat_class, size_t method_offsets_index, uint32_t offset) in SetOffset()
216 oat_class->method_headers_[method_offsets_index].vmap_table_offset_ = in SetOffset()
217 (oat_class->method_offsets_[method_offsets_index].code_offset_ & ~1) - offset; in SetOffset()
337 OatClass* oat_class = new OatClass(offset_, compiled_methods_, in EndClass() local
339 writer_->oat_classes_.push_back(oat_class); in EndClass()
340 oat_class->UpdateChecksum(writer_->oat_header_); in EndClass()
341 offset_ += oat_class->SizeOf(); in EndClass()
369 OatClass* oat_class = writer_->oat_classes_[oat_class_index_]; in VisitMethod() local
370 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
410 DCHECK_LT(method_offsets_index_, oat_class->method_headers_.size()); in VisitMethod()
411 OatQuickMethodHeader* method_header = &oat_class->method_headers_[method_offsets_index_]; in VisitMethod()
492 DCHECK_LT(method_offsets_index_, oat_class->method_offsets_.size()); in VisitMethod()
493 OatMethodOffsets* offsets = &oat_class->method_offsets_[method_offsets_index_]; in VisitMethod()
561 OatClass* oat_class = writer_->oat_classes_[oat_class_index_]; in VisitMethod() local
562 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
565 DCHECK_LT(method_offsets_index_, oat_class->method_offsets_.size()); in VisitMethod()
566 DCHECK_EQ(DataAccess::GetOffset(oat_class, method_offsets_index_), 0u); in VisitMethod()
573 DataAccess::SetOffset(oat_class, method_offsets_index_, lb->second); in VisitMethod()
575 DataAccess::SetOffset(oat_class, method_offsets_index_, offset_); in VisitMethod()
602 OatClass* oat_class = writer_->oat_classes_[oat_class_index_]; in VisitMethod() local
603 CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
607 DCHECK_LT(method_offsets_index_, oat_class->method_offsets_.size()); in VisitMethod()
608 offsets = oat_class->method_offsets_[method_offsets_index_]; in VisitMethod()
684 OatClass* oat_class = writer_->oat_classes_[oat_class_index_]; in VisitMethod() local
685 const CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
699 const OatMethodOffsets& method_offsets = oat_class->method_offsets_[method_offsets_index_]; in VisitMethod()
722 oat_class->method_headers_[method_offsets_index_]; in VisitMethod()
905 OatClass* oat_class = writer_->oat_classes_[oat_class_index_]; in VisitMethod() local
906 const CompiledMethod* compiled_method = oat_class->GetCompiledMethod(class_def_method_index); in VisitMethod()
912 uint32_t map_offset = DataAccess::GetOffset(oat_class, method_offsets_index_); in VisitMethod()