Lines Matching refs:mirror
39 inline ObjPtr<mirror::Class> ClassLinker::FindArrayClass(Thread* self, in FindArrayClass()
40 ObjPtr<mirror::Class> element_class) { in FindArrayClass()
43 ObjPtr<mirror::Class> array_class = find_array_class_cache_[i].Read(); in FindArrayClass()
52 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(element_class->GetClassLoader())); in FindArrayClass()
53 ObjPtr<mirror::Class> array_class = FindClass(self, descriptor.c_str(), class_loader); in FindArrayClass()
57 find_array_class_cache_[victim_index] = GcRoot<mirror::Class>(array_class); in FindArrayClass()
66 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString()
72 ObjPtr<mirror::String> resolved = in ResolveString()
80 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString()
86 ObjPtr<mirror::String> resolved = in ResolveString()
94 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString()
95 Handle<mirror::DexCache> dex_cache) { in ResolveString()
98 ObjPtr<mirror::String> resolved = dex_cache->GetResolvedString(string_idx); in ResolveString()
105 inline ObjPtr<mirror::String> ClassLinker::LookupString(dex::StringIndex string_idx, in LookupString()
106 ObjPtr<mirror::DexCache> dex_cache) { in LookupString()
107 ObjPtr<mirror::String> resolved = dex_cache->GetResolvedString(string_idx); in LookupString()
114 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
115 ObjPtr<mirror::Class> referrer) { in ResolveType()
118 HandleWrapperObjPtr<mirror::Class> referrer_wrapper = hs.NewHandleWrapper(&referrer); in ResolveType()
124 ObjPtr<mirror::Class> resolved_type = in ResolveType()
132 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
138 ObjPtr<mirror::Class> resolved_type = in ResolveType()
146 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
152 ObjPtr<mirror::Class> resolved_type = in ResolveType()
160 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
161 Handle<mirror::DexCache> dex_cache, in ResolveType()
162 Handle<mirror::ClassLoader> class_loader) { in ResolveType()
165 ObjPtr<mirror::Class> resolved = dex_cache->GetResolvedType(type_idx); in ResolveType()
172 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType(dex::TypeIndex type_idx, in LookupResolvedType()
173 ObjPtr<mirror::Class> referrer) { in LookupResolvedType()
176 ObjPtr<mirror::Class> type = in LookupResolvedType()
184 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType(dex::TypeIndex type_idx, in LookupResolvedType()
188 ObjPtr<mirror::Class> type = in LookupResolvedType()
196 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType(dex::TypeIndex type_idx, in LookupResolvedType()
200 ObjPtr<mirror::Class> type = in LookupResolvedType()
208 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType( in LookupResolvedType()
210 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedType()
211 ObjPtr<mirror::ClassLoader> class_loader) { in LookupResolvedType()
212 ObjPtr<mirror::Class> type = dex_cache->GetResolvedType(type_idx); in LookupResolvedType()
220 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch()
230 ObjPtr<mirror::Class> klass = class_getter(); in CheckInvokeClassMismatch()
249 ObjPtr<mirror::Class> klass = class_getter(); in CheckInvokeClassMismatch()
268 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch()
271 ObjPtr<mirror::ClassLoader> class_loader) { in CheckInvokeClassMismatch()
277 ObjPtr<mirror::Class> klass = in CheckInvokeClassMismatch()
285 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedMethod()
286 ObjPtr<mirror::ClassLoader> class_loader) { in LookupResolvedMethod()
292 ObjPtr<mirror::Class> klass = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in LookupResolvedMethod()
318 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod()
319 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetClassLoader(); in GetResolvedMethod()
324 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in GetResolvedMethod()
357 ObjPtr<mirror::Class> declaring_class = referrer->GetDeclaringClass(); in ResolveMethod()
359 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod()
360 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod()
369 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in ResolveMethod()
370 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetClassLoader(); in ResolveMethod()
376 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveMethod()
407 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetDeclaringClass()->GetClassLoader(); in LookupResolvedField()
423 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveField()
424 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveField()
425 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referring_class->GetClassLoader())); in ResolveField()
445 inline ObjPtr<mirror::ObjectArray<mirror::Class>> ClassLinker::GetClassRoots() { in GetClassRoots()
446 ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots = in GetClassRoots()