Lines Matching refs:bin
219 friend std::ostream& operator<<(std::ostream& stream, const Bin& bin);
267 BinSlot(Bin bin, uint32_t index);
309 size_t GetBinSlotOffset(Bin bin) const { in GetBinSlotOffset()
310 DCHECK_LT(static_cast<size_t>(bin), kNumberOfBins); in GetBinSlotOffset()
311 return bin_slot_offsets_[static_cast<size_t>(bin)]; in GetBinSlotOffset()
314 void IncrementBinSlotSize(Bin bin, size_t size_to_add) { in IncrementBinSlotSize()
315 DCHECK_LT(static_cast<size_t>(bin), kNumberOfBins); in IncrementBinSlotSize()
316 bin_slot_sizes_[static_cast<size_t>(bin)] += size_to_add; in IncrementBinSlotSize()
319 size_t GetBinSlotSize(Bin bin) const { in GetBinSlotSize()
320 DCHECK_LT(static_cast<size_t>(bin), kNumberOfBins); in GetBinSlotSize()
321 return bin_slot_sizes_[static_cast<size_t>(bin)]; in GetBinSlotSize()
324 void IncrementBinSlotCount(Bin bin, size_t count_to_add) { in IncrementBinSlotCount()
325 DCHECK_LT(static_cast<size_t>(bin), kNumberOfBins); in IncrementBinSlotCount()
326 bin_slot_count_[static_cast<size_t>(bin)] += count_to_add; in IncrementBinSlotCount()