Searched refs:SafeUnsignedAbs (Results 1 – 13 of 13) sorted by relevance
87 if (base::SafeUnsignedAbs(max) < kMaxDimension) { in SaturatedClampRange()91 } else if (base::SafeUnsignedAbs(min) < kMaxDimension) { in SaturatedClampRange()
60 return static_cast<T>(SafeUnsignedAbs(value) - in SaturatedAbsWrapper()61 IsValueNegative<T>(SafeUnsignedAbs(value))); in SaturatedAbsWrapper()
157 return static_cast<T>(SafeUnsignedAbs(value));
150 const UnsignedDst ux = SafeUnsignedAbs(x);151 const UnsignedDst uy = SafeUnsignedAbs(y);
118 SafeUnsignedAbs(value_)); in UnsignedAbs()
332 using internal::SafeUnsignedAbs;
80 constexpr typename std::make_unsigned<T>::type SafeUnsignedAbs(T value) { in SafeUnsignedAbs() function259 ConditionalNegate(SafeUnsignedAbs(value) & ~((T(1) << kShift) - T(1)),
200 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs()
192 * `SafeUnsignedAbs()` - Returns the absolute value of the supplied integer
164 const UnsignedDst ux = SafeUnsignedAbs(x);165 const UnsignedDst uy = SafeUnsignedAbs(y);499 return static_cast<T>(SafeUnsignedAbs(value));
261 using internal::SafeUnsignedAbs;
73 constexpr typename std::make_unsigned<T>::type SafeUnsignedAbs(T value) { in SafeUnsignedAbs() function210 ConditionalNegate(SafeUnsignedAbs(value) & ~((T(1) << kShift) - T(1)),
266 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs()