/art/dexlayout/ |
D | dex_visualize.cc | 277 dex_ir::ClassData* class_data = class_def->GetClassData(); in VisualizeDexLayout() local 278 if (class_data != nullptr) { in VisualizeDexLayout() 279 dumper->DumpAddressRange(class_data, class_index); in VisualizeDexLayout() 280 if (class_data->StaticFields()) { in VisualizeDexLayout() 281 for (auto& field_item : *class_data->StaticFields()) { in VisualizeDexLayout() 285 if (class_data->InstanceFields()) { in VisualizeDexLayout() 286 for (auto& field_item : *class_data->InstanceFields()) { in VisualizeDexLayout() 290 if (class_data->DirectMethods()) { in VisualizeDexLayout() 291 for (auto& method_item : *class_data->DirectMethods()) { in VisualizeDexLayout() 295 if (class_data->VirtualMethods()) { in VisualizeDexLayout() [all …]
|
D | compact_dex_writer.cc | 53 dex_ir::ClassData* class_data = class_def->GetClassData(); in WriteDebugInfoOffsetTable() local 54 if (class_data == nullptr) { in WriteDebugInfoOffsetTable() 58 ? class_data->DirectMethods() in WriteDebugInfoOffsetTable() 59 : class_data->VirtualMethods())) { in WriteDebugInfoOffsetTable() 240 dex_ir::ClassData* class_data = class_def->GetClassData(); in SortDebugInfosByMethodIndex() local 241 if (class_data == nullptr) { in SortDebugInfosByMethodIndex() 245 ? class_data->DirectMethods() in SortDebugInfosByMethodIndex() 246 : class_data->VirtualMethods())) { in SortDebugInfosByMethodIndex() 340 dex_ir::ClassData* class_data = class_def->GetClassData(); in CanGenerateCompactDex() local 341 if (class_data == nullptr) { in CanGenerateCompactDex() [all …]
|
D | dexlayout.cc | 721 dex_ir::ClassData* class_data = class_def->GetClassData(); in DumpClassDef() local 722 if (class_data != nullptr && class_data->StaticFields() != nullptr) { in DumpClassDef() 723 fprintf(out_file_, "static_fields_size : %zu\n", class_data->StaticFields()->size()); in DumpClassDef() 727 if (class_data != nullptr && class_data->InstanceFields() != nullptr) { in DumpClassDef() 728 fprintf(out_file_, "instance_fields_size: %zu\n", class_data->InstanceFields()->size()); in DumpClassDef() 732 if (class_data != nullptr && class_data->DirectMethods() != nullptr) { in DumpClassDef() 733 fprintf(out_file_, "direct_methods_size : %zu\n", class_data->DirectMethods()->size()); in DumpClassDef() 737 if (class_data != nullptr && class_data->VirtualMethods() != nullptr) { in DumpClassDef() 738 fprintf(out_file_, "virtual_methods_size: %zu\n", class_data->VirtualMethods()->size()); in DumpClassDef() 1520 dex_ir::ClassData* class_data = class_def->GetClassData(); in DumpClass() local [all …]
|
D | dex_writer.cc | 495 dex_ir::ClassData* class_data = class_def->GetClassData(); in WriteHiddenapiClassData() local 496 DCHECK(class_data != nullptr); in WriteHiddenapiClassData() 498 for (const dex_ir::FieldItem& field : *class_data->StaticFields()) { in WriteHiddenapiClassData() 501 for (const dex_ir::FieldItem& field : *class_data->InstanceFields()) { in WriteHiddenapiClassData() 504 for (const dex_ir::MethodItem& method : *class_data->DirectMethods()) { in WriteHiddenapiClassData() 507 for (const dex_ir::MethodItem& method : *class_data->VirtualMethods()) { in WriteHiddenapiClassData() 659 for (const std::unique_ptr<dex_ir::ClassData>& class_data : in WriteClassDatas() local 662 ProcessOffset(stream, class_data.get()); in WriteClassDatas() 663 stream->WriteUleb128(class_data->StaticFields()->size()); in WriteClassDatas() 664 stream->WriteUleb128(class_data->InstanceFields()->size()); in WriteClassDatas() [all …]
|
D | dex_ir_builder.cc | 501 ClassData* class_data = CreateClassData(dex_file, disk_class_def); in CreateClassDef() local 512 class_data); in CreateClassDef() 642 ClassData* class_data = class_def->GetClassData(); in AddHiddenapiClassDataFromMapListSection() local 647 DCHECK(class_data != nullptr); in AddHiddenapiClassDataFromMapListSection() 649 for (const dex_ir::FieldItem& field : *class_data->StaticFields()) { in AddHiddenapiClassDataFromMapListSection() 652 for (const dex_ir::FieldItem& field : *class_data->InstanceFields()) { in AddHiddenapiClassDataFromMapListSection() 655 for (const dex_ir::MethodItem& method : *class_data->DirectMethods()) { in AddHiddenapiClassDataFromMapListSection() 658 for (const dex_ir::MethodItem& method : *class_data->VirtualMethods()) { in AddHiddenapiClassDataFromMapListSection() 949 ClassData* class_data = class_datas_map_.GetExistingObject(offset); in CreateClassData() local 950 if (class_data == nullptr && offset != 0u) { in CreateClassData() [all …]
|
D | dex_ir.h | 93 virtual void Dispatch(ClassData* class_data) = 0; 915 ClassData* class_data) in ClassDef() argument 922 class_data_(class_data), in ClassDef()
|
/art/test/983-source-transform-verify/ |
D | source_transform_art.cc | 36 void VerifyClassData(jint class_data_len, const unsigned char* class_data) { in VerifyClassData() argument 39 const DexFile::Header* header = reinterpret_cast<const DexFile::Header*>(class_data); in VerifyClassData() 46 std::unique_ptr<const DexFile> dex(dex_file_loader.Open(class_data, in VerifyClassData()
|
D | source_transform_slicer.cc | 30 void VerifyClassData(jint class_data_len, const unsigned char* class_data) { in VerifyClassData() argument 31 dex::Reader reader(class_data, class_data_len); in VerifyClassData()
|
D | source_transform.cc | 51 const unsigned char* class_data, in CheckDexFileHook() argument 64 VerifyClassData(class_data_len, class_data); in CheckDexFileHook()
|
D | source_transform.h | 25 void VerifyClassData(jint class_data_len, const unsigned char* class_data);
|
/art/test/1959-redefine-object-instrument/ |
D | fake_redef_object.cc | 47 const unsigned char* class_data, in RedefineObjectHook() argument 54 dex::Reader reader(class_data, class_data_len); in RedefineObjectHook()
|
/art/test/980-redefine-object/ |
D | redef_object.cc | 46 const unsigned char* class_data, in RedefineObjectHook() argument 53 dex::Reader reader(class_data, class_data_len); in RedefineObjectHook()
|
/art/openjdkjvmti/ |
D | events-inl.h | 216 const unsigned char* class_data, in DispatchClassFileLoadHookEvent() argument 225 unsigned char* current_class_data = const_cast<unsigned char*>(class_data); in DispatchClassFileLoadHookEvent() 234 class_data, in DispatchClassFileLoadHookEvent() 554 const unsigned char* class_data, 565 class_data, 579 const unsigned char* class_data, 590 class_data, 604 const unsigned char* class_data, 615 class_data,
|
D | events.h | 378 const unsigned char* class_data,
|
/art/libdexfile/dex/ |
D | class_accessor-inl.h | 47 const uint8_t* class_data, in ClassAccessor() argument 52 ptr_pos_(class_data), in ClassAccessor()
|
D | class_accessor.h | 281 const uint8_t* class_data,
|
D | dex_file_verifier.cc | 1884 const uint8_t* class_data = dex_file_->GetClassData(class_def); in CheckIntraHiddenapiClassData() local 1892 if (class_data == nullptr) { in CheckIntraHiddenapiClassData() 1938 ClassAccessor accessor(*dex_file_, class_data); in CheckIntraHiddenapiClassData()
|
/art/test/utils/python/ |
D | generate_java_main.py | 309 class_data = parse_xml((java_dir / "classes.xml").open().read()) 310 make_main_class(class_data).dump(java_dir)
|
/art/imgdiag/ |
D | imgdiag.cc | 533 ClassData& class_data = class_data_[klass]; in DumpDirtyEntries() local 534 size_t object_sizes = class_data.dirty_object_size_in_bytes; in DumpDirtyEntries() 536 class_data.dirty_object_byte_count * 1.0f / object_sizes; in DumpDirtyEntries() 538 const std::string& descriptor = class_data.descriptor; in DumpDirtyEntries() 548 for (mirror::Object* object : class_data.dirty_objects) { in DumpDirtyEntries() 576 ClassData& class_data = class_data_[klass]; in DumpFalseDirtyEntries() local 577 size_t object_sizes = class_data.false_dirty_byte_count; in DumpFalseDirtyEntries() 579 const std::string& descriptor = class_data.descriptor; in DumpFalseDirtyEntries()
|
/art/test/913-heaps/ |
D | heaps.cc | 242 const ClassData& class_data = it->second; in Java_art_Test913_followReferences() local 243 if (class_data.size == size) { in Java_art_Test913_followReferences() 244 adapted_size = class_data.serial; in Java_art_Test913_followReferences()
|
/art/test/ti-stress/ |
D | stress.cc | 620 const unsigned char* class_data, in ClassFileLoadHookSecretNoOp() argument 635 } else if (DoExtractClassFromData(jvmti, name_str, class_data_len, class_data, in ClassFileLoadHookSecretNoOp()
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 735 const unsigned char* class_data,
|