Searched refs:kSampleType_MAX (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/metrics/ |
D | histogram_unittest.cc | 97 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges.range(8)); in TEST_F() 124 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(15)); in TEST_F() 138 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges.range(8)); in TEST_F() 153 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(5)); in TEST_F() 187 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(3)); // Auto added. in TEST_F() 201 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(3)); in TEST_F() 216 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(3)); in TEST_F() 235 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(2)); in TEST_F() 500 "BadRanges", 0, HistogramBase::kSampleType_MAX, 8, in TEST() 504 1, HistogramBase::kSampleType_MAX - 1, 8)); in TEST() [all …]
|
D | histogram.cc | 188 ranges->set_range(ranges->bucket_count(), HistogramBase::kSampleType_MAX); in InitializeBucketRanges() 245 if (*maximum >= kSampleType_MAX) { in InspectConstructionArguments() 247 *maximum = kSampleType_MAX - 1; in InspectConstructionArguments() 286 DCHECK_EQ(kSampleType_MAX, ranges(bucket_count())); in AddCount() 288 if (value > kSampleType_MAX - 1) in AddCount() 289 value = kSampleType_MAX - 1; in AddCount() 678 ranges->set_range(ranges->bucket_count(), HistogramBase::kSampleType_MAX); in InitializeBucketRanges() 883 if (sample < 0 || sample > HistogramBase::kSampleType_MAX - 1) in ValidateCustomRanges() 897 ranges.push_back(HistogramBase::kSampleType_MAX); in CreateBucketRangesFromCustomRanges()
|
D | histogram_base.h | 58 static const Sample kSampleType_MAX; // INT_MAX variable
|
D | histogram_base.cc | 64 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX; member in base::HistogramBase
|