Home
last modified time | relevance | path

Searched refs:IsPowerOfTwo (Results 1 – 8 of 8) sorted by relevance

/external/compiler-rt/lib/asan/
Dasan_flags.cc145 CHECK(IsPowerOfTwo(f->redzone)); in InitializeFlags()
146 CHECK(IsPowerOfTwo(f->max_redzone)); in InitializeFlags()
Dasan_allocator.cc44 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()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h417 INLINE bool IsPowerOfTwo(uptr x) { in IsPowerOfTwo() function
423 if (IsPowerOfTwo(size)) return size; in RoundUpToPowerOfTwo()
432 RAW_CHECK(IsPowerOfTwo(boundary)); in RoundUpTo()
445 CHECK(IsPowerOfTwo(x)); in Log2()
Dsanitizer_common.cc238 CHECK(IsPowerOfTwo(size)); in MmapAlignedOrDie()
239 CHECK(IsPowerOfTwo(alignment)); in MmapAlignedOrDie()
Dsanitizer_allocator.h1025 CHECK(IsPowerOfTwo(alignment)); in Allocate()
/external/gemmlowp/internal/
Dcommon.h229 struct IsPowerOfTwo { struct
/external/sqlite/dist/
Dsqlite3.c9878 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
120712 assert( IsPowerOfTwo(chngToIN) );
122220 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );
122276 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );
/external/sqlite/dist/orig/
Dsqlite3.c9878 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
120694 assert( IsPowerOfTwo(chngToIN) );
122202 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );
122258 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );