Searched refs:powerof2 (Results 1 – 12 of 12) sorted by relevance
21 ASSERT_TRUE(powerof2(1)); in TEST()22 ASSERT_TRUE(powerof2(2)); in TEST()23 ASSERT_TRUE(powerof2(4)); in TEST()24 ASSERT_TRUE(powerof2(8)); in TEST()25 ASSERT_FALSE(powerof2(3)); in TEST()26 ASSERT_FALSE(powerof2(5)); in TEST()27 ASSERT_FALSE(powerof2(7)); in TEST()28 ASSERT_FALSE(powerof2(9)); in TEST()29 ASSERT_FALSE(powerof2(10)); in TEST()34 ASSERT_TRUE(powerof2(0)); in TEST()[all …]
761 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()763 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()765 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()768 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()770 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()772 ASSERT_TRUE(rc > 0 && powerof2(rc)); in TEST()
58 if (alignment == 0 || !powerof2(alignment) || (size % alignment) != 0) {112 if (!powerof2(alignment)) {130 if (alignment < sizeof(void*) || !powerof2(alignment)) {
91 #define powerof2(x) ((((x)-1)&(x))==0) in getdelim() macro92 if (!powerof2(newlen)) { in getdelim()
61 #define powerof2(x) \ macro
185 if (!powerof2(alignment) || (size % alignment) != 0) { in hooks_aligned_alloc()200 if (alignment < sizeof(void*) || !powerof2(alignment)) { in hooks_posix_memalign()
79 if (*alignment == 0 || !powerof2(*alignment)) { in __bionic_check_tls_alignment()218 if (!powerof2(bytes)) { in calculate_new_dtv_count()
44 if (!powerof2(boundary)) { in je_memalign_round_up_boundary()
322 if (!powerof2(align)) { in memalign()
585 if (!powerof2(alignment)) { in debug_memalign()868 if (!powerof2(alignment) || (size % alignment) != 0) { in debug_aligned_alloc()880 if (alignment < sizeof(void*) || !powerof2(alignment)) { in debug_posix_memalign()
418 if (!powerof2(alignment)) { in TEST_F()516 if (!powerof2(alignment)) { in TEST_F()
2852 if (!powerof2(gnu_maskwords_)) { in prelink_image()