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.h471 const size_t offset_from_slot_base = reinterpret_cast<uint8_t*>(ptr) in ToSlot() local
473 DCHECK_EQ(offset_from_slot_base % bracket_size, static_cast<size_t>(0)); in ToSlot()
474 size_t slot_idx = offset_from_slot_base / bracket_size; in ToSlot()
481 const size_t offset_from_slot_base = reinterpret_cast<uint8_t*>(slot) in SlotIndex() local
483 DCHECK_EQ(offset_from_slot_base % bracket_size, 0U); in SlotIndex()
484 size_t slot_idx = offset_from_slot_base / bracket_size; in SlotIndex()
Drosalloc.cc1336 size_t offset_from_slot_base = reinterpret_cast<const uint8_t*>(ptr) in UsableSize() local
1338 DCHECK_EQ(offset_from_slot_base % bracketSizes[idx], static_cast<size_t>(0)); in UsableSize()