Home
last modified time | relevance | path

Searched refs:IS_POWER_OF_TWO (Results 1 – 9 of 9) sorted by relevance

/external/compiler-rt/test/asan/TestCases/
Dcoverage-reset.cc23 #define IS_POWER_OF_TWO(a) ((a & ((a) - 1)) == 0) macro
32 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()
/external/v8/src/base/
Dmacros.h231 #define IS_POWER_OF_TWO(x) ((x) != 0 && (((x) & ((x) - 1)) == 0)) macro
310 DCHECK(IS_POWER_OF_TWO(m)); in RoundDown()
/external/v8/src/base/utils/
Drandom-number-generator.cc85 if (IS_POWER_OF_TWO(max)) { in NextInt()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_context.h378 #define IS_POWER_OF_TWO(val) (((val) & (val - 1)) == 0) macro
/external/v8/src/crankshaft/
Dlithium-allocator.h110 STATIC_ASSERT(IS_POWER_OF_TWO(kStep));
/external/v8/src/snapshot/
Dserialize.h123 STATIC_ASSERT(IS_POWER_OF_TWO(kSize));
/external/v8/src/compiler/
Dregister-allocator.h157 STATIC_ASSERT(IS_POWER_OF_TWO(kHalfStep));
/external/v8/src/
Dobjects.h570 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));
/external/v8/src/arm64/
Dassembler-arm64.cc2682 if (!IS_POWER_OF_TWO(d)) { in IsImmLogical()