Home
last modified time | relevance | path

Searched refs:SafeUnsignedAbs (Results 1 – 13 of 13) sorted by relevance

/external/libchrome/ui/gfx/geometry/
Drect.cc87 if (base::SafeUnsignedAbs(max) < kMaxDimension) { in SaturatedClampRange()
91 } else if (base::SafeUnsignedAbs(min) < kMaxDimension) { in SaturatedClampRange()
/external/libchrome/base/numerics/
Dclamped_math_impl.h60 return static_cast<T>(SafeUnsignedAbs(value) - in SaturatedAbsWrapper()
61 IsValueNegative<T>(SafeUnsignedAbs(value))); in SaturatedAbsWrapper()
Dsafe_math_shared_impl.h157 return static_cast<T>(SafeUnsignedAbs(value));
Dchecked_math_impl.h150 const UnsignedDst ux = SafeUnsignedAbs(x);
151 const UnsignedDst uy = SafeUnsignedAbs(y);
Dclamped_math.h118 SafeUnsignedAbs(value_)); in UnsignedAbs()
Dsafe_conversions.h332 using internal::SafeUnsignedAbs;
Dsafe_conversions_impl.h80 constexpr typename std::make_unsigned<T>::type SafeUnsignedAbs(T value) { in SafeUnsignedAbs() function
259 ConditionalNegate(SafeUnsignedAbs(value) & ~((T(1) << kShift) - T(1)),
Dchecked_math.h200 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs()
DREADME.md192 * `SafeUnsignedAbs()` - Returns the absolute value of the supplied integer
/external/pdfium/third_party/base/numerics/
Dsafe_math_impl.h164 const UnsignedDst ux = SafeUnsignedAbs(x);
165 const UnsignedDst uy = SafeUnsignedAbs(y);
499 return static_cast<T>(SafeUnsignedAbs(value));
Dsafe_conversions.h261 using internal::SafeUnsignedAbs;
Dsafe_conversions_impl.h73 constexpr typename std::make_unsigned<T>::type SafeUnsignedAbs(T value) { in SafeUnsignedAbs() function
210 ConditionalNegate(SafeUnsignedAbs(value) & ~((T(1) << kShift) - T(1)),
Dsafe_math.h266 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs()