Home
last modified time | relevance | path

Searched refs:access_to (Results 1 – 4 of 4) sorted by relevance

/art/runtime/mirror/
Dclass-inl.h273 inline bool Class::ResolvedFieldAccessTest(Class* access_to, ArtField* field, in ResolvedFieldAccessTest() argument
276 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedFieldAccessTest()
291 DCHECK_EQ(this->CanAccessMember(access_to, field->GetAccessFlags()), in ResolvedFieldAccessTest()
294 if (LIKELY(this->CanAccessMember(access_to, field->GetAccessFlags()))) { in ResolvedFieldAccessTest()
304 inline bool Class::ResolvedMethodAccessTest(Class* access_to, ArtMethod* method, in ResolvedMethodAccessTest() argument
308 if (UNLIKELY(!this->CanAccess(access_to))) { in ResolvedMethodAccessTest()
324 DCHECK_EQ(this->CanAccessMember(access_to, method->GetAccessFlags()), in ResolvedMethodAccessTest()
327 if (LIKELY(this->CanAccessMember(access_to, method->GetAccessFlags()))) { in ResolvedMethodAccessTest()
336 inline bool Class::CanAccessResolvedField(Class* access_to, ArtField* field, in CanAccessResolvedField() argument
338 return ResolvedFieldAccessTest<false, false>(access_to, field, field_idx, dex_cache); in CanAccessResolvedField()
[all …]
Dclass.h567 bool CanAccessMember(Class* access_to, uint32_t member_flags) in CanAccessMember() argument
570 if (this == access_to) { in CanAccessMember()
583 if (!this->IsInterface() && this->IsSubClass(access_to)) { in CanAccessMember()
588 return this->IsInSamePackage(access_to); in CanAccessMember()
594 bool CanAccessResolvedField(Class* access_to, ArtField* field,
597 bool CheckResolvedFieldAccess(Class* access_to, ArtField* field,
604 bool CanAccessResolvedMethod(Class* access_to, ArtMethod* resolved_method,
608 bool CheckResolvedMethodAccess(Class* access_to, ArtMethod* resolved_method,
1158 bool ResolvedFieldAccessTest(Class* access_to, ArtField* field,
1162 bool ResolvedMethodAccessTest(Class* access_to, ArtMethod* resolved_method,
/art/compiler/driver/
Dcompiler_driver-inl.h133 mirror::Class* access_to ATTRIBUTE_UNUSED, in CanAccessResolvedMember()
143 mirror::Class* access_to,
147 return referrer_class->CanAccessResolvedField(access_to, field, dex_cache, field_idx);
153 mirror::Class* access_to,
157 return referrer_class->CanAccessResolvedMethod(access_to, method, dex_cache, field_idx);
Dcompiler_driver.h498 mirror::Class* access_to,