Lines Matching refs:Base
27 template <typename Base, typename Tag = void>
33 Int64(Base s) : lo(static_cast<bit32>(s)), hi(static_cast<bit32>(s >> 32)) {} in Int64()
34 operator Base() const { return (static_cast<Base>(hi) << 32) | static_cast<Base>(lo); } in Base() function
35 Int64& operator++() { Base lhs = *this; lhs++; *this = lhs; return *this; }
36 Int64& operator--() { Base lhs = *this; lhs--; *this = lhs; return *this; }
37 Int64& operator+=(Base rhs) { Base lhs = *this; lhs += rhs; *this = lhs; return *this; }
38 Int64& operator-=(Base rhs) { Base lhs = *this; lhs -= rhs; *this = lhs; return *this; }
39 Int64& operator*=(Base rhs) { Base lhs = *this; lhs *= rhs; *this = lhs; return *this; }
40 Int64& operator/=(Base rhs) { Base lhs = *this; lhs /= rhs; *this = lhs; return *this; }
41 Int64& operator%=(Base rhs) { Base lhs = *this; lhs %= rhs; *this = lhs; return *this; }
42 Int64& operator|=(Base rhs) { Base lhs = *this; lhs |= rhs; *this = lhs; return *this; }
43 Int64& operator&=(Base rhs) { Base lhs = *this; lhs &= rhs; *this = lhs; return *this; }
44 Int64& operator^=(Base rhs) { Base lhs = *this; lhs ^= rhs; *this = lhs; return *this; }
45 Int64& operator<<=(int rhs) { Base lhs = *this; lhs <<= rhs; *this = lhs; return *this; }
46 Int64& operator>>=(int rhs) { Base lhs = *this; lhs >>= rhs; *this = lhs; return *this; }
47 Int64 operator++(int) { Base lhs = *this; *this = lhs + 1; return Int64(lhs); }
48 Int64 operator--(int) { Base lhs = *this; *this = lhs - 1; return Int64(lhs); }
50 Int64(const Int64<Base, void>& other) : lo(other.lo), hi(other.hi) {} in Int64()
53 operator Int64<Base, void>() const { return static_cast<Base>(*this); } in Int64()
58 friend bool operator==(Int64 lhs, Base rhs) { return static_cast<Base>(lhs) == rhs; }
59 friend bool operator!=(Int64 lhs, Base rhs) { return !(lhs == rhs); }
60 friend bool operator==(Base lhs, Int64 rhs) { return lhs == static_cast<Base>(rhs); }
61 friend bool operator!=(Base lhs, Int64 rhs) { return !(lhs == rhs); }
63 bool operator<(Int64 rhs) const { return static_cast<Base>(*this) < static_cast<Base>(rhs); }
65 bool operator<(Base rhs) const { return static_cast<Base>(*this) < rhs; }
66 bool operator>(Base rhs) const { return rhs < *this; }
69 bool operator<=(Base rhs) const { return !(static_cast<Base>(*this) > rhs); }
70 bool operator>=(Base rhs) const { return !(static_cast<Base>(*this) < rhs); }