Lines Matching refs:result
70 AssignIfValid(Dst* result) const {
72 ? ((*result = static_cast<Dst>(state_.value())), true)
106 // represent the result then the returned CheckedNumeric will be invalid.
232 T result = 0;
235 Math::Do(Wrapper<L>::value(lhs), Wrapper<R>::value(rhs), &result);
236 return CheckedNumeric<T>(result, is_valid);
243 T result = 0; // Using T as the destination saves a range check.
245 Math::Do(state_.value(), Wrapper<R>::value(rhs), &result);
246 *this = CheckedNumeric<T>(result, is_valid);
254 T result;
255 bool success = CheckedSubOp<T, T>::Do(T(0), state_.value(), &result);
256 return CheckedNumeric<T>(result, IsValid() && success);
353 // arithmetic with our result types. Since wrapping on a pointer is always
357 uintptr_t result = CheckAdd(reinterpret_cast<uintptr_t>(lhs),
360 return reinterpret_cast<L*>(result);
365 uintptr_t result = CheckSub(reinterpret_cast<uintptr_t>(lhs),
368 return reinterpret_cast<L*>(result);