Searched refs:isPowerOfTwo (Results 1 - 8 of 8) sorted by relevance

/freebsd-current/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dwrappers_c_checks.h34 return Alignment == 0 || !isPowerOfTwo(Alignment) ||
41 return Alignment == 0 || !isPowerOfTwo(Alignment) ||
H A Dcommon.h31 inline constexpr bool isPowerOfTwo(uptr X) { return (X & (X - 1)) == 0; } function in namespace:scudo
34 DCHECK(isPowerOfTwo(Boundary));
42 DCHECK(isPowerOfTwo(Boundary));
50 DCHECK(isPowerOfTwo(Alignment));
74 if (isPowerOfTwo(Size))
88 DCHECK(isPowerOfTwo(X));
/freebsd-current/contrib/llvm-project/compiler-rt/lib/gwp_asan/
H A Dguarded_pool_allocator.cpp38 bool isPowerOfTwo(uintptr_t X) { return (X & (X - 1)) == 0; } function in namespace:gwp_asan::__anon1175
171 assert(isPowerOfTwo(Alignment) && "Alignment must be a power of two!");
182 assert(isPowerOfTwo(Alignment) && "Alignment must be a power of two!");
192 assert(isPowerOfTwo(Alignment) && "Alignment must be a power of two!");
216 if (!isPowerOfTwo(Alignment) || Alignment > State.maximumAllocationSize() ||
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/
H A DCharUnits.h133 /// isPowerOfTwo - Test whether the quantity is a power of two.
135 bool isPowerOfTwo() const { function in class:clang::CharUnits
/freebsd-current/stand/ficl/
H A Dvm.c643 int isPowerOfTwo(FICL_UNS u) function
672 pwr = isPowerOfTwo((FICL_UNS)radix);
H A Dficl.h658 int isPowerOfTwo(FICL_UNS u);
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp1014 if (!IvarSize.isPowerOfTwo()) {
/freebsd-current/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp12207 assert(PtrAlign.isPowerOfTwo());
12660 if (Size.isPowerOfTwo()) {

Completed in 214 milliseconds