Searched refs:IsPowerOfTwo (Results 1 – 8 of 8) sorted by relevance
145 CHECK(IsPowerOfTwo(f->redzone)); in InitializeFlags()146 CHECK(IsPowerOfTwo(f->max_redzone)); in InitializeFlags()
44 CHECK(IsPowerOfTwo(rz_size)); in RZSize2Log()250 CHECK(IsPowerOfTwo(options.min_redzone)); in CheckOptions()251 CHECK(IsPowerOfTwo(options.max_redzone)); in CheckOptions()341 CHECK(IsPowerOfTwo(alignment)); in Allocate()
417 INLINE bool IsPowerOfTwo(uptr x) { in IsPowerOfTwo() function423 if (IsPowerOfTwo(size)) return size; in RoundUpToPowerOfTwo()432 RAW_CHECK(IsPowerOfTwo(boundary)); in RoundUpTo()445 CHECK(IsPowerOfTwo(x)); in Log2()
238 CHECK(IsPowerOfTwo(size)); in MmapAlignedOrDie()239 CHECK(IsPowerOfTwo(alignment)); in MmapAlignedOrDie()
1025 CHECK(IsPowerOfTwo(alignment)); in Allocate()
229 struct IsPowerOfTwo { struct
9878 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro120712 assert( IsPowerOfTwo(chngToIN) );122220 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );122276 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );
9878 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro120694 assert( IsPowerOfTwo(chngToIN) );122202 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );122258 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );