Lines Matching refs:slot_idx
81 const uint32_t slot_idx = string_idx.index_ % kDexCacheStringCacheSize; in StringSlotIndex() local
82 DCHECK_LT(slot_idx, NumStrings()); in StringSlotIndex()
83 return slot_idx; in StringSlotIndex()
142 uint32_t slot_idx = StringSlotIndex(string_idx); in ClearString() local
143 StringDexCacheType* slot = &GetStrings()[slot_idx]; in ClearString()
146 StringDexCachePair cleared(nullptr, StringDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearString()
153 const uint32_t slot_idx = type_idx.index_ % kDexCacheTypeCacheSize; in TypeSlotIndex() local
154 DCHECK_LT(slot_idx, NumResolvedTypes()); in TypeSlotIndex()
155 return slot_idx; in TypeSlotIndex()
180 uint32_t slot_idx = TypeSlotIndex(type_idx); in ClearResolvedType() local
181 TypeDexCacheType* slot = &GetResolvedTypes()[slot_idx]; in ClearResolvedType()
184 TypeDexCachePair cleared(nullptr, TypeDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearResolvedType()
192 const uint32_t slot_idx = proto_idx.index_ % kDexCacheMethodTypeCacheSize; in MethodTypeSlotIndex() local
193 DCHECK_LT(slot_idx, NumResolvedMethodTypes()); in MethodTypeSlotIndex()
194 return slot_idx; in MethodTypeSlotIndex()
242 const uint32_t slot_idx = field_idx % kDexCacheFieldCacheSize; in FieldSlotIndex() local
243 DCHECK_LT(slot_idx, NumResolvedFields()); in FieldSlotIndex()
244 return slot_idx; in FieldSlotIndex()
262 uint32_t slot_idx = FieldSlotIndex(field_idx); in ClearResolvedField() local
266 if (GetNativePairPtrSize(resolved_fields, slot_idx, ptr_size).index == field_idx) { in ClearResolvedField()
267 FieldDexCachePair cleared(nullptr, FieldDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearResolvedField()
268 SetNativePairPtrSize(resolved_fields, slot_idx, cleared, ptr_size); in ClearResolvedField()
274 const uint32_t slot_idx = method_idx % kDexCacheMethodCacheSize; in MethodSlotIndex() local
275 DCHECK_LT(slot_idx, NumResolvedMethods()); in MethodSlotIndex()
276 return slot_idx; in MethodSlotIndex()
296 uint32_t slot_idx = MethodSlotIndex(method_idx); in ClearResolvedMethod() local
300 if (GetNativePairPtrSize(resolved_methods, slot_idx, ptr_size).index == method_idx) { in ClearResolvedMethod()
301 MethodDexCachePair cleared(nullptr, MethodDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearResolvedMethod()
302 SetNativePairPtrSize(resolved_methods, slot_idx, cleared, ptr_size); in ClearResolvedMethod()