• Home
  • Raw
  • Download

Lines Matching refs:int128

16 // This file contains :int128 implementation details that depend on internal
18 // is included by int128.h and relies on ABSL_INTERNAL_WCHAR_T being defined.
20 constexpr uint64_t Int128Low64(int128 v) { return v.lo_; }
22 constexpr int64_t Int128High64(int128 v) { return v.hi_; }
26 constexpr int128::int128(int64_t high, uint64_t low) :
29 constexpr int128::int128(int v)
31 constexpr int128::int128(long v) // NOLINT(runtime/int)
33 constexpr int128::int128(long long v) // NOLINT(runtime/int)
36 constexpr int128::int128(unsigned int v) : lo_{v}, hi_{0} {}
38 constexpr int128::int128(unsigned long v) : lo_{v}, hi_{0} {}
40 constexpr int128::int128(unsigned long long v) : lo_{v}, hi_{0} {}
42 constexpr int128::int128(uint128 v)
47 constexpr int128::int128(int64_t high, uint64_t low) :
50 constexpr int128::int128(int v)
52 constexpr int128::int128(long v) // NOLINT(runtime/int)
54 constexpr int128::int128(long long v) // NOLINT(runtime/int)
57 constexpr int128::int128(unsigned int v) : hi_{0}, lo_{v} {}
59 constexpr int128::int128(unsigned long v) : hi_{0}, lo_{v} {}
61 constexpr int128::int128(unsigned long long v) : hi_{0}, lo_{v} {}
63 constexpr int128::int128(uint128 v)
70 constexpr int128::operator bool() const { return lo_ || hi_; }
72 constexpr int128::operator char() const {
77 constexpr int128::operator signed char() const {
82 constexpr int128::operator unsigned char() const {
86 constexpr int128::operator char16_t() const {
90 constexpr int128::operator char32_t() const {
94 constexpr int128::operator ABSL_INTERNAL_WCHAR_T() const {
99 constexpr int128::operator short() const { // NOLINT(runtime/int)
104 constexpr int128::operator unsigned short() const { // NOLINT(runtime/int)
108 constexpr int128::operator int() const {
113 constexpr int128::operator unsigned int() const {
117 constexpr int128::operator long() const { // NOLINT(runtime/int)
122 constexpr int128::operator unsigned long() const { // NOLINT(runtime/int)
126 constexpr int128::operator long long() const { // NOLINT(runtime/int)
133 constexpr int128::operator unsigned long long() const { // NOLINT(runtime/int)
138 int128 operator-(int128 v);
139 bool operator!=(int128 lhs, int128 rhs);
141 inline int128::operator float() const {
154 inline int128::operator double() const {
155 // See comment in int128::operator float() above.
162 inline int128::operator long double() const {
163 // See comment in int128::operator float() above.
172 inline bool operator==(int128 lhs, int128 rhs) {
177 inline bool operator!=(int128 lhs, int128 rhs) {
181 inline bool operator<(int128 lhs, int128 rhs) {
187 inline bool operator>(int128 lhs, int128 rhs) {
193 inline bool operator<=(int128 lhs, int128 rhs) {
197 inline bool operator>=(int128 lhs, int128 rhs) {
203 inline int128 operator-(int128 v) {
210 inline bool operator!(int128 v) {
214 inline int128 operator~(int128 val) {
220 inline int128 operator+(int128 lhs, int128 rhs) {
221 int128 result = MakeInt128(Int128High64(lhs) + Int128High64(rhs),
229 inline int128 operator-(int128 lhs, int128 rhs) {
230 int128 result = MakeInt128(Int128High64(lhs) - Int128High64(rhs),
238 inline int128 operator*(int128 lhs, int128 rhs) {
244 inline int128 int128::operator++(int) {
245 int128 tmp(*this);
250 inline int128 int128::operator--(int) {
251 int128 tmp(*this);
256 inline int128& int128::operator++() {
261 inline int128& int128::operator--() {
266 inline int128 operator|(int128 lhs, int128 rhs) {
271 inline int128 operator&(int128 lhs, int128 rhs) {
276 inline int128 operator^(int128 lhs, int128 rhs) {
281 inline int128 operator<<(int128 lhs, int amount) {
295 inline int128 operator>>(int128 lhs, int amount) {