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() 180 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 | 474 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/runtime/native/ |
D | dalvik_system_VMRuntime.cc | 391 uint32_t slot_idx = dex_cache->StringSlotIndex(string_idx); in PreloadDexCachesResolveString() local 392 auto pair = dex_cache->GetStrings()[slot_idx].load(std::memory_order_relaxed); in PreloadDexCachesResolveString() 410 uint32_t slot_idx = dex_cache->TypeSlotIndex(type_idx); in PreloadDexCachesResolveType() local 411 auto pair = dex_cache->GetResolvedTypes()[slot_idx].load(std::memory_order_relaxed); in PreloadDexCachesResolveType() 432 uint32_t slot_idx = dex_cache->FieldSlotIndex(field_idx); in PreloadDexCachesResolveField() local 434 slot_idx, in PreloadDexCachesResolveField() 458 uint32_t slot_idx = dex_cache->MethodSlotIndex(method_idx); in PreloadDexCachesResolveMethod() local 460 slot_idx, in PreloadDexCachesResolveMethod()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1245 for (size_t slot_idx = 0, num = dex_cache->NumResolvedMethods(); slot_idx != num; ++slot_idx) { in ClearDexCache() local 1247 mirror::DexCache::GetNativePairPtrSize(resolved_methods, slot_idx, target_ptr_size_); in ClearDexCache() 1254 for (size_t slot_idx = 0, num = dex_cache->NumResolvedFields(); slot_idx != num; ++slot_idx) { in ClearDexCache() local 1255 auto pair = mirror::DexCache::GetNativePairPtrSize(resolved_fields, slot_idx, target_ptr_size_); in ClearDexCache() 1261 for (size_t slot_idx = 0, num = dex_cache->NumResolvedTypes(); slot_idx != num; ++slot_idx) { in ClearDexCache() local 1263 dex_cache->GetResolvedTypes()[slot_idx].load(std::memory_order_relaxed); in ClearDexCache() 1269 for (size_t slot_idx = 0, num = dex_cache->NumStrings(); slot_idx != num; ++slot_idx) { in ClearDexCache() local 1271 dex_cache->GetStrings()[slot_idx].load(std::memory_order_relaxed); in ClearDexCache() 1293 uint32_t slot_idx = dex_cache->MethodSlotIndex(i); in PreloadDexCache() local 1295 mirror::DexCache::GetNativePairPtrSize(resolved_methods, slot_idx, target_ptr_size_); in PreloadDexCache() [all …]
|