Home
last modified time | relevance | path

Searched refs:GetAccessFlags (Results 1 – 24 of 24) sorted by relevance

/art/runtime/mirror/
Dart_method.h65 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 …]
Dart_field.h58 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()
Dclass.h223 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 …]
Dclass-inl.h266 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
Dart_method.cc359 SetAccessFlags(GetAccessFlags() | kAccFastNative); in RegisterNative()
Dart_field-inl.h50 inline uint32_t ArtField::GetAccessFlags() { in GetAccessFlags() function
Dclass.cc225 GetAccessFlags() >> 16, GetAccessFlags() & kAccJavaFlagsMask); in DumpClass()
Dart_method-inl.h62 inline uint32_t ArtMethod::GetAccessFlags() { in GetAccessFlags() function
/art/runtime/verifier/
Dmethod_verifier-inl.h53 inline uint32_t MethodVerifier::GetAccessFlags() const { in GetAccessFlags() function
Dmethod_verifier.h235 uint32_t GetAccessFlags() const;
Dmethod_verifier.cc371 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/
Dinline_method_analyser.cc232 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/
Ddex_compilation_unit.h81 uint32_t GetAccessFlags() const { in GetAccessFlags() function
Dcompiler_driver.cc556 uint32_t access_flags = method->GetAccessFlags(); in CompileOne()
/art/compiler/dex/
Dverification_results.cc52 bool compile = IsCandidateForCompilation(ref, method_verifier->GetAccessFlags()); in ProcessVerifiedMethod()
/art/compiler/llvm/
Dcompiler_llvm.cc147 dex_compilation_unit->GetAccessFlags(), in CompileDexMethod()
/art/runtime/gc/
Dreference_processor.cc207 << klass->GetAccessFlags(); in DelayReferenceReferent()
/art/runtime/entrypoints/
Dentrypoint_utils-inl.h522 resolved_field->GetAccessFlags()) || in FindFieldFast()
557 resolved_method->GetAccessFlags()))) { in FindMethodFast()
/art/runtime/
Dquick_exception_handler.cc213 m->GetAccessFlags(), true, true, true); in HandleDeoptimization()
Dclass_linker.cc487 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 …]
Dclass_linker_test.cc98 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()
Dreflection.cc568 if (!accessible && !VerifyAccess(soa.Self(), receiver, declaring_class, m->GetAccessFlags())) { in InvokeMethod()
Ddebugger.cc904 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/
Djava_lang_reflect_Field.cc40 if (!VerifyAccess(self, obj, field->GetDeclaringClass(), field->GetAccessFlags())) { in VerifyFieldAccess()