Home
last modified time | relevance | path

Searched refs:uint128 (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/src/google/protobuf/stubs/
Dint128.h51 class LIBPROTOBUF_EXPORT uint128 {
53 UINT128_CONSTEXPR uint128(); // Sets to 0, but don't trust on this behavior.
54 UINT128_CONSTEXPR uint128(uint64 top, uint64 bottom);
56 UINT128_CONSTEXPR uint128(int bottom);
57 UINT128_CONSTEXPR uint128(uint32 bottom); // Top 96 bits = 0
59 UINT128_CONSTEXPR uint128(uint64 bottom); // hi_ = 0
60 UINT128_CONSTEXPR uint128(const uint128_pod &val);
67 uint128& operator+=(const uint128& b);
68 uint128& operator-=(const uint128& b);
69 uint128& operator*=(const uint128& b);
[all …]
Dint128_unittest.cc44 uint128 zero(0); in TEST()
45 uint128 one(1); in TEST()
46 uint128 one_2arg(0, 1); in TEST()
47 uint128 two(0, 2); in TEST()
48 uint128 three(0, 3); in TEST()
49 uint128 big(2000, 2); in TEST()
50 uint128 big_minus_one(2000, 1); in TEST()
51 uint128 bigger(2001, 1); in TEST()
52 uint128 biggest(kuint128max); in TEST()
53 uint128 high_low(1, 0); in TEST()
[all …]
Dint128.cc72 static inline int Fls128(uint128 n) { in Fls128()
82 void uint128::DivModImpl(uint128 dividend, uint128 divisor, in DivModImpl()
83 uint128* quotient_ret, uint128* remainder_ret) { in DivModImpl()
101 uint128 denominator = divisor; in DivModImpl()
102 uint128 position = 1; in DivModImpl()
103 uint128 quotient = 0; in DivModImpl()
125 uint128& uint128::operator/=(const uint128& divisor) { in operator /=()
126 uint128 quotient = 0; in operator /=()
127 uint128 remainder = 0; in operator /=()
132 uint128& uint128::operator%=(const uint128& divisor) { in operator %=()
[all …]
Dlogging.h68 class uint128; variable
91 LogMessage& operator<<(const uint128& value);
Dcommon.cc209 LogMessage& LogMessage::operator<<(const uint128& value) { in operator <<()
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc371 void ToUint128(const Timestamp& value, uint128* result, bool* negative) { in ToUint128()
384 void ToUint128(const Duration& value, uint128* result, bool* negative) { in ToUint128()
396 void ToTimestamp(const uint128& value, bool negative, Timestamp* timestamp) { in ToTimestamp()
411 void ToDuration(const uint128& value, bool negative, Duration* duration) { in ToDuration()
437 uint128 value; in operator *=()
463 uint128 value; in operator /=()
481 uint128 value1, value2; in operator %=()
484 uint128 result = value1 % value2; in operator %=()
497 uint128 value1, value2; in operator /()
/external/python/cpython3/Modules/_decimal/
DREADME.txt20 2) uint128 - 64-bit Python, compiler provides __uint128_t (gcc)