Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common.h292 INLINE bool IsPowerOfTwo(uptr x) { in IsPowerOfTwo() function
298 if (IsPowerOfTwo(size)) return size; in RoundUpToPowerOfTwo()
307 CHECK(IsPowerOfTwo(boundary)); in RoundUpTo()
320 CHECK(IsPowerOfTwo(x)); in Log2()
Dsanitizer_common.cc132 CHECK(IsPowerOfTwo(size)); in MmapAlignedOrDie()
133 CHECK(IsPowerOfTwo(alignment)); in MmapAlignedOrDie()
Dsanitizer_allocator.h1011 CHECK(IsPowerOfTwo(alignment)); in Allocate()
/external/chromium_org/gpu/command_buffer/service/
Dasync_pixel_transfer_manager_egl.cc553 bool IsPowerOfTwo (unsigned int x) { in IsPowerOfTwo() function
565 !(IsPowerOfTwo(width) && in DimensionsSupportImgFastPath()
566 IsPowerOfTwo(height)); in DimensionsSupportImgFastPath()
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_file.cc498 bool IsPowerOfTwo(const T& val) { in IsPowerOfTwo() function
526 if (!IsPowerOfTwo(in_stride)) in ReadDbStateHelper()
873 if (!IsPowerOfTwo(in_stride)) in DoUpdate()
900 DCHECK(IsPowerOfTwo(out_stride)); in DoUpdate()
906 DCHECK(IsPowerOfTwo(process_stride)); in DoUpdate()
/external/compiler-rt/lib/asan/
Dasan_rtl.cc111 CHECK(IsPowerOfTwo(f->redzone)); in ParseFlagsFromString()
112 CHECK(IsPowerOfTwo(f->max_redzone)); in ParseFlagsFromString()
Dasan_allocator2.cc88 CHECK(IsPowerOfTwo(rz_size)); in RZSize2Log()
300 CHECK(IsPowerOfTwo(alignment)); in Allocate()
/external/sqlite/dist/
Dsqlite3.c8720 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
111960 assert( IsPowerOfTwo(chngToIN) );
112712 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );
112765 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );
/external/sqlite/dist/orig/
Dsqlite3.c8720 #define IsPowerOfTwo(X) (((X)&((X)-1))==0) macro
111940 assert( IsPowerOfTwo(chngToIN) );
112692 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );
112745 assert( IsPowerOfTwo(pTerm->eOperator & ~WO_EQUIV) );