Lines Matching refs:counts

39   if (!counts()) {  in Accumulate()
47 if (counts()) in Accumulate()
59 subtle::NoBarrier_AtomicIncrement(&counts()[bucket_index], count); in Accumulate()
79 if (counts() || MountExistingCountsStorage()) { in TotalCount()
82 const HistogramBase::AtomicCount* counts_array = counts(); in TotalCount()
102 if (counts() || MountExistingCountsStorage()) in GetCountAtIndex()
103 return subtle::NoBarrier_Load(&counts()[bucket_index]); in GetCountAtIndex()
119 if (counts() || MountExistingCountsStorage()) { in Iterator()
120 return std::make_unique<SampleVectorIterator>(counts(), counts_size(), in Iterator()
164 if (!counts()) { in AddSubtractImpl()
172 if (counts()) in AddSubtractImpl()
195 &counts()[dest_index], op == HistogramSamples::ADD ? count : -count); in AddSubtractImpl()
243 DCHECK(counts()); in MoveSingleSampleToCounts()
255 subtle::NoBarrier_AtomicIncrement(&counts()[sample.bucket], sample.count); in MoveSingleSampleToCounts()
269 HistogramBase::Count* counts = CreateCountsStorageWhileLocked(); in MountCountsStorageAndMoveSingleSample() local
270 DCHECK(counts); in MountCountsStorageAndMoveSingleSample()
277 set_counts(counts); in MountCountsStorageAndMoveSingleSample()
297 return counts() != nullptr; in MountExistingCountsStorage()
309 const DelayedPersistentAllocation& counts) in PersistentSampleVector() argument
310 : SampleVectorBase(id, meta, bucket_ranges), persistent_counts_(counts) { in PersistentSampleVector()
347 return counts() != nullptr; in MountExistingCountsStorage()
365 const std::vector<HistogramBase::AtomicCount>* counts, in SampleVectorIterator() argument
367 : counts_(&(*counts)[0]), in SampleVectorIterator()
368 counts_size_(counts->size()), in SampleVectorIterator()
376 const HistogramBase::AtomicCount* counts, in SampleVectorIterator() argument
379 : counts_(counts), in SampleVectorIterator()