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 __anon2b802b990b02()
88 [](const dex_ir::Header* h) { return h->ClassDefs().GetOffset(); } in __anon2b802b990c02()
Dcompact_dex_writer.cc51 for (auto& class_def : header_->ClassDefs()) { in WriteDebugInfoOffsetTable()
238 for (auto& class_def : header_->ClassDefs()) { in SortDebugInfosByMethodIndex()
292 header.class_defs_size_ = header_->ClassDefs().Size(); in WriteHeader()
293 header.class_defs_off_ = header_->ClassDefs().GetOffset(); in WriteHeader()
338 for (auto& class_def : header_->ClassDefs()) { in CanGenerateCompactDex()
Ddexlayout.cc614 fprintf(out_file_, "class_defs_size : %d\n", header_->ClassDefs().Size()); in DumpFileHeader()
616 header_->ClassDefs().GetOffset(), header_->ClassDefs().GetOffset()); in DumpFileHeader()
627 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClassDef()
708 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClassAnnotations()
1356 dex_ir::ClassDef* class_def = header_->ClassDefs()[idx]; in DumpClass()
1374 const char* class_descriptor = header_->ClassDefs()[idx]->ClassType()->GetStringId()->Data(); in DumpClass()
1556 const uint32_t class_defs_size = header_->ClassDefs().Size(); in DumpDexFile()
1575 for (auto& class_def : header_->ClassDefs()) { in LayoutClassDefsAndClassData()
1581 for (auto& class_def : header_->ClassDefs()) { in LayoutClassDefsAndClassData()
1607 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.cc299 header->ClassDefs().SetOffset(disk_header.class_defs_off_); in DexIrBuilder()
367 CHECK_EQ(item->size_, header_->ClassDefs().Size()); in CheckAndSetRemainingOffsets()
369 CHECK_EQ(item->offset_, header_->ClassDefs().GetOffset()); in CheckAndSetRemainingOffsets()
502 CreateAndAddIndexedItem(header_->ClassDefs(), in CreateClassDef()
503 header_->ClassDefs().GetOffset() + i * ClassDef::ItemSize(), in CreateClassDef()
640 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.cc106 TEST_F(ArtDexFileLoaderTest, ClassDefs) { in TEST_F() argument