Home
last modified time | relevance | path

Searched refs:offset_from_slot_base (Results 1 – 2 of 2) sorted by relevance

/art/runtime/gc/allocator/
Drosalloc.h470 const size_t offset_from_slot_base = reinterpret_cast<uint8_t*>(ptr) in ToSlot() local
472 DCHECK_EQ(offset_from_slot_base % bracket_size, static_cast<size_t>(0)); in ToSlot()
473 size_t slot_idx = offset_from_slot_base / bracket_size; in ToSlot()
480 const size_t offset_from_slot_base = reinterpret_cast<uint8_t*>(slot) in SlotIndex() local
482 DCHECK_EQ(offset_from_slot_base % bracket_size, 0U); in SlotIndex()
483 size_t slot_idx = offset_from_slot_base / bracket_size; in SlotIndex()
Drosalloc.cc1340 size_t offset_from_slot_base = reinterpret_cast<const uint8_t*>(ptr) in UsableSize() local
1342 DCHECK_EQ(offset_from_slot_base % bracketSizes[idx], static_cast<size_t>(0)); in UsableSize()