/art/runtime/mirror/ |
D | art_method.h | 65 ALWAYS_INLINE uint32_t GetAccessFlags() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 77 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic() 82 return (GetAccessFlags() & kAccPrivate) != 0; in IsPrivate() 87 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic() 92 return (GetAccessFlags() & kAccConstructor) != 0; in IsConstructor() 102 return IsDirect(GetAccessFlags()); in IsDirect() 112 return (GetAccessFlags() & synchonized) != 0; in IsSynchronized() 116 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal() 120 return (GetAccessFlags() & kAccMiranda) != 0; in IsMiranda() 124 return (GetAccessFlags() & kAccNative) != 0; in IsNative() [all …]
|
D | art_field.h | 58 uint32_t GetAccessFlags() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 66 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic() 70 return (GetAccessFlags() & kAccStatic) != 0; in IsStatic() 74 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal() 149 return (GetAccessFlags() & kAccVolatile) != 0; in IsVolatile()
|
D | class.h | 223 ALWAYS_INLINE uint32_t GetAccessFlags() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 229 return (GetAccessFlags() & kAccInterface) != 0; in IsInterface() 234 return (GetAccessFlags() & kAccPublic) != 0; in IsPublic() 239 return (GetAccessFlags() & kAccFinal) != 0; in IsFinal() 243 return (GetAccessFlags() & kAccClassIsFinalizable) != 0; in IsFinalizable() 253 return (GetAccessFlags() & kAccAbstract) != 0; in IsAbstract() 258 return (GetAccessFlags() & kAccAnnotation) != 0; in IsAnnotation() 263 return (GetAccessFlags() & kAccSynthetic) != 0; in IsSynthetic() 268 return (GetAccessFlags<kVerifyFlags>() & kAccClassIsReference) != 0; in IsTypeOfReferenceClass() 273 return (GetAccessFlags<kVerifyFlags>() & kAccClassIsWeakReference) != 0; in IsWeakReferenceClass() [all …]
|
D | class-inl.h | 266 DCHECK_EQ(this->CanAccessMember(access_to, field->GetAccessFlags()), in ResolvedFieldAccessTest() 267 this->CanAccessMember(dex_access_to, field->GetAccessFlags())); in ResolvedFieldAccessTest() 269 if (LIKELY(this->CanAccessMember(access_to, field->GetAccessFlags()))) { in ResolvedFieldAccessTest() 299 DCHECK_EQ(this->CanAccessMember(access_to, method->GetAccessFlags()), in ResolvedMethodAccessTest() 300 this->CanAccessMember(dex_access_to, method->GetAccessFlags())); in ResolvedMethodAccessTest() 302 if (LIKELY(this->CanAccessMember(access_to, method->GetAccessFlags()))) { in ResolvedMethodAccessTest() 509 inline uint32_t Class::GetAccessFlags() { in GetAccessFlags() function
|
D | art_method.cc | 359 SetAccessFlags(GetAccessFlags() | kAccFastNative); in RegisterNative()
|
D | art_field-inl.h | 50 inline uint32_t ArtField::GetAccessFlags() { in GetAccessFlags() function
|
D | class.cc | 225 GetAccessFlags() >> 16, GetAccessFlags() & kAccJavaFlagsMask); in DumpClass()
|
D | art_method-inl.h | 62 inline uint32_t ArtMethod::GetAccessFlags() { in GetAccessFlags() function
|
/art/runtime/verifier/ |
D | method_verifier-inl.h | 53 inline uint32_t MethodVerifier::GetAccessFlags() const { in GetAccessFlags() function
|
D | method_verifier.h | 235 uint32_t GetAccessFlags() const;
|
D | method_verifier.cc | 371 m->GetCodeItem(), m->GetDexMethodIndex(), m, m->GetAccessFlags(), false, in FindLocksAtDexPc() 395 m->GetCodeItem(), m->GetDexMethodIndex(), m, m->GetAccessFlags(), true, in FindAccessedFieldAtDexPc() 425 m->GetCodeItem(), m->GetDexMethodIndex(), m, m->GetAccessFlags(), true, in FindInvokedMethodAtDexPc() 3099 if (!referrer.CanAccessMember(res_method->GetDeclaringClass(), res_method->GetAccessFlags())) { in ResolveMethodAndCheckAccess() 3682 field->GetAccessFlags())) { in GetStaticField() 3717 field->GetAccessFlags())) { in GetInstanceField()
|
/art/runtime/quick/ |
D | inline_method_analyser.cc | 232 if ((verifier->GetAccessFlags() & kAccStatic) != 0u || object_arg != 0u) { in AnalyseIGetMethod() 254 data->method_is_static = (verifier->GetAccessFlags() & kAccStatic) != 0u ? 1u : 0u; in AnalyseIGetMethod() 297 if ((verifier->GetAccessFlags() & kAccStatic) != 0u || object_arg != 0u) { in AnalyseIPutMethod() 321 data->method_is_static = (verifier->GetAccessFlags() & kAccStatic) != 0u ? 1u : 0u; in AnalyseIPutMethod()
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 81 uint32_t GetAccessFlags() const { in GetAccessFlags() function
|
D | compiler_driver.cc | 556 uint32_t access_flags = method->GetAccessFlags(); in CompileOne()
|
/art/compiler/dex/ |
D | verification_results.cc | 52 bool compile = IsCandidateForCompilation(ref, method_verifier->GetAccessFlags()); in ProcessVerifiedMethod()
|
/art/compiler/llvm/ |
D | compiler_llvm.cc | 147 dex_compilation_unit->GetAccessFlags(), in CompileDexMethod()
|
/art/runtime/gc/ |
D | reference_processor.cc | 207 << klass->GetAccessFlags(); in DelayReferenceReferent()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 522 resolved_field->GetAccessFlags()) || in FindFieldFast() 557 resolved_method->GetAccessFlags()))) { in FindMethodFast()
|
/art/runtime/ |
D | quick_exception_handler.cc | 213 m->GetAccessFlags(), true, true, true); in HandleDeoptimization()
|
D | class_linker.cc | 487 java_lang_ref_FinalizerReference->GetAccessFlags() | in InitWithoutImage() 492 java_lang_ref_PhantomReference->GetAccessFlags() | in InitWithoutImage() 497 java_lang_ref_SoftReference->GetAccessFlags() | kAccClassIsReference); in InitWithoutImage() 501 java_lang_ref_WeakReference->GetAccessFlags() | in InitWithoutImage() 3212 int access_flags = new_class->GetComponentType()->GetAccessFlags(); in CreateArrayClass() 3624 klass->SetAccessFlags(klass->GetAccessFlags() | kAccPreverified); in VerifyClass() 3647 if ((klass->GetAccessFlags() & kAccPreverified) == 0) { in EnsurePreverifiedMethods() 3649 klass->SetAccessFlags(klass->GetAccessFlags() | kAccPreverified); in EnsurePreverifiedMethods() 3989 constructor->SetAccessFlags((constructor->GetAccessFlags() & ~kAccProtected) | kAccPublic); in CreateProxyConstructor() 4021 method->SetAccessFlags((method->GetAccessFlags() & ~kAccAbstract) | kAccFinal); in CreateProxyMethod() [all …]
|
D | class_linker_test.cc | 98 EXPECT_EQ(kAccPublic | kAccFinal | kAccAbstract, primitive->GetAccessFlags()); in AssertPrimitiveClass() 113 EXPECT_EQ(kAccFinal | kAccAbstract, (array->GetAccessFlags() & (kAccFinal | kAccAbstract))); in AssertArrayClass() 1080 EXPECT_EQ((method->GetAccessFlags() & kAccPreverified) != 0U, verified) in CheckMethod() 1087 EXPECT_EQ((c->GetAccessFlags() & kAccPreverified) != 0U, preverified) in CheckPreverified()
|
D | reflection.cc | 568 if (!accessible && !VerifyAccess(soa.Self(), receiver, declaring_class, m->GetAccessFlags())) { in InvokeMethod()
|
D | debugger.cc | 904 uint32_t access_flags = c->GetAccessFlags() & kAccJavaFlagsMask; in GetModifiers() 1604 expandBufAdd4BE(pReply, MangleAccessFlags(f->GetAccessFlags())); in OutputDeclaredFields() 1631 expandBufAdd4BE(pReply, MangleAccessFlags(m->GetAccessFlags())); in OutputDeclaredMethods() 3160 m->GetAccessFlags(), false, true, false); in IsMethodPossiblyInlined()
|
/art/runtime/native/ |
D | java_lang_reflect_Field.cc | 40 if (!VerifyAccess(self, obj, field->GetDeclaringClass(), field->GetAccessFlags())) { in VerifyFieldAccess()
|