Searched refs:offset_from_slot_base (Results 1 – 2 of 2) sorted by relevance
471 const size_t offset_from_slot_base = reinterpret_cast<uint8_t*>(ptr) in ToSlot() local473 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() local483 DCHECK_EQ(offset_from_slot_base % bracket_size, 0U); in SlotIndex()484 size_t slot_idx = offset_from_slot_base / bracket_size; in SlotIndex()
1336 size_t offset_from_slot_base = reinterpret_cast<const uint8_t*>(ptr) in UsableSize() local1338 DCHECK_EQ(offset_from_slot_base % bracketSizes[idx], static_cast<size_t>(0)); in UsableSize()