Home | History | Annotate | Download | only in base

Lines Matching refs:counts_

478     : counts_(),
484 counts_.resize(histogram.bucket_count(), 0);
488 DCHECK(counts_.size() == histogram.bucket_count());
495 counts_[index] += count;
498 DCHECK_GE(counts_[index], 0);
505 for (Counts::const_iterator it = counts_.begin();
506 it != counts_.end();
514 DCHECK(counts_.size() == other.counts_.size());
517 for (size_t index = 0; index < counts_.size(); ++index)
518 counts_[index] += other.counts_[index];
522 DCHECK(counts_.size() == other.counts_.size());
528 for (size_t index = 0; index < counts_.size(); ++index) {
529 counts_[index] -= other.counts_[index];
530 DCHECK_GE(counts_[index], 0);
537 pickle->WriteSize(counts_.size());
539 for (size_t index = 0; index < counts_.size(); ++index) {
540 pickle->WriteInt(counts_[index]);
547 DCHECK_EQ(counts_.size(), 0u);
566 counts_.push_back(i);