Searched refs:offset_from_slot_base (Results 1 – 2 of 2) sorted by relevance
470 const size_t offset_from_slot_base = reinterpret_cast<uint8_t*>(ptr) in ToSlot() local472 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() local482 DCHECK_EQ(offset_from_slot_base % bracket_size, 0U); in SlotIndex()483 size_t slot_idx = offset_from_slot_base / bracket_size; in SlotIndex()
1340 size_t offset_from_slot_base = reinterpret_cast<const uint8_t*>(ptr) in UsableSize() local1342 DCHECK_EQ(offset_from_slot_base % bracketSizes[idx], static_cast<size_t>(0)); in UsableSize()