Lines Matching refs:ALIGN_POWER2
21 assert_se(ALIGN_POWER2(0) == 0); in TEST()
22 assert_se(ALIGN_POWER2(1) == 1); in TEST()
23 assert_se(ALIGN_POWER2(2) == 2); in TEST()
24 assert_se(ALIGN_POWER2(3) == 4); in TEST()
25 assert_se(ALIGN_POWER2(4) == 4); in TEST()
26 assert_se(ALIGN_POWER2(5) == 8); in TEST()
27 assert_se(ALIGN_POWER2(6) == 8); in TEST()
28 assert_se(ALIGN_POWER2(7) == 8); in TEST()
29 assert_se(ALIGN_POWER2(9) == 16); in TEST()
30 assert_se(ALIGN_POWER2(10) == 16); in TEST()
31 assert_se(ALIGN_POWER2(11) == 16); in TEST()
32 assert_se(ALIGN_POWER2(12) == 16); in TEST()
33 assert_se(ALIGN_POWER2(13) == 16); in TEST()
34 assert_se(ALIGN_POWER2(14) == 16); in TEST()
35 assert_se(ALIGN_POWER2(15) == 16); in TEST()
36 assert_se(ALIGN_POWER2(16) == 16); in TEST()
37 assert_se(ALIGN_POWER2(17) == 32); in TEST()
39 assert_se(ALIGN_POWER2(ULONG_MAX) == 0); in TEST()
40 assert_se(ALIGN_POWER2(ULONG_MAX - 1) == 0); in TEST()
41 assert_se(ALIGN_POWER2(ULONG_MAX - 1024) == 0); in TEST()
42 assert_se(ALIGN_POWER2(ULONG_MAX / 2) == ULONG_MAX / 2 + 1); in TEST()
43 assert_se(ALIGN_POWER2(ULONG_MAX + 1) == 0); in TEST()
49 assert_se(ALIGN_POWER2(i) == p2); in TEST()
56 assert_se(ALIGN_POWER2(i) == p2); in TEST()