Lines Matching refs:cur_data
1654 /*out*/RedefinitionDataIter* cur_data) { in AllocateAndRememberNewDexFileCookie() argument
1660 for (auto old_data = cur_data->GetHolder().begin(); old_data != *cur_data; ++old_data) { in AllocateAndRememberNewDexFileCookie()
1686 cur_data->SetNewDexFileCookie(new_cookie.Get()); in AllocateAndRememberNewDexFileCookie()
1690 for (auto old_data = cur_data->GetHolder().begin(); old_data != *cur_data; ++old_data) { in AllocateAndRememberNewDexFileCookie()
1715 /*out*/ RedefinitionDataIter* cur_data) { in CollectAndCreateNewInstances() argument
1716 if (!cur_data->IsInitialStructural()) { in CollectAndCreateNewInstances()
1722 art::Handle<art::mirror::Class> old_klass(hs.NewHandle(cur_data->GetMirrorClass())); in CollectAndCreateNewInstances()
1734 hs.NewHandle(cur_data->GetOldClasses())); in CollectAndCreateNewInstances()
1736 hs.NewHandle(cur_data->GetNewClasses())); in CollectAndCreateNewInstances()
1754 cur_data->SetOldInstanceObjects(old_instances_arr.Get()); in CollectAndCreateNewInstances()
1804 cur_data->SetNewInstanceObjects(new_instances_arr.Get()); in CollectAndCreateNewInstances()
1809 /*out*/RedefinitionDataIter* cur_data) { in FinishRemainingCommonAllocations() argument
1812 cur_data->SetMirrorClass(GetMirrorClass()); in FinishRemainingCommonAllocations()
1817 cur_data->SetSourceClassLoader(loader.Get()); in FinishRemainingCommonAllocations()
1820 cur_data->SetJavaDexFile(dex_file_obj.Get()); in FinishRemainingCommonAllocations()
1826 if (!AllocateAndRememberNewDexFileCookie(loader, dex_file_obj, cur_data)) { in FinishRemainingCommonAllocations()
1833 cur_data->SetNewDexCache(CreateNewDexCache(loader)); in FinishRemainingCommonAllocations()
1834 if (cur_data->GetNewDexCache() == nullptr) { in FinishRemainingCommonAllocations()
1842 cur_data->SetOriginalDexFile(AllocateOrGetOriginalDexFile()); in FinishRemainingCommonAllocations()
1843 if (cur_data->GetOriginalDexFile() == nullptr) { in FinishRemainingCommonAllocations()
1853 RedefinitionDataIter *cur_data) { in FinishNewClassAllocations() argument
1854 if (cur_data->IsInitialized() || !cur_data->IsActuallyStructural()) { in FinishNewClassAllocations()
1855 cur_data->SetInitialized(); in FinishNewClassAllocations()
1862 CHECK(cur_data->IsInitialStructural()) << "Should have already been initialized by supertype"; in FinishNewClassAllocations()
1890 old_klass(hs.NewHandle(cur_data->GetMirrorClass())); in FinishNewClassAllocations()
1891 if (setup_single_redefinition(cur_data, hs.NewHandle(old_klass->GetSuperClass())).IsNull()) { in FinishNewClassAllocations()
1938 cur_data->SetOldClasses(old_classes_arr.Get()); in FinishNewClassAllocations()
1955 if (old_type.Get() == cur_data->GetMirrorClass()) { in FinishNewClassAllocations()
1957 new_classes_arr->Set(i, cur_data->GetNewClassObject()); in FinishNewClassAllocations()
1972 *cur_data + 1, holder.end(), [&](auto it) REQUIRES_SHARED(art::Locks::mutator_lock_) { in FinishNewClassAllocations()
1996 cur_data->SetNewClasses(new_classes_arr.Get()); in FinishNewClassAllocations()
2538 void Redefiner::ClassRedefinition::ReverifyClass(const RedefinitionDataIter &cur_data) { in ReverifyClass() argument
2547 cur_data.GetMirrorClass(), in ReverifyClass()
3034 void Redefiner::ClassRedefinition::UpdateClassCommon(const RedefinitionDataIter &cur_data) { in UpdateClassCommon() argument
3036 art::ObjPtr<art::mirror::Class> klass(cur_data.GetMirrorClass()); in UpdateClassCommon()
3037 DCHECK(!IsStructuralRedefinition() || klass == cur_data.GetNewClassObject()); in UpdateClassCommon()
3055 const RedefinitionDataIter* cur_data) { in RestoreObsoleteMethodMapsIfUnneeded() argument
3056 if (cur_data->IsActuallyStructural()) { in RestoreObsoleteMethodMapsIfUnneeded()
3063 art::ObjPtr<art::mirror::PointerArray> old_methods = cur_data->GetOldObsoleteMethods(); in RestoreObsoleteMethodMapsIfUnneeded()
3070 ext->SetObsoleteArrays(cur_data->GetOldObsoleteMethods(), cur_data->GetOldDexCaches()); in RestoreObsoleteMethodMapsIfUnneeded()
3084 ext->SetObsoleteArrays(cur_data->GetOldObsoleteMethods(), cur_data->GetOldDexCaches()); in RestoreObsoleteMethodMapsIfUnneeded()
3091 /*out*/RedefinitionDataIter* cur_data) { in EnsureClassAllocationsFinished() argument
3109 if (!cur_data->IsActuallyStructural()) { in EnsureClassAllocationsFinished()
3116 cur_data->SetOldObsoleteMethods(ext->GetObsoleteMethods()); in EnsureClassAllocationsFinished()
3117 cur_data->SetOldDexCaches(ext->GetObsoleteDexCaches()); in EnsureClassAllocationsFinished()