Home
last modified time | relevance | path

Searched refs:access_flags (Results 1 – 25 of 46) sorted by relevance

12

/art/libdexfile/dex/
Dmodifiers.cc23 std::string PrettyJavaAccessFlags(uint32_t access_flags) { in PrettyJavaAccessFlags() argument
25 if ((access_flags & kAccPublic) != 0) { in PrettyJavaAccessFlags()
28 if ((access_flags & kAccProtected) != 0) { in PrettyJavaAccessFlags()
31 if ((access_flags & kAccPrivate) != 0) { in PrettyJavaAccessFlags()
34 if ((access_flags & kAccFinal) != 0) { in PrettyJavaAccessFlags()
37 if ((access_flags & kAccStatic) != 0) { in PrettyJavaAccessFlags()
40 if ((access_flags & kAccAbstract) != 0) { in PrettyJavaAccessFlags()
43 if ((access_flags & kAccInterface) != 0) { in PrettyJavaAccessFlags()
46 if ((access_flags & kAccTransient) != 0) { in PrettyJavaAccessFlags()
49 if ((access_flags & kAccVolatile) != 0) { in PrettyJavaAccessFlags()
[all …]
Dmodifiers.h161 std::string PrettyJavaAccessFlags(uint32_t access_flags);
Ddex_file_verifier.cc254 uint32_t access_flags,
258 uint32_t access_flags,
830 uint32_t access_flags, in CheckClassDataItemField() argument
848 if (!CheckFieldAccessFlags(idx, access_flags, class_access_flags, &error_msg)) { in CheckClassDataItemField()
857 uint32_t access_flags, in CheckClassDataItemMethod() argument
899 access_flags, in CheckClassDataItemMethod()
1392 uint32_t field_idx_diff, access_flags; in CheckIntraClassDataItemFields() local
1394 UNLIKELY(!DecodeUnsignedLeb128Checked(&ptr, data_end, &access_flags))) { in CheckIntraClassDataItemFields()
1407 bool is_static = (access_flags & kAccStatic) != 0; in CheckIntraClassDataItemFields()
1439 uint32_t method_idx_diff, access_flags, code_off; in CheckIntraClassDataItemMethods() local
[all …]
/art/runtime/
Dart_method.h171 static bool IsPublic(uint32_t access_flags) {
172 return (access_flags & kAccPublic) != 0;
180 static bool IsPrivate(uint32_t access_flags) {
181 return (access_flags & kAccPrivate) != 0;
189 static bool IsStatic(uint32_t access_flags) {
190 return (access_flags & kAccStatic) != 0;
198 static bool IsConstructor(uint32_t access_flags) {
199 return (access_flags & kAccConstructor) != 0;
207 static bool IsClassInitializer(uint32_t access_flags) {
208 return IsConstructor(access_flags) && IsStatic(access_flags);
[all …]
Dnterp_helpers.cc227 uint32_t access_flags = method->GetAccessFlags(); in CanMethodUseNterp() local
228 if (ArtMethod::IsNative(access_flags) || in CanMethodUseNterp()
229 !ArtMethod::IsInvokable(access_flags) || in CanMethodUseNterp()
230 ArtMethod::MustCountLocks(access_flags) || in CanMethodUseNterp()
Dreflection.h124 uint32_t access_flags,
132 uint32_t access_flags,
Dreflection.cc1017 uint32_t access_flags, in VerifyAccess() argument
1020 if ((access_flags & kAccPublic) != 0) { in VerifyAccess()
1029 return VerifyAccess(obj, declaring_class, access_flags, klass); in VerifyAccess()
1034 uint32_t access_flags, in VerifyAccess() argument
1040 if ((access_flags & kAccPrivate) != 0) { in VerifyAccess()
1043 if ((access_flags & kAccProtected) != 0) { in VerifyAccess()
Dhidden_api.cc161 const uint32_t access_flags = field->GetAccessFlags(); in InitializeCorePlatformApiPrivateFields() local
162 uint32_t new_access_flags = access_flags | kAccCorePlatformApi; in InitializeCorePlatformApiPrivateFields()
163 DCHECK(new_access_flags != access_flags); in InitializeCorePlatformApiPrivateFields()
/art/test/2243-single-step-default/
Dsingle_step_helper.cc82 jint access_flags = 0; in singleStepCB() local
83 if (JvmtiErrorToException(env, jvmti, jvmti->GetMethodModifiers(m, &access_flags))) { in singleStepCB()
88 bool is_copied = ((access_flags & (kAccIntrinsic | kAccCopied)) == kAccCopied); in singleStepCB()
/art/compiler/driver/
Ddex_compilation_unit.cc36 uint32_t access_flags, in DexCompilationUnit() argument
46 access_flags_(access_flags), in DexCompilationUnit()
Ddex_compilation_unit.h45 uint32_t access_flags,
/art/compiler/
Dcompiler.h63 uint32_t access_flags,
71 virtual CompiledMethod* JniCompile(uint32_t access_flags,
/art/compiler/debug/
Dmethod_debug_info.h35 uint32_t access_flags; member
Delf_debug_info_writer.h156 const bool is_static = (mi->access_flags & kAccStatic) != 0; in Write()
388 uint32_t access_flags = field->GetAccessFlags(); in Write() local
389 if (access_flags & kAccPublic) { in Write()
391 } else if (access_flags & kAccProtected) { in Write()
393 } else if (access_flags & kAccPrivate) { in Write()
/art/compiler/jni/quick/
Djni_compiler.cc92 uint32_t access_flags, in ArtJniCompileMethodInternal() argument
97 const bool is_native = (access_flags & kAccNative) != 0; in ArtJniCompileMethodInternal()
99 const bool is_static = (access_flags & kAccStatic) != 0; in ArtJniCompileMethodInternal()
100 const bool is_synchronized = (access_flags & kAccSynchronized) != 0; in ArtJniCompileMethodInternal()
107 const bool is_fast_native = (access_flags & kAccFastNative) != 0u; in ArtJniCompileMethodInternal()
110 const bool is_critical_native = (access_flags & kAccCriticalNative) != 0u; in ArtJniCompileMethodInternal()
132 << " :: access_flags = " << std::hex << access_flags << std::dec; in ArtJniCompileMethodInternal()
811 uint32_t access_flags, in ArtQuickJniCompileMethod() argument
817 compiler_options, access_flags, method_idx, dex_file, allocator); in ArtQuickJniCompileMethod()
820 compiler_options, access_flags, method_idx, dex_file, allocator); in ArtQuickJniCompileMethod()
Djni_compiler.h68 uint32_t access_flags,
/art/runtime/mirror/
Dfield.h123 void SetAccessFlags(uint32_t access_flags) REQUIRES_SHARED(Locks::mutator_lock_) { in SetAccessFlags() argument
124 SetField32<kTransactionActive, kCheckTransaction>(AccessFlagsOffset(), access_flags); in SetAccessFlags()
/art/compiler/optimizing/
Doptimizing_compiler.cc278 uint32_t access_flags,
286 CompiledMethod* JniCompile(uint32_t access_flags,
1026 uint32_t access_flags, in Compile() argument
1060 access_flags, in Compile()
1149 CompiledMethod* OptimizingCompiler::JniCompile(uint32_t access_flags, in JniCompile() argument
1176 access_flags, in JniCompile()
1201 compiler_options, access_flags, method_idx, dex_file, &allocator); in JniCompile()
1248 const uint32_t access_flags = method->GetAccessFlags(); in JitCompile() local
1268 compiler_options, access_flags, method_idx, *dex_file, &allocator); in JitCompile()
1305 info.access_flags = access_flags; in JitCompile()
[all …]
/art/runtime/native/
Djava_lang_reflect_Executable.cc171 MutableHandle<mirror::IntArray> access_flags = hs.NewHandle<mirror::IntArray>(nullptr); in Executable_getParameters0() local
172 if (!annotations::GetParametersMetadataForMethod(art_method, &names, &access_flags)) { in Executable_getParameters0()
177 if (UNLIKELY(names == nullptr || access_flags == nullptr)) { in Executable_getParameters0()
186 int32_t access_flags_count = access_flags.Get()->GetLength(); in Executable_getParameters0()
217 int32_t modifiers = access_flags.Get()->Get(parameter_index); in Executable_getParameters0()
/art/runtime/verifier/
Dreg_type-inl.h49 inline bool RegType::CanAccessMember(ObjPtr<mirror::Class> klass, uint32_t access_flags) const { in CanAccessMember() argument
55 return GetClass()->CanAccessMember(klass, access_flags); in CanAccessMember()
/art/dexlayout/
Ddex_ir_builder.cc481 uint32_t access_flags = disk_class_def.access_flags_; in CreateClassDef() local
506 access_flags, in CreateClassDef()
956 uint32_t access_flags = field.GetAccessFlags(); in CreateClassData() local
957 static_fields->emplace_back(access_flags, field_item); in CreateClassData()
962 uint32_t access_flags = field.GetAccessFlags(); in CreateClassData() local
963 instance_fields->emplace_back(access_flags, field_item); in CreateClassData()
1228 uint32_t access_flags = method.GetAccessFlags(); in GenerateMethodItem() local
1236 return MethodItem(access_flags, method_id, code_item); in GenerateMethodItem()
/art/test/dexdump/
Dstaticfields.txt28 access_flags : 1 (0x0001)
Dquoting.txt28 access_flags : 0 (0x0000)
Dinvoke-polymorphic.txt28 access_flags : 1 (0x0001)
/art/dex2oat/driver/
Dcompiler_driver.cc373 uint32_t access_flags, in CompileMethodHarness() argument
389 access_flags, in CompileMethodHarness()
454 uint32_t access_flags, in CompileMethodQuick() argument
466 uint32_t access_flags, in CompileMethodQuick()
476 if ((access_flags & kAccNative) != 0) { in CompileMethodQuick()
484 access_flags |= annotations::GetNativeMethodAnnotationAccessFlags( in CompileMethodQuick()
488 access_flags, method_idx, dex_file, dex_cache); in CompileMethodQuick()
491 } else if ((access_flags & kAccAbstract) != 0) { in CompileMethodQuick()
504 ((access_flags & kAccConstructor) == 0) || ((access_flags & kAccStatic) == 0); in CompileMethodQuick()
513 access_flags, in CompileMethodQuick()
[all …]

12