Lines Matching refs:class_index

100   void DumpAddressRange(uint32_t from, uint32_t size, int class_index) {  in DumpAddressRange()  argument
104 fprintf(out_file_, "%d %d %d 0 %d\n", low_page, class_index, size_delta, GetColor(from)); in DumpAddressRange()
107 void DumpAddressRange(const dex_ir::Item* item, int class_index) { in DumpAddressRange() argument
109 DumpAddressRange(item->GetOffset(), item->GetSize(), class_index); in DumpAddressRange()
113 void DumpStringData(const dex_ir::StringData* string_data, int class_index) { in DumpStringData() argument
114 DumpAddressRange(string_data, class_index); in DumpStringData()
117 void DumpStringId(const dex_ir::StringId* string_id, int class_index) { in DumpStringId() argument
118 DumpAddressRange(string_id, class_index); in DumpStringId()
122 DumpStringData(string_id->DataItem(), class_index); in DumpStringId()
125 void DumpTypeId(const dex_ir::TypeId* type_id, int class_index) { in DumpTypeId() argument
126 DumpAddressRange(type_id, class_index); in DumpTypeId()
127 DumpStringId(type_id->GetStringId(), class_index); in DumpTypeId()
130 void DumpFieldId(const dex_ir::FieldId* field_id, int class_index) { in DumpFieldId() argument
131 DumpAddressRange(field_id, class_index); in DumpFieldId()
135 DumpTypeId(field_id->Class(), class_index); in DumpFieldId()
136 DumpTypeId(field_id->Type(), class_index); in DumpFieldId()
137 DumpStringId(field_id->Name(), class_index); in DumpFieldId()
140 void DumpFieldItem(const dex_ir::FieldItem* field, int class_index) { in DumpFieldItem() argument
141 DumpAddressRange(field, class_index); in DumpFieldItem()
145 DumpFieldId(field->GetFieldId(), class_index); in DumpFieldItem()
148 void DumpProtoId(const dex_ir::ProtoId* proto_id, int class_index) { in DumpProtoId() argument
149 DumpAddressRange(proto_id, class_index); in DumpProtoId()
153 DumpStringId(proto_id->Shorty(), class_index); in DumpProtoId()
157 DumpTypeId(t, class_index); in DumpProtoId()
160 DumpTypeId(proto_id->ReturnType(), class_index); in DumpProtoId()
163 void DumpMethodId(const dex_ir::MethodId* method_id, int class_index) { in DumpMethodId() argument
164 DumpAddressRange(method_id, class_index); in DumpMethodId()
168 DumpTypeId(method_id->Class(), class_index); in DumpMethodId()
169 DumpProtoId(method_id->Proto(), class_index); in DumpMethodId()
170 DumpStringId(method_id->Name(), class_index); in DumpMethodId()
175 int class_index, in DumpMethodItem() argument
183 DumpAddressRange(method, class_index); in DumpMethodItem()
187 DumpMethodId(method->GetMethodId(), class_index); in DumpMethodItem()
190 DumpAddressRange(code_item, class_index); in DumpMethodItem()
194 DumpTypeId(type_id, class_index); in DumpMethodItem()
197 DumpStringId(string_id, class_index); in DumpMethodItem()
200 DumpMethodId(method_id, class_index); in DumpMethodItem()
203 DumpFieldId(field_id, class_index); in DumpMethodItem()
256 for (uint32_t class_index = 0; class_index < class_defs_size; class_index++) { in VisualizeDexLayout() local
257 dex_ir::ClassDef* class_def = header->ClassDefs()[class_index]; in VisualizeDexLayout()
262 dumper->DumpAddressRange(class_def, class_index); in VisualizeDexLayout()
264 dumper->DumpTypeId(class_def->ClassType(), class_index); in VisualizeDexLayout()
266 dumper->DumpTypeId(class_def->Superclass(), class_index); in VisualizeDexLayout()
270 dumper->DumpAddressRange(class_def->InterfacesOffset(), kInterfaceSizeKludge, class_index); in VisualizeDexLayout()
272 dumper->DumpStringId(class_def->SourceFile(), class_index); in VisualizeDexLayout()
274 dumper->DumpAddressRange(class_def->Annotations(), class_index); in VisualizeDexLayout()
279 dumper->DumpAddressRange(class_data, class_index); in VisualizeDexLayout()
282 dumper->DumpFieldItem(&field_item, class_index); in VisualizeDexLayout()
287 dumper->DumpFieldItem(&field_item, class_index); in VisualizeDexLayout()
292 dumper->DumpMethodItem(&method_item, dex_file, class_index, profile_info); in VisualizeDexLayout()
297 dumper->DumpMethodItem(&method_item, dex_file, class_index, profile_info); in VisualizeDexLayout()