Home
last modified time | relevance | path

Searched refs:BASE_NUMERICS_LIKELY (Results 1 – 5 of 5) sorted by relevance

/external/libchrome/base/numerics/
Dclamped_math_impl.h91 return BASE_NUMERICS_LIKELY((CheckedAddOp<T, U>::Do(x, y, &result)))
118 return BASE_NUMERICS_LIKELY((CheckedSubOp<T, U>::Do(x, y, &result)))
142 return BASE_NUMERICS_LIKELY((CheckedMulOp<T, U>::Do(x, y, &result)))
160 if (BASE_NUMERICS_LIKELY((CheckedDivOp<T, U>::Do(x, y, &result))))
180 return BASE_NUMERICS_LIKELY((CheckedModOp<T, U>::Do(x, y, &result)))
200 if (BASE_NUMERICS_LIKELY(shift < std::numeric_limits<T>::digits)) {
204 if (BASE_NUMERICS_LIKELY(result >> shift == x))
226 return BASE_NUMERICS_LIKELY(shift < IntegerBitsPlusSign<T>::value)
Dchecked_math.h71 return BASE_NUMERICS_LIKELY(IsValid<Dst>()) in AssignIfValid()
86 return BASE_NUMERICS_LIKELY(IsValid<Dst>()) in ValueOrDie()
99 return BASE_NUMERICS_LIKELY(IsValid<Dst>()) in ValueOrDefault()
Dsafe_conversions.h108 return BASE_NUMERICS_LIKELY((IsValueInRangeForNumericType<Dst>(value)))
179 return BASE_NUMERICS_LIKELY(IsValueInRangeForNumericType<Dst>(value))
Dchecked_math_impl.h255 if (BASE_NUMERICS_LIKELY(y)) {
279 if (BASE_NUMERICS_LIKELY(!IsValueNegative(x) &&
309 if (BASE_NUMERICS_LIKELY(as_unsigned(shift) <
Dsafe_conversions_impl.h14 #define BASE_NUMERICS_LIKELY(x) __builtin_expect(!!(x), 1) macro
17 #define BASE_NUMERICS_LIKELY(x) (x) macro