Lines Matching refs:Subclass
36 template <typename FullWidthInteger, class Subclass>
73 Subclass ExpandLessThanOrEqual(ShortUnsigned x) const { in ExpandLessThanOrEqual()
94 return Subclass(result); in ExpandLessThanOrEqual()
101 return Subclass(x); in ExpandLessThanOrEqual()
108 Subclass ExpandGreaterThan(ShortUnsigned x) const { in ExpandGreaterThan()
109 const Subclass maximum_possible_result( in ExpandGreaterThan()
120 Subclass Expand(ShortUnsigned x) const { in Expand()
121 const Subclass maximum_possible_result( in Expand()
127 constexpr bool operator==(Subclass rhs) const { return value_ == rhs.value_; }
128 constexpr bool operator!=(Subclass rhs) const { return value_ != rhs.value_; }
129 constexpr bool operator<(Subclass rhs) const { return value_ < rhs.value_; }
130 constexpr bool operator>(Subclass rhs) const { return value_ > rhs.value_; }
131 constexpr bool operator<=(Subclass rhs) const { return value_ <= rhs.value_; }
132 constexpr bool operator>=(Subclass rhs) const { return value_ >= rhs.value_; }
141 static Subclass DeserializeForIPC(uint64_t serialized) { in DeserializeForIPC()
142 return Subclass(static_cast<FullWidthInteger>(serialized)); in DeserializeForIPC()