Lines Matching refs:validity
57 : state_(rhs.ValueUnsafe(), rhs.validity()) {} in CheckedNumeric()
60 CheckedNumeric(Src value, RangeConstraint validity) in CheckedNumeric() argument
61 : state_(value, validity) {} in CheckedNumeric()
73 bool IsValid() const { return validity() == RANGE_VALID; } in IsValid()
105 RangeConstraint validity() const { return state_.validity(); } in validity() function
124 RangeConstraint validity; variable
125 T value = CheckedNeg(state_.value(), &validity);
130 validity = GetRangeConstraint(state_.validity() | validity);
131 return CheckedNumeric<T>(value, validity);
135 RangeConstraint validity; in Abs() local
136 T value = CheckedAbs(state_.value(), &validity); in Abs()
141 validity = GetRangeConstraint(state_.validity() | validity); in Abs()
142 return CheckedNumeric<T>(value, validity); in Abs()
210 GetRangeConstraint(rhs.validity() | lhs.validity())); \
211 RangeConstraint validity = RANGE_VALID; \
214 &validity); \
217 GetRangeConstraint(validity | lhs.validity() | rhs.validity())); \
234 GetRangeConstraint(rhs.validity() | lhs.validity())); \
245 lhs.validity()); \
256 rhs.validity()); \