Searched refs:slot_idx (Results 1 – 5 of 5) sorted by relevance
/art/runtime/mirror/ |
D | dex_cache-inl.h | 59 const uint32_t slot_idx = string_idx.index_ % kDexCacheStringCacheSize; in StringSlotIndex() local 60 DCHECK_LT(slot_idx, NumStrings()); in StringSlotIndex() 61 return slot_idx; in StringSlotIndex() 84 uint32_t slot_idx = StringSlotIndex(string_idx); in ClearString() local 85 StringDexCacheType* slot = &GetStrings()[slot_idx]; in ClearString() 88 StringDexCachePair cleared(nullptr, StringDexCachePair::InvalidIndexForSlot(slot_idx)); in ClearString() 95 const uint32_t slot_idx = type_idx.index_ % kDexCacheTypeCacheSize; in TypeSlotIndex() local 96 DCHECK_LT(slot_idx, NumResolvedTypes()); in TypeSlotIndex() 97 return slot_idx; in TypeSlotIndex() 121 uint32_t slot_idx = TypeSlotIndex(type_idx); in ClearResolvedType() local [all …]
|
/art/runtime/gc/allocator/ |
D | rosalloc.cc | 847 uintptr_t slot_idx = slot_offset / bracket_size; in FreeListToStr() local 849 free_list_str.append(StringPrintf("%u-", static_cast<uint32_t>(slot_idx))); in FreeListToStr() 851 free_list_str.append(StringPrintf("%u", static_cast<uint32_t>(slot_idx))); in FreeListToStr() 977 size_t slot_idx = SlotIndex(slot); in InspectAllSlots() local 978 DCHECK_LT(slot_idx, num_slots); in InspectAllSlots() 979 is_free[slot_idx] = true; in InspectAllSlots() 983 size_t slot_idx = SlotIndex(slot); in InspectAllSlots() local 984 DCHECK_LT(slot_idx, num_slots); in InspectAllSlots() 985 is_free[slot_idx] = true; in InspectAllSlots() 988 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 | 347 uint32_t slot_idx = dex_cache->StringSlotIndex(string_idx); in PreloadDexCachesResolveString() local 348 auto pair = dex_cache->GetStrings()[slot_idx].load(std::memory_order_relaxed); in PreloadDexCachesResolveString() 367 uint32_t slot_idx = dex_cache->TypeSlotIndex(type_idx); in PreloadDexCachesResolveType() local 368 auto pair = dex_cache->GetResolvedTypes()[slot_idx].load(std::memory_order_relaxed); in PreloadDexCachesResolveType() 396 uint32_t slot_idx = dex_cache->FieldSlotIndex(field_idx); in PreloadDexCachesResolveField() local 398 slot_idx, in PreloadDexCachesResolveField() 422 uint32_t slot_idx = dex_cache->MethodSlotIndex(method_idx); in PreloadDexCachesResolveMethod() local 424 slot_idx, in PreloadDexCachesResolveMethod()
|
/art/dex2oat/linker/ |
D | image_writer.cc | 1039 uint32_t slot_idx = dex_cache->MethodSlotIndex(i); in PruneAndPreloadDexCache() local 1041 mirror::DexCache::GetNativePairPtrSize(resolved_methods, slot_idx, target_ptr_size_); in PruneAndPreloadDexCache() 1079 uint32_t slot_idx = dex_cache->FieldSlotIndex(i); in PruneAndPreloadDexCache() local 1080 auto pair = mirror::DexCache::GetNativePairPtrSize(resolved_fields, slot_idx, target_ptr_size_); in PruneAndPreloadDexCache() 1115 uint32_t slot_idx = dex_cache->TypeSlotIndex(type_idx); in PruneAndPreloadDexCache() local 1117 dex_cache->GetResolvedTypes()[slot_idx].load(std::memory_order_relaxed); in PruneAndPreloadDexCache() 1133 uint32_t slot_idx = dex_cache->StringSlotIndex(string_idx); in PruneAndPreloadDexCache() local 1135 dex_cache->GetStrings()[slot_idx].load(std::memory_order_relaxed); in PruneAndPreloadDexCache()
|