Searched refs:IS_POWER_OF_TWO (Results 1 – 9 of 9) sorted by relevance
23 #define IS_POWER_OF_TWO(a) ((a & ((a) - 1)) == 0) macro32 assert(IS_POWER_OF_TWO(main_bit)); in main()37 assert(IS_POWER_OF_TWO(foo_bit)); in main()42 assert(IS_POWER_OF_TWO(bar_bit)); in main()
231 #define IS_POWER_OF_TWO(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro310 DCHECK(IS_POWER_OF_TWO(m)); in RoundDown()
85 if (IS_POWER_OF_TWO(max)) { in NextInt()
378 #define IS_POWER_OF_TWO(val) (((val) & (val - 1)) == 0) macro
110 STATIC_ASSERT(IS_POWER_OF_TWO(kStep));
123 STATIC_ASSERT(IS_POWER_OF_TWO(kSize));
157 STATIC_ASSERT(IS_POWER_OF_TWO(kHalfStep));
570 STATIC_ASSERT(IS_POWER_OF_TWO(kSlicedNotConsMask));8506 STATIC_ASSERT(IS_POWER_OF_TWO(kMaxCachedArrayIndexLength + 1));8606 STATIC_ASSERT(IS_POWER_OF_TWO(kMaxCachedArrayIndexLength + 1));9315 STATIC_ASSERT(IS_POWER_OF_TWO(kStackSize));
2682 if (!IS_POWER_OF_TWO(d)) { in IsImmLogical()