Lines Matching refs:kls
112 VeridexResolver* VeridexResolver::GetResolverOf(const VeriClass& kls) const { in GetResolverOf()
113 auto resolver_it = dex_resolvers_.lower_bound(reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
119 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
121 reinterpret_cast<uintptr_t>(kls.GetClassDef())); in GetResolverOf()
125 VeriMethod VeridexResolver::LookupMethodIn(const VeriClass& kls, in LookupMethodIn() argument
128 if (kls.IsPrimitive()) { in LookupMethodIn()
132 if (kls.IsArray()) { in LookupMethodIn()
137 VeridexResolver* resolver = GetResolverOf(kls); in LookupMethodIn()
141 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupMethodIn()
153 if (kls.GetClassDef()->superclass_idx_.IsValid()) { in LookupMethodIn()
154 VeriClass* super = resolver->GetVeriClass(kls.GetClassDef()->superclass_idx_); in LookupMethodIn()
164 const dex::TypeList* interfaces = other_dex_file.GetInterfacesList(*kls.GetClassDef()); in LookupMethodIn()
180 VeriField VeridexResolver::LookupFieldIn(const VeriClass& kls, in LookupFieldIn() argument
183 if (kls.IsPrimitive()) { in LookupFieldIn()
187 if (kls.IsArray()) { in LookupFieldIn()
192 VeridexResolver* resolver = GetResolverOf(kls); in LookupFieldIn()
196 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupFieldIn()
208 const dex::TypeList* interfaces = other_dex_file.GetInterfacesList(*kls.GetClassDef()); in LookupFieldIn()
223 if (kls.GetClassDef()->superclass_idx_.IsValid()) { in LookupFieldIn()
224 VeriClass* super = resolver->GetVeriClass(kls.GetClassDef()->superclass_idx_); in LookupFieldIn()
235 VeriMethod VeridexResolver::LookupDeclaredMethodIn(const VeriClass& kls, in LookupDeclaredMethodIn() argument
238 if (kls.IsPrimitive()) { in LookupDeclaredMethodIn()
241 if (kls.IsArray()) { in LookupDeclaredMethodIn()
244 VeridexResolver* resolver = GetResolverOf(kls); in LookupDeclaredMethodIn()
246 ClassAccessor other_dex_accessor(other_dex_file, *kls.GetClassDef()); in LookupDeclaredMethodIn()
263 VeriClass* kls = GetVeriClass(method_id.class_idx_); in GetMethod() local
264 if (kls == nullptr) { in GetMethod()
268 method_info = LookupMethodIn(*kls, in GetMethod()
281 VeriClass* kls = GetVeriClass(field_id.class_idx_); in GetField() local
282 if (kls == nullptr) { in GetField()
286 field_info = LookupFieldIn(*kls, in GetField()