Lines Matching refs:mirror

42 inline ObjPtr<mirror::Class> ClassLinker::FindArrayClass(Thread* self,  in FindArrayClass()
43 ObjPtr<mirror::Class> element_class) { in FindArrayClass()
46 ObjPtr<mirror::Class> array_class = find_array_class_cache_[i].Read(); in FindArrayClass()
55 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(element_class->GetClassLoader())); in FindArrayClass()
56 ObjPtr<mirror::Class> array_class = FindClass(self, descriptor.c_str(), class_loader); in FindArrayClass()
60 find_array_class_cache_[victim_index] = GcRoot<mirror::Class>(array_class); in FindArrayClass()
69 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString()
75 ObjPtr<mirror::String> resolved = in ResolveString()
83 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString()
89 ObjPtr<mirror::String> resolved = in ResolveString()
97 inline ObjPtr<mirror::String> ClassLinker::ResolveString(dex::StringIndex string_idx, in ResolveString()
98 Handle<mirror::DexCache> dex_cache) { in ResolveString()
101 ObjPtr<mirror::String> resolved = dex_cache->GetResolvedString(string_idx); in ResolveString()
108 inline ObjPtr<mirror::String> ClassLinker::LookupString(dex::StringIndex string_idx, in LookupString()
109 ObjPtr<mirror::DexCache> dex_cache) { in LookupString()
110 ObjPtr<mirror::String> resolved = dex_cache->GetResolvedString(string_idx); in LookupString()
117 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
118 ObjPtr<mirror::Class> referrer) { in ResolveType()
121 HandleWrapperObjPtr<mirror::Class> referrer_wrapper = hs.NewHandleWrapper(&referrer); in ResolveType()
127 ObjPtr<mirror::Class> resolved_type = in ResolveType()
135 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
141 ObjPtr<mirror::Class> resolved_type = in ResolveType()
149 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
155 ObjPtr<mirror::Class> resolved_type = in ResolveType()
163 inline ObjPtr<mirror::Class> ClassLinker::ResolveType(dex::TypeIndex type_idx, in ResolveType()
164 Handle<mirror::DexCache> dex_cache, in ResolveType()
165 Handle<mirror::ClassLoader> class_loader) { in ResolveType()
168 ObjPtr<mirror::Class> resolved = dex_cache->GetResolvedType(type_idx); in ResolveType()
175 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType(dex::TypeIndex type_idx, in LookupResolvedType()
176 ObjPtr<mirror::Class> referrer) { in LookupResolvedType()
179 ObjPtr<mirror::Class> type = in LookupResolvedType()
187 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType(dex::TypeIndex type_idx, in LookupResolvedType()
191 ObjPtr<mirror::Class> type = in LookupResolvedType()
199 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType(dex::TypeIndex type_idx, in LookupResolvedType()
203 ObjPtr<mirror::Class> type = in LookupResolvedType()
211 inline ObjPtr<mirror::Class> ClassLinker::LookupResolvedType( in LookupResolvedType()
213 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedType()
214 ObjPtr<mirror::ClassLoader> class_loader) { in LookupResolvedType()
215 ObjPtr<mirror::Class> type = dex_cache->GetResolvedType(type_idx); in LookupResolvedType()
223 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch()
234 ObjPtr<mirror::Class> klass = class_getter(); in CheckInvokeClassMismatch()
253 ObjPtr<mirror::Class> klass = class_getter(); in CheckInvokeClassMismatch()
272 inline bool ClassLinker::CheckInvokeClassMismatch(ObjPtr<mirror::DexCache> dex_cache, in CheckInvokeClassMismatch()
275 ObjPtr<mirror::ClassLoader> class_loader) { in CheckInvokeClassMismatch()
281 ObjPtr<mirror::Class> klass = in CheckInvokeClassMismatch()
289 ObjPtr<mirror::DexCache> dex_cache, in LookupResolvedMethod()
290 ObjPtr<mirror::ClassLoader> class_loader) { in LookupResolvedMethod()
296 ObjPtr<mirror::Class> klass = LookupResolvedType(method_id.class_idx_, dex_cache, class_loader); in LookupResolvedMethod()
322 ObjPtr<mirror::DexCache> dex_cache = referrer->GetDexCache(); in GetResolvedMethod()
323 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetClassLoader(); in GetResolvedMethod()
328 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in GetResolvedMethod()
361 ObjPtr<mirror::Class> declaring_class = referrer->GetDeclaringClass(); in ResolveMethod()
363 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod()
364 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod()
373 ObjPtr<mirror::Class> cls = in ResolveMethod()
382 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveMethod()
383 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(referrer->GetClassLoader())); in ResolveMethod()
396 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveMethod()
427 ObjPtr<mirror::ClassLoader> class_loader = referrer->GetDeclaringClass()->GetClassLoader(); in LookupResolvedField()
443 ObjPtr<mirror::Class> referring_class = referrer->GetDeclaringClass(); in ResolveField()
444 Handle<mirror::DexCache> dex_cache(hs.NewHandle(referrer->GetDexCache())); in ResolveField()
445 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(referring_class->GetClassLoader())); in ResolveField()
465 inline ObjPtr<mirror::ObjectArray<mirror::Class>> ClassLinker::GetClassRoots() { in GetClassRoots()
466 ObjPtr<mirror::ObjectArray<mirror::Class>> class_roots = in GetClassRoots()