Lines Matching refs:dex_cache

276     Handle<mirror::DexCache> dex_cache, uint32_t string_idx, StringTable& strings)  in PreloadDexCachesResolveString()  argument
278 mirror::String* string = dex_cache->GetResolvedString(string_idx); in PreloadDexCachesResolveString()
282 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveString()
289 dex_cache->SetResolvedString(string_idx, string); in PreloadDexCachesResolveString()
294 Thread* self, mirror::DexCache* dex_cache, uint32_t type_idx) in PreloadDexCachesResolveType() argument
296 mirror::Class* klass = dex_cache->GetResolvedType(type_idx); in PreloadDexCachesResolveType()
300 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveType()
312 dex_cache->SetResolvedType(type_idx, klass); in PreloadDexCachesResolveType()
322 static void PreloadDexCachesResolveField(Handle<mirror::DexCache> dex_cache, uint32_t field_idx, in PreloadDexCachesResolveField() argument
325 ArtField* field = dex_cache->GetResolvedField(field_idx, sizeof(void*)); in PreloadDexCachesResolveField()
329 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveField()
333 Handle<mirror::Class> klass(hs.NewHandle(dex_cache->GetResolvedType(field_id.class_idx_))); in PreloadDexCachesResolveField()
338 field = mirror::Class::FindStaticField(self, klass, dex_cache.Get(), field_idx); in PreloadDexCachesResolveField()
340 field = klass->FindInstanceField(dex_cache.Get(), field_idx); in PreloadDexCachesResolveField()
346 dex_cache->SetResolvedField(field_idx, field, sizeof(void*)); in PreloadDexCachesResolveField()
350 static void PreloadDexCachesResolveMethod(Handle<mirror::DexCache> dex_cache, uint32_t method_idx, in PreloadDexCachesResolveMethod() argument
353 ArtMethod* method = dex_cache->GetResolvedMethod(method_idx, sizeof(void*)); in PreloadDexCachesResolveMethod()
357 const DexFile* dex_file = dex_cache->GetDexFile(); in PreloadDexCachesResolveMethod()
359 mirror::Class* klass = dex_cache->GetResolvedType(method_id.class_idx_); in PreloadDexCachesResolveMethod()
366 method = klass->FindDirectMethod(dex_cache.Get(), method_idx, sizeof(void*)); in PreloadDexCachesResolveMethod()
369 method = klass->FindInterfaceMethod(dex_cache.Get(), method_idx, sizeof(void*)); in PreloadDexCachesResolveMethod()
373 method = klass->FindVirtualMethod(dex_cache.Get(), method_idx, sizeof(void*)); in PreloadDexCachesResolveMethod()
383 dex_cache->SetResolvedMethod(method_idx, method, sizeof(void*)); in PreloadDexCachesResolveMethod()
435 mirror::DexCache* dex_cache = linker->FindDexCache(*dex_file); in PreloadDexCachesStatsFilled() local
436 for (size_t j = 0; j < dex_cache->NumStrings(); j++) { in PreloadDexCachesStatsFilled()
437 mirror::String* string = dex_cache->GetResolvedString(j); in PreloadDexCachesStatsFilled()
442 for (size_t j = 0; j < dex_cache->NumResolvedTypes(); j++) { in PreloadDexCachesStatsFilled()
443 mirror::Class* klass = dex_cache->GetResolvedType(j); in PreloadDexCachesStatsFilled()
448 for (size_t j = 0; j < dex_cache->NumResolvedFields(); j++) { in PreloadDexCachesStatsFilled()
449 ArtField* field = linker->GetResolvedField(j, dex_cache); in PreloadDexCachesStatsFilled()
454 for (size_t j = 0; j < dex_cache->NumResolvedMethods(); j++) { in PreloadDexCachesStatsFilled()
455 ArtMethod* method = dex_cache->GetResolvedMethod(j, sizeof(void*)); in PreloadDexCachesStatsFilled()
497 Handle<mirror::DexCache> dex_cache(hs.NewHandle(linker->FindDexCache(*dex_file))); in VMRuntime_preloadDexCaches() local
500 for (size_t j = 0; j < dex_cache->NumStrings(); j++) { in VMRuntime_preloadDexCaches()
501 PreloadDexCachesResolveString(dex_cache, j, strings); in VMRuntime_preloadDexCaches()
506 for (size_t j = 0; j < dex_cache->NumResolvedTypes(); j++) { in VMRuntime_preloadDexCaches()
507 PreloadDexCachesResolveType(soa.Self(), dex_cache.Get(), j); in VMRuntime_preloadDexCaches()
523 PreloadDexCachesResolveField(dex_cache, field_idx, true); in VMRuntime_preloadDexCaches()
527 PreloadDexCachesResolveField(dex_cache, field_idx, false); in VMRuntime_preloadDexCaches()
532 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type); in VMRuntime_preloadDexCaches()
537 PreloadDexCachesResolveMethod(dex_cache, method_idx, invoke_type); in VMRuntime_preloadDexCaches()