Home
last modified time | relevance | path

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

/external/libchrome/base/metrics/
Dbucket_ranges_unittest.cc30 BucketRanges ranges1(3); in TEST() local
34 EXPECT_TRUE(ranges1.Equals(&ranges2)); in TEST()
35 EXPECT_FALSE(ranges1.Equals(&ranges3)); in TEST()
39 ranges1.set_range(0, 0); in TEST()
40 ranges1.set_range(1, 1); in TEST()
41 ranges1.set_range(2, 2); in TEST()
42 ranges1.set_checksum(100); in TEST()
48 EXPECT_TRUE(ranges1.Equals(&ranges2)); in TEST()
51 ranges1.set_checksum(99); in TEST()
52 EXPECT_FALSE(ranges1.Equals(&ranges2)); in TEST()
[all …]
Dstatistics_recorder_unittest.cc88 BucketRanges* ranges1 = new BucketRanges(3); in TEST_F() local
89 ranges1->ResetChecksum(); in TEST_F()
94 EXPECT_EQ(ranges1, in TEST_F()
95 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges1)); in TEST_F()
102 EXPECT_EQ(ranges1, in TEST_F()
103 StatisticsRecorder::RegisterOrDeleteDuplicateRanges(ranges1)); in TEST_F()
108 ASSERT_EQ(3u, ranges1->size()); in TEST_F()
109 EXPECT_EQ(0, ranges1->range(0)); in TEST_F()
110 EXPECT_EQ(0, ranges1->range(1)); in TEST_F()
111 EXPECT_EQ(0, ranges1->range(2)); in TEST_F()
[all …]
Dsample_vector_unittest.cc136 BucketRanges ranges1(3); in TEST() local
137 ranges1.set_range(0, 1); in TEST()
138 ranges1.set_range(1, 3); in TEST()
139 ranges1.set_range(2, 5); in TEST()
140 SampleVector samples1(1, &ranges1); in TEST()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_histogram.cpp161 const float* ranges1 = { hue_range }; in PARAM_TEST_CASE() local
165 calcHist(&frame1, 1, 0, Mat(), hist1, 1, &histSize, &ranges1, true, false); in PARAM_TEST_CASE()
179 OCL_OFF(calcBackProject(&frame1, 1, 0, hist1, dst1, &ranges1, 1, true)); in PARAM_TEST_CASE()