Searched refs:slot_idx (Results 1 – 5 of 5) sorted by relevance
/art/runtime/mirror/ |
D | dex_cache-inl.h | 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() 179 uint32_t slot_idx = TypeSlotIndex(type_idx); in ClearResolvedType() local [all …]
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 849 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 …]
|
D | rosalloc.h | 473 size_t slot_idx = offset_from_slot_base / bracket_size; in ToSlot() local 474 DCHECK_LT(slot_idx, numOfSlots[idx]); in ToSlot() 483 size_t slot_idx = offset_from_slot_base / bracket_size; in SlotIndex() local 484 DCHECK_LT(slot_idx, numOfSlots[idx]); in SlotIndex() 485 return slot_idx; in SlotIndex()
|
/art/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 378 uint32_t slot_idx = dex_cache->StringSlotIndex(string_idx); in PreloadDexCachesResolveString() local 379 auto pair = dex_cache->GetStrings()[slot_idx].load(std::memory_order_relaxed); in PreloadDexCachesResolveString() 398 uint32_t slot_idx = dex_cache->TypeSlotIndex(type_idx); in PreloadDexCachesResolveType() local 399 auto pair = dex_cache->GetResolvedTypes()[slot_idx].load(std::memory_order_relaxed); in PreloadDexCachesResolveType() 427 uint32_t slot_idx = dex_cache->FieldSlotIndex(field_idx); in PreloadDexCachesResolveField() local 429 slot_idx, in PreloadDexCachesResolveField() 453 uint32_t slot_idx = dex_cache->MethodSlotIndex(method_idx); in PreloadDexCachesResolveMethod() local 455 slot_idx, in PreloadDexCachesResolveMethod()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1581 for (size_t slot_idx = 0, num = dex_cache->NumResolvedMethods(); slot_idx != num; ++slot_idx) { in PruneDexCache() local 1583 mirror::DexCache::GetNativePairPtrSize(resolved_methods, slot_idx, target_ptr_size_); in PruneDexCache() 1608 for (size_t slot_idx = 0, num = dex_cache->NumResolvedFields(); slot_idx != num; ++slot_idx) { in PruneDexCache() local 1609 auto pair = mirror::DexCache::GetNativePairPtrSize(resolved_fields, slot_idx, target_ptr_size_); in PruneDexCache() 1631 for (size_t slot_idx = 0, num = dex_cache->NumResolvedTypes(); slot_idx != num; ++slot_idx) { in PruneDexCache() local 1633 dex_cache->GetResolvedTypes()[slot_idx].load(std::memory_order_relaxed); in PruneDexCache() 1658 uint32_t slot_idx = dex_cache->MethodSlotIndex(i); in PreloadDexCache() local 1660 mirror::DexCache::GetNativePairPtrSize(resolved_methods, slot_idx, target_ptr_size_); in PreloadDexCache() 1691 uint32_t slot_idx = dex_cache->FieldSlotIndex(i); in PreloadDexCache() local 1692 auto pair = mirror::DexCache::GetNativePairPtrSize(resolved_fields, slot_idx, target_ptr_size_); in PreloadDexCache() [all …]
|