Searched refs:BASE_NUMERICS_LIKELY (Results 1 – 5 of 5) sorted by relevance
/external/libchrome/base/numerics/ |
D | clamped_math_impl.h | 91 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)
|
D | checked_math.h | 71 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()
|
D | safe_conversions.h | 108 return BASE_NUMERICS_LIKELY((IsValueInRangeForNumericType<Dst>(value))) 179 return BASE_NUMERICS_LIKELY(IsValueInRangeForNumericType<Dst>(value))
|
D | checked_math_impl.h | 255 if (BASE_NUMERICS_LIKELY(y)) { 279 if (BASE_NUMERICS_LIKELY(!IsValueNegative(x) && 309 if (BASE_NUMERICS_LIKELY(as_unsigned(shift) <
|
D | safe_conversions_impl.h | 14 #define BASE_NUMERICS_LIKELY(x) __builtin_expect(!!(x), 1) macro 17 #define BASE_NUMERICS_LIKELY(x) (x) macro
|