Home
last modified time | relevance | path

Searched refs:ClassDefs (Results 1 – 9 of 9) sorted by relevance

/art/dexlayout/
Ddex_writer.cc469 DCHECK_EQ(header_->HiddenapiClassDatas().Size(), header_->ClassDefs().Size()); in WriteHiddenapiClassData()
479 std::vector<uint32_t> data_header(header_->ClassDefs().Size() + 1, 0); in WriteHiddenapiClassData()
480 data_header[0] = sizeof(uint32_t) * (header_->ClassDefs().Size() + 1); in WriteHiddenapiClassData()
481 for (uint32_t i = 0; i < header_->ClassDefs().Size(); ++i) { in WriteHiddenapiClassData()
489 for (uint32_t i = 0; i < header_->ClassDefs().Size(); ++i) { in WriteHiddenapiClassData()
490 dex_ir::ClassDef* class_def = header_->ClassDefs()[i]; in WriteHiddenapiClassData()
631 for (auto& class_def : header_->ClassDefs()) { in WriteClassDefs()
653 header_->ClassDefs().SetOffset(start); in WriteClassDefs()
747 header_->ClassDefs().Size(), in GenerateAndWriteMapItems()
748 header_->ClassDefs().GetOffset())); in GenerateAndWriteMapItems()
[all …]
Ddex_ir.cc87 [](const dex_ir::Header* h) { return h->ClassDefs().Size(); }, in __anon3c7c4fbb0b02()
88 [](const dex_ir::Header* h) { return h->ClassDefs().GetOffset(); } in __anon3c7c4fbb0c02()
Dcompact_dex_writer.cc52 for (auto& class_def : header_->ClassDefs()) { in WriteDebugInfoOffsetTable()
240 for (auto& class_def : header_->ClassDefs()) { in SortDebugInfosByMethodIndex()
294 header.class_defs_size_ = header_->ClassDefs().Size(); in WriteHeader()
295 header.class_defs_off_ = header_->ClassDefs().GetOffset(); in WriteHeader()
340 for (auto& class_def : header_->ClassDefs()) { in CanGenerateCompactDex()
Ddexlayout.cc613 fprintf(out_file_, "class_defs_size : %d\n", header_->ClassDefs().Size()); in DumpFileHeader()
615 header_->ClassDefs().GetOffset(), header_->ClassDefs().GetOffset()); in DumpFileHeader()
626 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClassDef()
707 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClassAnnotations()
1352 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClass()
1370 const char* class_descriptor = header_->ClassDefs()[idx]->ClassType()->GetStringId()->Data(); in DumpClass()
1552 const uint32_t class_defs_size = header_->ClassDefs().Size(); in DumpDexFile()
1571 for (auto& class_def : header_->ClassDefs()) { in LayoutClassDefsAndClassData()
1577 for (auto& class_def : header_->ClassDefs()) { in LayoutClassDefsAndClassData()
1603 dex_ir::CollectionVector<dex_ir::ClassDef>& class_defs = header_->ClassDefs(); in LayoutClassDefsAndClassData()
[all …]
Ddex_visualize.cc255 const uint32_t class_defs_size = header->ClassDefs().Size(); in VisualizeDexLayout()
257 dex_ir::ClassDef* class_def = header->ClassDefs()[class_index]; in VisualizeDexLayout()
Ddex_ir_builder.cc298 header->ClassDefs().SetOffset(disk_header.class_defs_off_); in DexIrBuilder()
366 CHECK_EQ(item->size_, header_->ClassDefs().Size()); in CheckAndSetRemainingOffsets()
368 CHECK_EQ(item->offset_, header_->ClassDefs().GetOffset()); in CheckAndSetRemainingOffsets()
501 CreateAndAddIndexedItem(header_->ClassDefs(), in CreateClassDef()
502 header_->ClassDefs().GetOffset() + i * ClassDef::ItemSize(), in CreateClassDef()
639 for (auto& class_def : header_->ClassDefs()) { in AddHiddenapiClassDataFromMapListSection()
Ddex_verify.cc45 if (!VerifyClassDefs(orig_header->ClassDefs(), output_header->ClassDefs(), error_msg)) { in VerifyOutputDexFile()
Ddex_ir.h448 IndexedCollectionVector<ClassDef>& ClassDefs() { return class_defs_; } in ClassDefs() function
449 const IndexedCollectionVector<ClassDef>& ClassDefs() const { return class_defs_; } in ClassDefs() function
/art/libdexfile/dex/
Dart_dex_file_loader_test.cc97 TEST_F(ArtDexFileLoaderTest, ClassDefs) { in TEST_F() argument