Home
last modified time | relevance | path

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

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestshader.c267 power_of_two(int input) in power_of_two() function
287 w = power_of_two(surface->w); in SDL_GL_LoadTexture()
288 h = power_of_two(surface->h); in SDL_GL_LoadTexture()
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dint128_test.cc1057 absl::int128 power_of_two = absl::int128(1) << i; in TEST() local
1059 EXPECT_EQ(value >> i, value / power_of_two); in TEST()
1060 EXPECT_EQ(value >> i, absl::int128(value) /= power_of_two); in TEST()
1061 EXPECT_EQ(value & (power_of_two - 1), value % power_of_two); in TEST()
1062 EXPECT_EQ(value & (power_of_two - 1), in TEST()
1063 absl::int128(value) %= power_of_two); in TEST()
/third_party/abseil-cpp/absl/numeric/
Dint128_test.cc1039 absl::int128 power_of_two = absl::int128(1) << i; in TEST() local
1041 EXPECT_EQ(value >> i, value / power_of_two); in TEST()
1042 EXPECT_EQ(value >> i, absl::int128(value) /= power_of_two); in TEST()
1043 EXPECT_EQ(value & (power_of_two - 1), value % power_of_two); in TEST()
1044 EXPECT_EQ(value & (power_of_two - 1), in TEST()
1045 absl::int128(value) %= power_of_two); in TEST()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_screen_svga.c128 #define ALIGN(x, power_of_two) (((x) + (power_of_two) - 1) & ~((power_of_two) - 1)) argument