/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 35 ALWAYS_INLINE static inline ArtField* FindInstanceField(uint32_t field_idx, in FindInstanceField() argument 44 ArtField* field = FindFieldFromCode<type, kAccessCheck>(field_idx, referrer, self, size); in FindInstanceField() 71 extern "C" RetType artGet ## Kind ## StaticFromCode(uint32_t field_idx, \ 77 field_idx, referrer, Static ## PrimitiveOrObject ## Read, \ 83 field_idx, referrer, self, sizeof(PrimitiveType)); \ 91 extern "C" RetType artGet ## Kind ## InstanceFromCode(uint32_t field_idx, \ 98 field_idx, referrer, Instance ## PrimitiveOrObject ## Read, \ 104 field_idx, referrer, self, sizeof(PrimitiveType), &obj); \ 112 extern "C" int artSet ## Kind ## StaticFromCode(uint32_t field_idx, \ 119 field_idx, referrer, Static ## PrimitiveOrObject ## Write, \ [all …]
|
/art/libdexfile/dex/ |
D | dex_instruction.cc | 238 uint32_t field_idx = VRegB_21c(); in DumpString() local 239 …s << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, true) in DumpString() 240 << " // field@" << field_idx; in DumpString() 252 uint32_t field_idx = VRegB_21c(); in DumpString() local 253 …os << opcode << " v" << static_cast<int>(VRegA_21c()) << ", " << file->PrettyField(field_idx, true) in DumpString() 254 << " // field@" << field_idx; in DumpString() 278 uint32_t field_idx = VRegC_22c(); in DumpString() local 280 << file->PrettyField(field_idx, true) << " // field@" << field_idx; in DumpString() 287 uint32_t field_idx = VRegC_22c(); in DumpString() local 289 << "// offset@" << field_idx; in DumpString() [all …]
|
D | dex_file.cc | 552 std::string DexFile::PrettyField(uint32_t field_idx, bool with_type) const { in PrettyField() argument 553 if (field_idx >= NumFieldIds()) { in PrettyField() 554 return StringPrintf("<<invalid-field-idx-%d>>", field_idx); in PrettyField() 556 const FieldId& field_id = GetFieldId(field_idx); in PrettyField()
|
D | test_dex_file_builder.h | 141 uint32_t field_idx = 0u; in Build() local 143 entry.second = field_idx; in Build() 144 field_idx += 1u; in Build()
|
/art/dex2oat/driver/ |
D | compiler_driver-inl.h | 68 uint32_t field_idx, in ResolveField() argument 71 field_idx, dex_cache, class_loader, is_static); in ResolveField() 90 uint16_t field_idx) { in IsFastInstanceField() argument 97 field_idx); in IsFastInstanceField()
|
D | compiler_driver.h | 160 uint32_t field_idx, 168 uint16_t field_idx) 175 bool ComputeInstanceFieldInfo(uint32_t field_idx, const DexCompilationUnit* mUnit, bool is_put, 179 ArtField* ComputeInstanceFieldInfo(uint32_t field_idx,
|
/art/runtime/mirror/ |
D | dex_cache-inl.h | 240 inline uint32_t DexCache::FieldSlotIndex(uint32_t field_idx) { in FieldSlotIndex() argument 241 DCHECK_LT(field_idx, GetDexFile()->NumFieldIds()); in FieldSlotIndex() 242 const uint32_t slot_idx = field_idx % kDexCacheFieldCacheSize; in FieldSlotIndex() 247 inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, PointerSize ptr_size) { in GetResolvedField() argument 249 auto pair = GetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), ptr_size); in GetResolvedField() 250 return pair.GetObjectForIndex(field_idx); in GetResolvedField() 253 inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, PointerSize ptr_size) { in SetResolvedField() argument 256 FieldDexCachePair pair(field, field_idx); in SetResolvedField() 257 SetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), pair, ptr_size); in SetResolvedField() 260 inline void DexCache::ClearResolvedField(uint32_t field_idx, PointerSize ptr_size) { in ClearResolvedField() argument [all …]
|
D | class-inl.h | 458 uint32_t field_idx) { in ResolvedFieldAccessTest() argument 464 dex::TypeIndex class_idx = dex_cache->GetDexFile()->GetFieldId(field_idx).class_idx_; in ResolvedFieldAccessTest() 531 uint32_t field_idx) { in CanAccessResolvedField() argument 532 return ResolvedFieldAccessTest<false>(access_to, field, dex_cache, field_idx); in CanAccessResolvedField() 538 uint32_t field_idx) { in CheckResolvedFieldAccess() argument 539 return ResolvedFieldAccessTest<true>(access_to, field, dex_cache, field_idx); in CheckResolvedFieldAccess()
|
/art/tools/dexanalyze/ |
D | dexanalyze_bytecode.cc | 273 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem() local 274 ExtendPrefix(&out_reg, &field_idx); in ProcessCodeItem() 275 CHECK(InstNibbles(new_opcode, {out_reg, field_idx})); in ProcessCodeItem() 284 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem() local 285 ExtendPrefix(&type_idx, &field_idx); in ProcessCodeItem() 286 CHECK(InstNibbles(new_opcode, {out_reg, receiver, type_idx, field_idx})); in ProcessCodeItem() 333 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem() local 334 ExtendPrefix(&out_reg, &field_idx); in ProcessCodeItem() 335 if (InstNibbles(new_opcode, {out_reg, field_idx})) { in ProcessCodeItem() 345 uint32_t field_idx = types[holder_type.index_].fields_.Get(dex_field_idx); in ProcessCodeItem() local [all …]
|
/art/compiler/dex/ |
D | inline_method_analyser.h | 56 uint16_t field_idx; member 150 uint32_t field_idx,
|
D | inline_method_analyser.cc | 599 uint32_t field_idx = instruction->VRegC_22c(); in AnalyseIGetMethod() local 626 if (!ComputeSpecialAccessorInfo(method, field_idx, false, data)) { in AnalyseIGetMethod() 668 uint32_t field_idx = instruction->VRegC_22c(); in AnalyseIPutMethod() local 694 if (!ComputeSpecialAccessorInfo(method, field_idx, true, data)) { in AnalyseIPutMethod() 708 uint32_t field_idx, in ComputeSpecialAccessorInfo() argument 716 ArtField* field = class_linker->LookupResolvedField(field_idx, method, /* is_static= */ false); in ComputeSpecialAccessorInfo() 722 if (!method_class->CanAccessResolvedField(field_class, field, dex_cache, field_idx) || in ComputeSpecialAccessorInfo() 731 result->field_idx = field_idx; in ComputeSpecialAccessorInfo()
|
/art/runtime/ |
D | class_linker-inl.h | 418 inline ArtField* ClassLinker::LookupResolvedField(uint32_t field_idx, in LookupResolvedField() argument 424 field_idx, image_pointer_size_); in LookupResolvedField() 427 field = LookupResolvedField(field_idx, referrer->GetDexCache(), class_loader, is_static); in LookupResolvedField() 432 inline ArtField* ClassLinker::ResolveField(uint32_t field_idx, in ResolveField() argument 439 field_idx, image_pointer_size_); in ResolveField() 445 resolved_field = ResolveField(field_idx, dex_cache, class_loader, is_static); in ResolveField()
|
D | common_throws.cc | 651 uint16_t field_idx = method->GetIndexFromQuickening(throw_dex_pc); in ThrowNullPointerExceptionFromDexPC() local 653 CHECK_NE(field_idx, DexFile::kDexNoIndex16); in ThrowNullPointerExceptionFromDexPC() 655 field_idx, method, /* is_static= */ false); in ThrowNullPointerExceptionFromDexPC() 680 uint16_t field_idx = method->GetIndexFromQuickening(throw_dex_pc); in ThrowNullPointerExceptionFromDexPC() local 682 CHECK_NE(field_idx, DexFile::kDexNoIndex16); in ThrowNullPointerExceptionFromDexPC() 684 field_idx, method, /* is_static= */ false); in ThrowNullPointerExceptionFromDexPC()
|
D | class_linker.h | 365 ArtField* LookupResolvedField(uint32_t field_idx, ArtMethod* referrer, bool is_static) 367 ArtField* ResolveField(uint32_t field_idx, ArtMethod* referrer, bool is_static) 375 ArtField* ResolveField(uint32_t field_idx, 386 ArtField* ResolveFieldJLS(uint32_t field_idx, 399 uint32_t field_idx, 410 uint32_t field_idx) 1049 ArtField* LookupResolvedField(uint32_t field_idx,
|
/art/tools/veridex/ |
D | hidden_api_finder.h | 51 void CheckField(uint32_t field_idx, VeridexResolver* resolver, MethodReference ref);
|
/art/runtime/utils/ |
D | dex_cache_arrays_layout-inl.h | 130 inline size_t DexCacheArraysLayout::FieldOffset(uint32_t field_idx) const { in FieldOffset() argument 131 uint32_t field_hash = field_idx % mirror::DexCache::kDexCacheFieldCacheSize; in FieldOffset()
|
D | dex_cache_arrays_layout.h | 98 size_t FieldOffset(uint32_t field_idx) const;
|
/art/runtime/verifier/ |
D | verifier_deps.h | 97 uint32_t field_idx, 173 FieldResolution(uint32_t field_idx, uint16_t access_flags, dex::StringIndex declaring_class_idx) in FieldResolution() 174 : FieldResolutionBase(field_idx, access_flags, declaring_class_idx) {} in FieldResolution() 306 uint32_t field_idx,
|
D | verifier_deps.cc | 314 uint32_t field_idx, in AddFieldResolution() argument 328 dex_deps->fields_.emplace(FieldResolution(field_idx, in AddFieldResolution() 331 field_idx, in AddFieldResolution() 554 uint32_t field_idx, in MaybeRecordFieldResolution() argument 558 thread_deps->AddFieldResolution(dex_file, field_idx, field); in MaybeRecordFieldResolution()
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 313 inline ArtField* FindFieldFromCode(uint32_t field_idx, in FindFieldFromCode() argument 336 resolved_field = class_linker->ResolveFieldJLS(field_idx, in FindFieldFromCode() 342 resolved_field = class_linker->ResolveField(field_idx, referrer, is_static); in FindFieldFromCode() 359 field_idx))) { in FindFieldFromCode() 402 ArtField* FindFieldFromCode<_type, _access_check>(uint32_t field_idx, \ 607 inline ArtField* FindFieldFast(uint32_t field_idx, ArtMethod* referrer, FindFieldType type, in FindFieldFast() argument 611 referrer->GetDexCache()->GetResolvedField(field_idx, kRuntimePointerSize); in FindFieldFast()
|
D | entrypoint_utils.h | 131 inline ArtField* FindFieldFromCode(uint32_t field_idx, 147 inline ArtField* FindFieldFast(uint32_t field_idx,
|
/art/dex2oat/dex/ |
D | dex_to_dex_compiler.cc | 433 uint32_t field_idx = GetIndexForInstruction(inst, inst->VRegC_22c()); in CompileInstanceFieldAccess() local 436 bool fast_path = driver_.ComputeInstanceFieldInfo(field_idx, &unit_, is_put, in CompileInstanceFieldAccess() 441 << " by replacing field index " << field_idx in CompileInstanceFieldAccess() 451 quickened_info_.push_back(QuickenedInfo(dex_pc, field_idx)); in CompileInstanceFieldAccess()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 429 uint32_t field_idx, in PreloadDexCachesResolveField() argument 432 uint32_t slot_idx = dex_cache->FieldSlotIndex(field_idx); in PreloadDexCachesResolveField() 440 const dex::FieldId& field_id = dex_file->GetFieldId(field_idx); in PreloadDexCachesResolveField() 447 ? mirror::Class::FindStaticField(Thread::Current(), klass, dex_cache, field_idx) in PreloadDexCachesResolveField() 448 : klass->FindInstanceField(dex_cache, field_idx); in PreloadDexCachesResolveField() 452 dex_cache->SetResolvedField(field_idx, field, kRuntimePointerSize); in PreloadDexCachesResolveField()
|
/art/runtime/interpreter/mterp/ |
D | mterp.cc | 726 uint32_t field_idx = kIsStatic ? inst->VRegB_21c() : inst->VRegC_22c(); in MterpFieldAccessSlow() local 728 field_idx, referrer, self, sizeof(PrimType)); in MterpFieldAccessSlow() 767 uint32_t field_idx = kIsStatic ? inst->VRegB_21c() : inst->VRegC_22c(); in MterpFieldAccessFast() local 769 field_idx, shadow_frame->GetMethod(), self, sizeof(PrimType)); in MterpFieldAccessFast() 792 uint32_t field_idx = kIsStatic ? inst->VRegB_21c() : inst->VRegC_22c(); in MterpFieldAccessFast() local 793 ArtField* field = dex_cache->GetResolvedField(field_idx, kRuntimePointerSize); in MterpFieldAccessFast() 798 field_idx, referrer, self, sizeof(PrimType)))); in MterpFieldAccessFast()
|
/art/runtime/interpreter/ |
D | interpreter_common.h | 511 const uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c(); in DoFieldGet() local 513 FindFieldFromCode<find_type, do_access_check>(field_idx, shadow_frame.GetMethod(), self, in DoFieldGet() 675 uint32_t field_idx = is_static ? inst->VRegB_21c() : inst->VRegC_22c(); in DoFieldPut() local 677 FindFieldFromCode<find_type, do_access_check>(field_idx, shadow_frame.GetMethod(), self, in DoFieldPut()
|