Home
last modified time | relevance | path

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

/external/protobuf/src/google/protobuf/stubs/
Dint128.h83 friend uint64 Uint128Low64(const uint128& v);
128 inline uint64 Uint128Low64(const uint128& v) { return v.lo_; } in Uint128Low64() function
137 return (Uint128Low64(lhs) == Uint128Low64(rhs) &&
170 (Uint128Low64(lhs) op Uint128Low64(rhs)) : \
185 const uint64 lo_flip = ~Uint128Low64(val);
194 return !Uint128High64(val) && !Uint128Low64(val);
200 return uint128(~Uint128High64(val), ~Uint128Low64(val));
206 Uint128Low64(lhs) op Uint128Low64(rhs)); \
237 (Uint128Low64(val) >> (64 - amount));
238 uint64 new_lo = Uint128Low64(val) << amount;
[all …]
Dint128_unittest.cc123 EXPECT_EQ(Uint128Low64(biggest), kuint64max); in TEST()
138 EXPECT_EQ(Uint128Low64((uint128(1) << 64) - 1), kuint64max); in TEST()
182 EXPECT_EQ(67890, Uint128Low64(from_pod)); in TEST()
Dint128.cc76 return Fls64(Uint128Low64(n)); in Fls128()
/external/libtextclassifier/utils/hash/
Dfarmhash.h33 inline uint64_t Uint128Low64(const uint128_t x) { in Uint128Low64() function
44 inline uint64_t Uint128Low64(const uint128_t x) { return x.first; }
106 uint64_t a = (Uint128Low64(x) ^ Uint128High64(x)) * kMul; in Hash128to64()
130 uint64_t a = (Uint128Low64(x) ^ Uint128High64(x)) * kMul; in Fingerprint()
Dfarmhash.cc342 uint64_t y = DebugTweak(Uint128Low64(x)); in DebugTweak()
1304 uint64_t a = Uint128Low64(seed); in CityMurmur()
1341 uint64_t x = Uint128Low64(seed); in CityHash128WithSeed()
3061 …{ uint128_t u = farmhashcc::Fingerprint128(data, len++); uint64_t h = Uint128Low64(u); IsAlive(h >… in Test()
3064 { uint128_t u = farmhashcc::Fingerprint128(data + offset, len); uint64_t h = Uint128Low64(u); Check… in Test()
3065 …h128WithSeed(data + offset, len, Uint128(SEED0, SEED1)); uint64_t h = Uint128Low64(u); Check(h >> … in Test()
3099 { uint128_t u = farmhashcc::Fingerprint128(data + offset, len); uint64_t h = Uint128Low64(u); cout … in Dump()
3100 …h128WithSeed(data + offset, len, Uint128(SEED0, SEED1)); uint64_t h = Uint128Low64(u); cout << (h … in Dump()
/external/protobuf/src/google/protobuf/util/
Dtime_util.cc397 int64 seconds = static_cast<int64>(Uint128Low64(value / kNanosPerSecond)); in ToTimestamp()
398 int32 nanos = static_cast<int32>(Uint128Low64(value % kNanosPerSecond)); in ToTimestamp()
412 int64 seconds = static_cast<int64>(Uint128Low64(value / kNanosPerSecond)); in ToDuration()
413 int32 nanos = static_cast<int32>(Uint128Low64(value % kNanosPerSecond)); in ToDuration()
500 int64 result = Uint128Low64(value1 / value2); in operator /()
/external/tensorflow/tensorflow/core/platform/default/
Dfingerprint.h31 return {::util::Uint128Low64(fingerprint), in Fingerprint128()