• Home
  • Raw
  • Download

Lines Matching refs:dex_file_

538       dex_file_(redefined_dex_file),  in ClassRedefinition()
755 cl->GetInternTable()->InternStrong(dex_file_->GetLocation().c_str()))); in CreateNewDexCache()
764 dex_file_.get(), in CreateNewDexCache()
934 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckMethods()
937 art::ClassAccessor accessor(*dex_file_, dex_file_->GetClassDef(0)); in CheckMethods()
963 MethodNameAndSignature new_method_id(dex_file_.get(), new_method.GetIndex()); in CheckMethods()
1016 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckFields()
1017 art::ClassAccessor new_accessor(*dex_file_, dex_file_->GetClassDef(0)); in CheckFields()
1027 FieldNameAndSignature new_field_id(dex_file_.get(), new_field.GetIndex()); in CheckFields()
1075 if (dex_file_->NumClassDefs() != 1) { in CheckClass()
1078 dex_file_->NumClassDefs())); in CheckClass()
1083 const art::dex::ClassDef& def = dex_file_->GetClassDef(0); in CheckClass()
1097 const char* descriptor = dex_file_->StringByTypeIdx(def.class_idx_); in CheckClass()
1113 const char* super_descriptor = dex_file_->StringByTypeIdx(def.superclass_idx_); in CheckClass()
1120 const art::dex::TypeList* interfaces = dex_file_->GetInterfacesList(def); in CheckClass()
1139 dex_file_->StringByTypeIdx(interfaces->GetTypeItem(i).type_idx_), in CheckClass()
1613 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in CheckVerification()
1619 dex_file_.get(), in CheckVerification()
1622 /*class_def=*/ dex_file_->GetClassDef(0), in CheckVerification()
1679 dex_file_.get()))); in AllocateAndRememberNewDexFileCookie()
2235 dex_file_.release(); // NOLINT b/117926937 in ReleaseDexFile()
2560 const art::dex::TypeId& declaring_class_id = dex_file_->GetTypeId(class_def.class_idx_); in UpdateMethods()
2564 const art::dex::StringId* new_name_id = dex_file_->FindStringId(method.GetName()); in UpdateMethods()
2566 dex_file_->GetIndexForTypeId(*dex_file_->FindTypeId(method.GetReturnTypeDescriptor())); in UpdateMethods()
2571 dex_file_->GetIndexForTypeId( in UpdateMethods()
2572 *dex_file_->FindTypeId( in UpdateMethods()
2577 const art::dex::ProtoId* proto_id = dex_file_->FindProtoId(method_return_idx, new_type_list); in UpdateMethods()
2579 const art::dex::MethodId* method_id = dex_file_->FindMethodId(declaring_class_id, in UpdateMethods()
2583 uint32_t dex_method_idx = dex_file_->GetIndexForMethodId(*method_id); in UpdateMethods()
2586 method.SetCodeItemOffset(dex_file_->FindCodeItemOffset(class_def, dex_method_idx)); in UpdateMethods()
2598 dex_file_->FindTypeId(field.GetDeclaringClass()->GetDescriptor(&declaring_class_name)); in UpdateFields()
2599 const art::dex::StringId* new_name_id = dex_file_->FindStringId(field.GetName()); in UpdateFields()
2600 const art::dex::TypeId* new_type_id = dex_file_->FindTypeId(field.GetTypeDescriptor()); in UpdateFields()
2603 dex_file_->FindFieldId(*new_declaring_id, *new_name_id, *new_type_id); in UpdateFields()
2605 uint32_t new_field_index = dex_file_->GetIndexForFieldId(*new_field_id); in UpdateFields()
3003 DCHECK_EQ(dex_file_->NumClassDefs(), 1u); in UpdateClassInPlace()
3004 const art::dex::ClassDef& class_def = dex_file_->GetClassDef(0); in UpdateClassInPlace()
3025 mclass->SetDexClassDefIndex(dex_file_->GetIndexForClassDef(class_def)); in UpdateClassInPlace()
3026 mclass->SetDexTypeIndex(dex_file_->GetIndexForTypeId(*dex_file_->FindTypeId(class_sig_.c_str()))); in UpdateClassInPlace()