Lines Matching refs:class_def
490 dex_ir::ClassDef* class_def = header_->ClassDefs()[i]; in WriteHiddenapiClassData() local
492 DCHECK(item->GetClassDef() == class_def); in WriteHiddenapiClassData()
495 dex_ir::ClassData* class_data = class_def->GetClassData(); in WriteHiddenapiClassData()
631 for (auto& class_def : header_->ClassDefs()) { in WriteClassDefs() local
634 stream->Skip(class_def->GetSize()); in WriteClassDefs()
636 class_def_buffer[0] = class_def->ClassType()->GetIndex(); in WriteClassDefs()
637 class_def_buffer[1] = class_def->GetAccessFlags(); in WriteClassDefs()
638 class_def_buffer[2] = class_def->Superclass() == nullptr ? dex::kDexNoIndex : in WriteClassDefs()
639 class_def->Superclass()->GetIndex(); in WriteClassDefs()
640 class_def_buffer[3] = class_def->InterfacesOffset(); in WriteClassDefs()
641 class_def_buffer[4] = class_def->SourceFile() == nullptr ? dex::kDexNoIndex : in WriteClassDefs()
642 class_def->SourceFile()->GetIndex(); in WriteClassDefs()
643 class_def_buffer[5] = class_def->Annotations() == nullptr ? 0 : in WriteClassDefs()
644 class_def->Annotations()->GetOffset(); in WriteClassDefs()
645 class_def_buffer[6] = class_def->GetClassData() == nullptr ? 0 : in WriteClassDefs()
646 class_def->GetClassData()->GetOffset(); in WriteClassDefs()
647 class_def_buffer[7] = class_def->StaticValues() == nullptr ? 0 : in WriteClassDefs()
648 class_def->StaticValues()->GetOffset(); in WriteClassDefs()
649 stream->Write(class_def_buffer, class_def->GetSize()); in WriteClassDefs()