Home
last modified time | relevance | path

Searched refs:slot_idx (Results 1 – 4 of 4) sorted by relevance

/art/runtime/mirror/
Ddex_cache-inl.h80 const uint32_t slot_idx = string_idx.index_ % kDexCacheStringCacheSize; in StringSlotIndex() local
81 DCHECK_LT(slot_idx, NumStrings()); in StringSlotIndex()
82 return slot_idx; in StringSlotIndex()
141 uint32_t slot_idx = StringSlotIndex(string_idx); in ClearString() local
142 StringDexCacheType* slot = &GetStrings()[slot_idx]; in ClearString()
145 StringDexCachePair cleared(nullptr, StringDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearString()
152 const uint32_t slot_idx = type_idx.index_ % kDexCacheTypeCacheSize; in TypeSlotIndex() local
153 DCHECK_LT(slot_idx, NumResolvedTypes()); in TypeSlotIndex()
154 return slot_idx; in TypeSlotIndex()
179 uint32_t slot_idx = TypeSlotIndex(type_idx); in ClearResolvedType() local
[all …]
/art/runtime/gc/allocator/
Drosalloc.cc849 uintptr_t slot_idx = slot_offset / bracket_size; in FreeListToStr() local
851 free_list_str.append(StringPrintf("%u-", static_cast<uint32_t>(slot_idx))); in FreeListToStr()
853 free_list_str.append(StringPrintf("%u", static_cast<uint32_t>(slot_idx))); in FreeListToStr()
979 size_t slot_idx = SlotIndex(slot); in InspectAllSlots() local
980 DCHECK_LT(slot_idx, num_slots); in InspectAllSlots()
981 is_free[slot_idx] = true; in InspectAllSlots()
985 size_t slot_idx = SlotIndex(slot); in InspectAllSlots() local
986 DCHECK_LT(slot_idx, num_slots); in InspectAllSlots()
987 is_free[slot_idx] = true; in InspectAllSlots()
990 for (size_t slot_idx = 0; slot_idx < num_slots; ++slot_idx) { in InspectAllSlots() local
[all …]
Drosalloc.h474 size_t slot_idx = offset_from_slot_base / bracket_size; in ToSlot() local
475 DCHECK_LT(slot_idx, numOfSlots[idx]); in ToSlot()
484 size_t slot_idx = offset_from_slot_base / bracket_size; in SlotIndex() local
485 DCHECK_LT(slot_idx, numOfSlots[idx]); in SlotIndex()
486 return slot_idx; in SlotIndex()
/art/dex2oat/linker/
Dimage_writer.cc1119 for (size_t slot_idx = 0, num = dex_cache->NumResolvedMethods(); slot_idx != num; ++slot_idx) { in ClearDexCache() local
1121 mirror::MethodDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearDexCache()
1122 mirror::DexCache::SetNativePair(resolved_methods, slot_idx, invalid); in ClearDexCache()
1126 for (size_t slot_idx = 0, num = dex_cache->NumResolvedFields(); slot_idx != num; ++slot_idx) { in ClearDexCache() local
1128 mirror::FieldDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearDexCache()
1129 mirror::DexCache::SetNativePair(resolved_fields, slot_idx, invalid); in ClearDexCache()
1133 for (size_t slot_idx = 0, num = dex_cache->NumResolvedTypes(); slot_idx != num; ++slot_idx) { in ClearDexCache() local
1135 mirror::TypeDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearDexCache()
1136 resolved_types[slot_idx].store(invalid, std::memory_order_relaxed); in ClearDexCache()
1140 for (size_t slot_idx = 0, num = dex_cache->NumStrings(); slot_idx != num; ++slot_idx) { in ClearDexCache() local
[all …]