Lines Matching refs:dex_cache
612 DexCache* dex_cache = class_linker->GetDexCache(i); in ComputeEagerResolvedStringsCallback() local
613 const DexFile& dex_file = *dex_cache->GetDexFile(); in ComputeEagerResolvedStringsCallback()
623 if (dex_cache->GetResolvedString(string_idx) == NULL) { in ComputeEagerResolvedStringsCallback()
624 dex_cache->SetResolvedString(string_idx, string); in ComputeEagerResolvedStringsCallback()
670 DexCache* dex_cache = class_linker->GetDexCache(idx); in PruneNonImageClasses() local
671 for (size_t i = 0; i < dex_cache->NumResolvedTypes(); i++) { in PruneNonImageClasses()
672 Class* klass = dex_cache->GetResolvedType(i); in PruneNonImageClasses()
674 dex_cache->SetResolvedType(i, NULL); in PruneNonImageClasses()
677 for (size_t i = 0; i < dex_cache->NumResolvedMethods(); i++) { in PruneNonImageClasses()
678 ArtMethod* method = dex_cache->GetResolvedMethod(i); in PruneNonImageClasses()
680 dex_cache->SetResolvedMethod(i, resolution_method); in PruneNonImageClasses()
683 for (size_t i = 0; i < dex_cache->NumResolvedFields(); i++) { in PruneNonImageClasses()
684 ArtField* field = dex_cache->GetResolvedField(i); in PruneNonImageClasses()
686 dex_cache->SetResolvedField(i, NULL); in PruneNonImageClasses()