Home
last modified time | relevance | path

Searched refs:ClassDef (Results 1 – 25 of 58) sorted by relevance

123

/art/runtime/
Ddex_file_verifier.h97 const DexFile::ClassDef** class_def);
98 bool CheckStaticFieldTypes(const DexFile::ClassDef* class_def);
112 const DexFile::ClassDef** class_def);
120 const DexFile::ClassDef** class_def);
179 const DexFile::ClassDef** output_class_def);
252 std::unordered_set<decltype(DexFile::ClassDef::class_idx_)> defined_classes_;
Druntime_callbacks.cc75 const DexFile::ClassDef& initial_class_def, in ClassPreDefine()
77 /*out*/DexFile::ClassDef const** final_class_def) { in ClassPreDefine()
79 DexFile::ClassDef const* current_class_def = &initial_class_def; in ClassPreDefine()
82 DexFile::ClassDef const* new_class_def = nullptr; in ClassPreDefine()
Ddex_file_tracking_registrar.cc156 const DexFile::ClassDef& cd = dex_file_->GetClassDef(classdef_ctr); in SetAllCodeItemRegistration()
176 const DexFile::ClassDef& cd = dex_file_->GetClassDef(classdef_ctr); in SetAllCodeItemStartRegistration()
198 const DexFile::ClassDef& cd = dex_file_->GetClassDef(classdef_ctr); in SetAllInsnsRegistration()
219 const DexFile::ClassDef& cd = dex_file_->GetClassDef(classdef_ctr); in SetCodeItemRegistration()
Ddex_file.h194 struct ClassDef { struct
225 DISALLOW_COPY_AND_ASSIGN(ClassDef); argument
638 uint32_t FindCodeItemOffset(const DexFile::ClassDef& class_def,
709 const ClassDef& GetClassDef(uint16_t idx) const { in GetClassDef()
714 uint16_t GetIndexForClassDef(const ClassDef& class_def) const { in GetIndexForClassDef()
721 const char* GetClassDescriptor(const ClassDef& class_def) const;
724 const ClassDef* FindClassDef(dex::TypeIndex type_idx) const;
726 const TypeList* GetInterfacesList(const ClassDef& class_def) const { in GetInterfacesList()
754 const uint8_t* GetClassData(const ClassDef& class_def) const { in GetClassData()
823 const uint8_t* GetEncodedStaticFieldValuesArray(const ClassDef& class_def) const { in GetEncodedStaticFieldValuesArray()
[all …]
Druntime_callbacks.h110 const DexFile::ClassDef& initial_class_def,
112 /*out*/DexFile::ClassDef const** final_class_def)
Dtype_lookup_table.cc81 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); in TypeLookupTable()
95 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in TypeLookupTable()
Ddex_file_test.cc391 const DexFile::ClassDef& c0 = raw->GetClassDef(0); in TEST_F()
394 const DexFile::ClassDef& c1 = raw->GetClassDef(1); in TEST_F()
397 const DexFile::ClassDef& c2 = raw->GetClassDef(2); in TEST_F()
407 const DexFile::ClassDef& class_def = raw->GetClassDef(0); in TEST_F()
622 const DexFile::ClassDef& class_def = raw->GetClassDef(0); in TEST_F()
Ddex_method_iterator.h135 const DexFile::ClassDef* class_def_;
Ddex_file_verifier.cc928 const DexFile::ClassDef** output_class_def) { in FindClassIndexAndDef()
955 const DexFile::ClassDef* class_def_begin = in FindClassIndexAndDef()
956 reinterpret_cast<const DexFile::ClassDef*>(begin_ + header_->class_defs_off_); in FindClassIndexAndDef()
958 const DexFile::ClassDef* class_def = class_def_begin + i; in FindClassIndexAndDef()
975 const DexFile::ClassDef** class_def) { in CheckOrderAndGetClassDef()
997 bool DexFileVerifier::CheckStaticFieldTypes(const DexFile::ClassDef* class_def) { in CheckStaticFieldTypes()
1096 const DexFile::ClassDef** class_def) { in CheckIntraClassDataItemFields()
1132 const DexFile::ClassDef** class_def) { in CheckIntraClassDataItemMethods()
1171 const DexFile::ClassDef* class_def = nullptr; in CheckIntraClassDataItem()
1661 if (!CheckListSize(ptr_, 1, sizeof(DexFile::ClassDef), "class_defs")) { in CheckIntraSectionIterate()
[all …]
Druntime_callbacks_test.cc256 const DexFile::ClassDef& initial_class_def ATTRIBUTE_UNUSED, in ClassPreDefine()
258 /*out*/DexFile::ClassDef const** final_class_def ATTRIBUTE_UNUSED) in ClassPreDefine()
Dclass_linker.h209 const DexFile::ClassDef& dex_class_def)
813 const DexFile::ClassDef& dex_class_def);
818 const DexFile::ClassDef& dex_class_def,
825 const DexFile::ClassDef& dex_class_def,
1320 const DexFile::ClassDef& initial_class_def ATTRIBUTE_UNUSED, in ClassPreDefine()
1322 /*out*/DexFile::ClassDef const** final_class_def ATTRIBUTE_UNUSED) in ClassPreDefine()
Ddex_file_annotations.h117 const DexFile::ClassDef& class_def) in RuntimeEncodedStaticFieldValueIterator()
Ddex_file-inl.h120 inline const char* DexFile::GetClassDescriptor(const ClassDef& class_def) const { in GetClassDescriptor()
/art/dexlayout/
Ddex_verify.h43 bool VerifyClassDefs(std::vector<std::unique_ptr<dex_ir::ClassDef>>& orig,
44 std::vector<std::unique_ptr<dex_ir::ClassDef>>& output,
46 bool VerifyClassDef(dex_ir::ClassDef* orig, dex_ir::ClassDef* output, std::string* error_msg);
Ddex_verify.cc177 bool operator()(dex_ir::ClassDef* lhs, dex_ir::ClassDef* rhs) const { in operator ()()
184 bool VerifyClassDefs(std::vector<std::unique_ptr<dex_ir::ClassDef>>& orig, in VerifyClassDefs()
185 std::vector<std::unique_ptr<dex_ir::ClassDef>>& output, in VerifyClassDefs()
193 std::set<dex_ir::ClassDef*, ClassDefCompare> orig_set; in VerifyClassDefs()
194 std::set<dex_ir::ClassDef*, ClassDefCompare> output_set; in VerifyClassDefs()
211 bool VerifyClassDef(dex_ir::ClassDef* orig, dex_ir::ClassDef* output, std::string* error_msg) { in VerifyClassDef()
Ddex_ir.h41 class ClassDef; variable
90 virtual void Dispatch(ClassDef* class_def) = 0;
174 std::vector<std::unique_ptr<ClassDef>>& ClassDefs() { return class_defs_.Collection(); } in ClassDefs()
238 ClassDef* GetClassDef(uint32_t index) { in GetClassDef()
337 CollectionVector<ClassDef> class_defs_;
780 class ClassDef : public IndexedItem {
782 ClassDef(const TypeId* class_type, in ClassDef() function
799 ~ClassDef() OVERRIDE { } in ~ClassDef()
827 DISALLOW_COPY_AND_ASSIGN(ClassDef);
Ddexlayout.cc638 dex_ir::ClassDef* class_def = header_->GetCollections().GetClassDef(idx); in DumpClassDef()
719 dex_ir::ClassDef* class_def = header_->GetCollections().GetClassDef(idx); in DumpClassAnnotations()
1286 dex_ir::ClassDef* class_def = header_->GetCollections().GetClassDef(idx); in DumpClass()
1501 std::vector<dex_ir::ClassDef*> new_class_def_order; in LayoutClassDefsAndClassData()
1502 for (std::unique_ptr<dex_ir::ClassDef>& class_def : header_->GetCollections().ClassDefs()) { in LayoutClassDefsAndClassData()
1508 for (std::unique_ptr<dex_ir::ClassDef>& class_def : header_->GetCollections().ClassDefs()) { in LayoutClassDefsAndClassData()
1519 dex_ir::ClassDef* class_def = new_class_def_order[i]; in LayoutClassDefsAndClassData()
1522 class_defs_offset += dex_ir::ClassDef::ItemSize(); in LayoutClassDefsAndClassData()
1538 for (std::unique_ptr<dex_ir::ClassDef>& class_def : header_->GetCollections().ClassDefs()) { in LayoutStringData()
1692 for (std::unique_ptr<dex_ir::ClassDef>& class_def : header_->GetCollections().ClassDefs()) { in LayoutCodeItems()
Ddex_ir.cc366 const DexFile::ClassDef& disk_class_def = dex_file.GetClassDef(i); in CreateClassDef()
389 ClassDef* class_def = new ClassDef(class_type, access_flags, superclass, interfaces_type_list, in CreateClassDef()
391 class_defs_.AddIndexedItem(class_def, ClassDefsOffset() + i * ClassDef::ItemSize(), i); in CreateClassDef()
/art/runtime/verifier/
Dmethod_verifier.h104 const DexFile::ClassDef& class_def,
117 const DexFile::ClassDef& class_def,
233 const DexFile::ClassDef& class_def,
280 const DexFile::ClassDef& class_def,
307 const DexFile::ClassDef& class_def_idx,
727 const DexFile::ClassDef& class_def_; // The class def of the declaring class of the method.
Dmethod_verifier_test.cc60 const DexFile::ClassDef& class_def = dex.GetClassDef(i); in VerifyDexFile()
/art/test/983-source-transform-verify/
Dsource_transform.cc82 const DexFile::ClassDef& def = dex->GetClassDef(i); in CheckDexFileHook()
/art/compiler/dex/
Ddex_to_dex_decompiler_test.cc86 const DexFile::ClassDef& class_def = updated_dex_file->GetClassDef(i); in RunTest()
/art/profman/
Dboot_image_profile.cc78 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); in GenerateBootImageProfile()
/art/compiler/driver/
Dcompiler_driver.cc430 const DexFile& dex_file, const DexFile::ClassDef& class_def) in GetDexToDexCompilationLevel()
468 const DexFile::ClassDef& class_def) { in GetDexToDexCompilationLevel()
803 const DexFile::ClassDef& class_def = dex_file->GetClassDef(class_def_index); in ResolveConstStrings()
871 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); in EnsureVerifiedOrVerifyAtRuntime()
1653 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_idx); in RequiresConstructorBarrier()
1695 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
1864 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in PopulateVerifiedMethods()
1885 const DexFile::ClassDef& class_def, in LoadAndUpdateStatus()
1939 const DexFile::ClassDef& class_def = dex_file->GetClassDef(i); in FastVerify()
2039 const DexFile::ClassDef& class_def = dex_file.GetClassDef(class_def_index); in Visit()
[all …]
/art/dexlist/
Ddexlist.cc140 const DexFile::ClassDef& pClassDef = pDexFile->GetClassDef(idx); in dumpClass()

123