Lines Matching refs:validity
54 : state_(rhs.ValueUnsafe(), rhs.validity()) {} in CheckedNumeric()
57 CheckedNumeric(Src value, RangeConstraint validity) in CheckedNumeric() argument
58 : state_(value, validity) {} in CheckedNumeric()
70 bool IsValid() const { return validity() == RANGE_VALID; } in IsValid()
101 RangeConstraint validity() const { return state_.validity(); } in validity() function
120 RangeConstraint validity; variable
121 T value = CheckedNeg(state_.value(), &validity);
126 validity = GetRangeConstraint(state_.validity() | validity);
127 return CheckedNumeric<T>(value, validity);
131 RangeConstraint validity; in Abs() local
132 T value = CheckedAbs(state_.value(), &validity); in Abs()
137 validity = GetRangeConstraint(state_.validity() | validity); in Abs()
138 return CheckedNumeric<T>(value, validity); in Abs()
206 GetRangeConstraint(rhs.validity() | lhs.validity())); \
207 RangeConstraint validity = RANGE_VALID; \
210 &validity); \
213 GetRangeConstraint(validity | lhs.validity() | rhs.validity())); \
230 GetRangeConstraint(rhs.validity() | lhs.validity())); \
241 lhs.validity()); \
252 rhs.validity()); \