Home
last modified time | relevance | path

Searched refs:power_of_2 (Results 1 – 3 of 3) sorted by relevance

/external/chromium/base/metrics/
Dhistogram_unittest.cc161 int power_of_2 = 1; in TEST() local
163 EXPECT_EQ(power_of_2, histogram->ranges(i)); in TEST()
164 power_of_2 *= 2; in TEST()
300 int power_of_2 = 1; in TEST() local
302 EXPECT_EQ(power_of_2, histogram->ranges(i)); in TEST()
303 power_of_2 *= 2; in TEST()
309 power_of_2 = 1; in TEST()
312 histogram->Add(power_of_2); in TEST()
313 power_of_2 *= 2; in TEST()
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
DSDL_gsyuv.c65 static int power_of_2(int value) in power_of_2() function
272 ((unsigned long long)power_of_2(width) << 26) + in GS_CreateYUVOverlay()
273 ((unsigned long long)power_of_2(height) << 30) + in GS_CreateYUVOverlay()
DSDL_gsvideo.c273 static int power_of_2(int value) in power_of_2() function
547 ((unsigned long long)power_of_2(screen_image.w) << 26) + in GS_SetVideoMode()
548 ((unsigned long long)power_of_2(screen_image.h) << 30) + in GS_SetVideoMode()