Home
last modified time | relevance | path

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

/external/chromium_org/base/metrics/
Dhistogram_unittest.cc92 int power_of_2 = 1; in TEST_F() local
94 EXPECT_EQ(power_of_2, ranges.range(i)); in TEST_F()
95 power_of_2 *= 2; in TEST_F()
293 int power_of_2 = 1; in TEST_F() local
296 histogram->Add(power_of_2); in TEST_F()
297 power_of_2 *= 2; in TEST_F()
/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()