Home
last modified time | relevance | path

Searched refs:class_data (Results 1 – 22 of 22) sorted by relevance

/art/test/983-source-transform-verify/
Dsource_transform_slicer.cc30 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()
Dsource_transform_art.cc36 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()
Dsource_transform.cc51 const unsigned char* class_data, in CheckDexFileHook() argument
64 VerifyClassData(class_data_len, class_data); in CheckDexFileHook()
Dsource_transform.h25 void VerifyClassData(jint class_data_len, const unsigned char* class_data);
/art/dexlayout/
Ddex_visualize.cc277 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 …]
Dcompact_dex_writer.cc54 dex_ir::ClassData* class_data = class_def->GetClassData(); in WriteDebugInfoOffsetTable() local
55 if (class_data == nullptr) { in WriteDebugInfoOffsetTable()
59 ? class_data->DirectMethods() in WriteDebugInfoOffsetTable()
60 : class_data->VirtualMethods())) { in WriteDebugInfoOffsetTable()
242 dex_ir::ClassData* class_data = class_def->GetClassData(); in SortDebugInfosByMethodIndex() local
243 if (class_data == nullptr) { in SortDebugInfosByMethodIndex()
247 ? class_data->DirectMethods() in SortDebugInfosByMethodIndex()
248 : class_data->VirtualMethods())) { in SortDebugInfosByMethodIndex()
342 dex_ir::ClassData* class_data = class_def->GetClassData(); in CanGenerateCompactDex() local
343 if (class_data == nullptr) { in CanGenerateCompactDex()
[all …]
Ddexlayout.cc656 dex_ir::ClassData* class_data = class_def->GetClassData(); in DumpClassDef() local
657 if (class_data != nullptr && class_data->StaticFields() != nullptr) { in DumpClassDef()
658 fprintf(out_file_, "static_fields_size : %zu\n", class_data->StaticFields()->size()); in DumpClassDef()
662 if (class_data != nullptr && class_data->InstanceFields() != nullptr) { in DumpClassDef()
663 fprintf(out_file_, "instance_fields_size: %zu\n", class_data->InstanceFields()->size()); in DumpClassDef()
667 if (class_data != nullptr && class_data->DirectMethods() != nullptr) { in DumpClassDef()
668 fprintf(out_file_, "direct_methods_size : %zu\n", class_data->DirectMethods()->size()); in DumpClassDef()
672 if (class_data != nullptr && class_data->VirtualMethods() != nullptr) { in DumpClassDef()
673 fprintf(out_file_, "virtual_methods_size: %zu\n", class_data->VirtualMethods()->size()); in DumpClassDef()
1450 dex_ir::ClassData* class_data = class_def->GetClassData(); in DumpClass() local
[all …]
Ddex_writer.cc495 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 …]
Ddex_ir_builder.cc501 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 …]
Ddex_ir.h93 virtual void Dispatch(ClassData* class_data) = 0;
915 ClassData* class_data) in ClassDef() argument
922 class_data_(class_data), in ClassDef()
/art/test/1959-redefine-object-instrument/
Dfake_redef_object.cc47 const unsigned char* class_data, in RedefineObjectHook() argument
54 dex::Reader reader(class_data, class_data_len); in RedefineObjectHook()
/art/test/980-redefine-object/
Dredef_object.cc46 const unsigned char* class_data, in RedefineObjectHook() argument
53 dex::Reader reader(class_data, class_data_len); in RedefineObjectHook()
/art/openjdkjvmti/
Devents-inl.h216 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,
Devents.h379 const unsigned char* class_data,
/art/libdexfile/dex/
Dclass_accessor-inl.h47 const uint8_t* class_data, in ClassAccessor() argument
52 ptr_pos_(class_data), in ClassAccessor()
Dclass_accessor.h281 const uint8_t* class_data,
Ddex_file_verifier.cc1888 const uint8_t* class_data = dex_file_->GetClassData(class_def); in CheckIntraHiddenapiClassData() local
1896 if (class_data == nullptr) { in CheckIntraHiddenapiClassData()
1942 ClassAccessor accessor(*dex_file_, class_data); in CheckIntraHiddenapiClassData()
/art/test/utils/python/
Dgenerate_java_main.py309 class_data = parse_xml((java_dir / "classes.xml").open().read())
310 make_main_class(class_data).dump(java_dir)
/art/imgdiag/
Dimgdiag.cc532 ClassData& class_data = class_data_[klass]; in DumpDirtyEntries() local
533 size_t object_sizes = class_data.dirty_object_size_in_bytes; in DumpDirtyEntries()
535 class_data.dirty_object_byte_count * 1.0f / object_sizes; in DumpDirtyEntries()
537 const std::string& descriptor = class_data.descriptor; in DumpDirtyEntries()
547 for (mirror::Object* object : class_data.dirty_objects) { in DumpDirtyEntries()
575 ClassData& class_data = class_data_[klass]; in DumpFalseDirtyEntries() local
576 size_t object_sizes = class_data.false_dirty_byte_count; in DumpFalseDirtyEntries()
578 const std::string& descriptor = class_data.descriptor; in DumpFalseDirtyEntries()
/art/test/913-heaps/
Dheaps.cc242 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/
Dstress.cc620 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/
Djvmti.h735 const unsigned char* class_data,