Lines Matching defs:x
31 static constexpr int CLZ(T x) { in CLZ()
44 static constexpr int CTZ(T x) { in CTZ()
59 static constexpr int POPCOUNT(T x) { in POPCOUNT()
89 static constexpr inline T RoundUpToPowerOfTwo(T x) { in RoundUpToPowerOfTwo()
97 static constexpr bool IsPowerOfTwo(T x) { in IsPowerOfTwo()
104 static inline int WhichPowerOf2(T x) { in WhichPowerOf2()
117 static constexpr T RoundDown(T x, typename Identity<T>::type n) { in RoundDown()
127 static constexpr T RoundUp(T x, typename std::remove_reference<T>::type n) { in RoundUp()
136 static inline T* AlignDown(T* x, uintptr_t n) { in AlignDown()
144 static inline T* AlignUp(T* x, uintptr_t n) { in AlignUp()
149 static constexpr bool IsAligned(T x) { in IsAligned()
155 static inline bool IsAligned(T* x) { in IsAligned()
160 static inline bool IsAlignedParam(T x, int n) { in IsAlignedParam()