Lines Matching refs:validity
55 : state_(rhs.ValueUnsafe(), rhs.validity()) {} in CheckedNumeric()
58 CheckedNumeric(Src value, RangeConstraint validity) in CheckedNumeric() argument
59 : state_(value, validity) {} in CheckedNumeric()
78 bool IsValid() const { return validity() == RANGE_VALID; } in IsValid()
109 RangeConstraint validity() const { return state_.validity(); } in validity() function
128 RangeConstraint validity; variable
129 T value = CheckedNeg(state_.value(), &validity);
134 validity = GetRangeConstraint(state_.validity() | validity);
135 return CheckedNumeric<T>(value, validity);
139 RangeConstraint validity; in Abs() local
140 T value = CheckedAbs(state_.value(), &validity); in Abs()
145 validity = GetRangeConstraint(state_.validity() | validity); in Abs()
146 return CheckedNumeric<T>(value, validity); in Abs()
154 CheckedUnsignedAbs(state_.value()), state_.validity()); in UnsignedAbs()
232 GetRangeConstraint(rhs.validity() | lhs.validity())); \
233 RangeConstraint validity = RANGE_VALID; \
237 &validity)); \
240 GetRangeConstraint(validity | lhs.validity() | rhs.validity())); \
258 GetRangeConstraint(rhs.validity() | lhs.validity())); \
269 lhs.validity()); \
280 rhs.validity()); \