Lines Matching refs:field_idx
180 inline uint32_t DexCache::FieldSlotIndex(uint32_t field_idx) { in FieldSlotIndex() argument
181 DCHECK_LT(field_idx, GetDexFile()->NumFieldIds()); in FieldSlotIndex()
182 const uint32_t slot_idx = field_idx % kDexCacheFieldCacheSize; in FieldSlotIndex()
187 inline ArtField* DexCache::GetResolvedField(uint32_t field_idx, PointerSize ptr_size) { in GetResolvedField() argument
189 auto pair = GetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), ptr_size); in GetResolvedField()
190 return pair.GetObjectForIndex(field_idx); in GetResolvedField()
193 inline void DexCache::SetResolvedField(uint32_t field_idx, ArtField* field, PointerSize ptr_size) { in SetResolvedField() argument
196 FieldDexCachePair pair(field, field_idx); in SetResolvedField()
197 SetNativePairPtrSize(GetResolvedFields(), FieldSlotIndex(field_idx), pair, ptr_size); in SetResolvedField()
200 inline void DexCache::ClearResolvedField(uint32_t field_idx, PointerSize ptr_size) { in ClearResolvedField() argument
202 uint32_t slot_idx = FieldSlotIndex(field_idx); in ClearResolvedField()
206 if (GetNativePairPtrSize(resolved_fields, slot_idx, ptr_size).index == field_idx) { in ClearResolvedField()