Lines Matching refs:class_def
627 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClassDef() local
629 fprintf(out_file_, "class_idx : %d\n", class_def->ClassType()->GetIndex()); in DumpClassDef()
631 class_def->GetAccessFlags(), class_def->GetAccessFlags()); in DumpClassDef()
632 uint32_t superclass_idx = class_def->Superclass() == nullptr ? in DumpClassDef()
633 DexFile::kDexNoIndex16 : class_def->Superclass()->GetIndex(); in DumpClassDef()
636 class_def->InterfacesOffset(), class_def->InterfacesOffset()); in DumpClassDef()
638 if (class_def->SourceFile() != nullptr) { in DumpClassDef()
639 source_file_offset = class_def->SourceFile()->GetIndex(); in DumpClassDef()
643 if (class_def->Annotations() != nullptr) { in DumpClassDef()
644 annotations_offset = class_def->Annotations()->GetOffset(); in DumpClassDef()
648 if (class_def->GetClassData() == nullptr) { in DumpClassDef()
652 class_def->GetClassData()->GetOffset(), class_def->GetClassData()->GetOffset()); in DumpClassDef()
656 dex_ir::ClassData* class_data = class_def->GetClassData(); in DumpClassDef()
708 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClassAnnotations() local
709 dex_ir::AnnotationsDirectoryItem* annotations_directory = class_def->Annotations(); in DumpClassAnnotations()
1356 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClass() local
1358 if (options_.exports_only_ && (class_def->GetAccessFlags() & kAccPublic) == 0) { in DumpClass()
1411 char* access_str = CreateAccessFlagStr(class_def->GetAccessFlags(), kAccessForClass); in DumpClass()
1413 if (class_def->Superclass() != nullptr) { in DumpClass()
1414 superclass_descriptor = class_def->Superclass()->GetStringId()->Data(); in DumpClass()
1420 class_def->GetAccessFlags(), access_str); in DumpClass()
1433 QuotedBool((class_def->GetAccessFlags() & kAccInterface) != 0)); in DumpClass()
1435 QuotedBool((class_def->GetAccessFlags() & kAccAbstract) != 0)); in DumpClass()
1436 fprintf(out_file_, " static=%s\n", QuotedBool((class_def->GetAccessFlags() & kAccStatic) != 0)); in DumpClass()
1437 fprintf(out_file_, " final=%s\n", QuotedBool((class_def->GetAccessFlags() & kAccFinal) != 0)); in DumpClass()
1439 fprintf(out_file_, " visibility=%s\n", QuotedVisibility(class_def->GetAccessFlags())); in DumpClass()
1444 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in DumpClass()
1453 dex_ir::ClassData* class_data = class_def->GetClassData(); in DumpClass()
1455 dex_ir::EncodedArrayItem* static_values = class_def->StaticValues(); in DumpClass()
1470 dex_ir::HiddenapiClassData::GetFlags(header_, class_def, &(*static_fields)[i]), in DumpClass()
1487 dex_ir::HiddenapiClassData::GetFlags(header_, class_def, &(*instance_fields)[i]), in DumpClass()
1503 dex_ir::HiddenapiClassData::GetFlags(header_, class_def, &(*direct_methods)[i]), in DumpClass()
1520 dex_ir::HiddenapiClassData::GetFlags(header_, class_def, &(*virtual_methods)[i]), in DumpClass()
1530 if (class_def->SourceFile() != nullptr) { in DumpClass()
1531 file_name = class_def->SourceFile()->Data(); in DumpClass()
1533 const dex_ir::StringId* source_file = class_def->SourceFile(); in DumpClass()
1575 for (auto& class_def : header_->ClassDefs()) { in LayoutClassDefsAndClassData() local
1576 dex::TypeIndex type_idx(class_def->ClassType()->GetIndex()); in LayoutClassDefsAndClassData()
1578 new_class_def_order.push_back(class_def.get()); in LayoutClassDefsAndClassData()
1581 for (auto& class_def : header_->ClassDefs()) { in LayoutClassDefsAndClassData() local
1582 dex::TypeIndex type_idx(class_def->ClassType()->GetIndex()); in LayoutClassDefsAndClassData()
1584 new_class_def_order.push_back(class_def.get()); in LayoutClassDefsAndClassData()
1590 for (dex_ir::ClassDef* class_def : new_class_def_order) { in LayoutClassDefsAndClassData()
1591 dex_ir::ClassData* class_data = class_def->GetClassData(); in LayoutClassDefsAndClassData()
1623 for (auto& class_def : header_->ClassDefs()) { in LayoutStringData() local
1627 info_->ContainsClass(*dex_file, dex::TypeIndex(class_def->ClassType()->GetIndex())); in LayoutStringData()
1629 from_hot_method[class_def->ClassType()->GetStringId()->GetIndex()] = true; in LayoutStringData()
1630 const dex_ir::TypeId* superclass = class_def->Superclass(); in LayoutStringData()
1634 const dex_ir::TypeList* interfaces = class_def->Interfaces(); in LayoutStringData()
1641 dex_ir::ClassData* data = class_def->GetClassData(); in LayoutStringData()
1742 for (auto& class_def : header_->ClassDefs()) { in LayoutCodeItems() local
1744 info_->ContainsClass(*dex_file, dex::TypeIndex(class_def->ClassType()->GetIndex())); in LayoutCodeItems()
1747 dex_ir::ClassData* class_data = class_def->GetClassData(); in LayoutCodeItems()