Home
last modified time | relevance | path

Searched refs:kSampleType_MAX (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/base/metrics/
Dhistogram_unittest.cc97 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 …]
Dhistogram.cc188 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()
Dhistogram_base.h58 static const Sample kSampleType_MAX; // INT_MAX variable
Dhistogram_base.cc64 const HistogramBase::Sample HistogramBase::kSampleType_MAX = INT_MAX; member in base::HistogramBase