Searched refs:power_of_2 (Results 1 – 2 of 2) sorted by relevance
26 const unsigned int power_of_2 = 1U << exponent; in TEST() local27 EXPECT_EQ(get_msb(power_of_2 - 1), exponent - 1); in TEST()28 EXPECT_EQ(get_msb(power_of_2), exponent); in TEST()29 EXPECT_EQ(get_msb(power_of_2 + 1), exponent); in TEST()42 const int power_of_2 = 1 << exponent; in TEST() local43 EXPECT_EQ(av1_ceil_log2(power_of_2 - 1), exponent); in TEST()44 EXPECT_EQ(av1_ceil_log2(power_of_2), exponent); in TEST()47 EXPECT_EQ(av1_ceil_log2(power_of_2 + 1), exponent + 1); in TEST()
230 int power_of_2 = 1; in TEST_P() local232 EXPECT_EQ(power_of_2, ranges.range(i)); in TEST_P()233 power_of_2 *= 2; in TEST_P()498 int power_of_2 = 1; in TEST_P() local501 histogram->Add(power_of_2); in TEST_P()502 power_of_2 *= 2; in TEST_P()