Searched refs:kSampleType_MAX (Results 1 – 4 of 4) sorted by relevance
/external/libchrome/base/metrics/ |
D | histogram_unittest.cc | 235 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges.range(8)); in TEST_P() 262 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(15)); in TEST_P() 276 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges.range(8)); in TEST_P() 291 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges2.range(5)); in TEST_P() 325 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(3)); // Auto added. in TEST_P() 339 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(3)); in TEST_P() 354 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(3)); in TEST_P() 373 EXPECT_EQ(HistogramBase::kSampleType_MAX, ranges->range(2)); in TEST_P() 785 "BadRanges", 0, HistogramBase::kSampleType_MAX, 8, in TEST() 789 1, HistogramBase::kSampleType_MAX - 1, 8)); in TEST() [all …]
|
D | histogram.cc | 355 ranges->set_range(ranges->bucket_count(), HistogramBase::kSampleType_MAX); in InitializeBucketRanges() 428 if (*maximum >= kSampleType_MAX) { in InspectConstructionArguments() 430 *maximum = kSampleType_MAX - 1; in InspectConstructionArguments() 494 DCHECK_EQ(kSampleType_MAX, ranges(bucket_count())); in AddCount() 496 if (value > kSampleType_MAX - 1) in AddCount() 497 value = kSampleType_MAX - 1; in AddCount() 992 ranges->set_range(ranges->bucket_count(), HistogramBase::kSampleType_MAX); in InitializeBucketRanges() 1201 ranges.push_back(HistogramBase::kSampleType_MAX); in CreateRanges() 1346 if (sample < 0 || sample > HistogramBase::kSampleType_MAX - 1) in ValidateCustomRanges()
|
D | histogram_base.h | 102 static const Sample kSampleType_MAX; // INT_MAX variable
|
D | histogram_base.cc | 71 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX; member in base::HistogramBase
|