Home
last modified time | relevance | path

Searched refs:uint128_t (Results 1 – 13 of 13) sorted by relevance

/external/eigen/unsupported/test/
Dcxx11_tensor_uint128.cpp18 typedef __uint128_t uint128_t; typedef
27 void VERIFY_EQUAL(TensorUInt128<uint64_t, uint64_t> actual, uint128_t expected) { in VERIFY_EQUAL()
45 uint128_t a = (static_cast<uint128_t>(i1) << 64) + static_cast<uint128_t>(i2); in test_add()
49 uint128_t b = (static_cast<uint128_t>(j1) << 64) + static_cast<uint128_t>(j2); in test_add()
51 uint128_t expected = a + b; in test_add()
64 uint128_t a = (static_cast<uint128_t>(i1) << 64) + static_cast<uint128_t>(i2); in test_sub()
68 uint128_t b = (static_cast<uint128_t>(j1) << 64) + static_cast<uint128_t>(j2); in test_sub()
70 uint128_t expected = a - b; in test_sub()
83 uint128_t a = (static_cast<uint128_t>(i1) << 64) + static_cast<uint128_t>(i2); in test_mul()
87 uint128_t b = (static_cast<uint128_t>(j1) << 64) + static_cast<uint128_t>(j2); in test_mul()
[all …]
/external/libtextclassifier/native/utils/hash/
Dfarmhash.h33 inline uint64_t Uint128Low64(const uint128_t x) { in Uint128Low64()
36 inline uint64_t Uint128High64(const uint128_t x) { in Uint128High64()
39 inline uint128_t Uint128(uint64_t lo, uint64_t hi) { in Uint128()
40 return lo + (((uint128_t)hi) << 64); in Uint128()
43 typedef std::pair<uint64_t, uint64_t> uint128_t;
44 inline uint64_t Uint128Low64(const uint128_t x) { return x.first; }
45 inline uint64_t Uint128High64(const uint128_t x) { return x.second; }
46 inline uint128_t Uint128(uint64_t lo, uint64_t hi) { return uint128_t(lo, hi); }
90 uint128_t Hash128(const char* s, size_t len);
96 uint128_t Hash128WithSeed(const char* s, size_t len, uint128_t seed);
[all …]
Dfarmhash.cc340 template <> uint128_t DebugTweak(uint128_t x) { in DebugTweak()
1303 STATIC_INLINE uint128_t CityMurmur(const char *s, size_t len, uint128_t seed) { in CityMurmur()
1330 return uint128_t(a ^ b, HashLen16(b, a)); in CityMurmur()
1333 uint128_t CityHash128WithSeed(const char *s, size_t len, uint128_t seed) { in CityHash128WithSeed()
1392 return uint128_t(HashLen16(x + v.second, w.second) + y, in CityHash128WithSeed()
1396 STATIC_INLINE uint128_t CityHash128(const char *s, size_t len) { in CityHash128()
1399 uint128_t(Fetch(s), Fetch(s + 8) + k0)) : in CityHash128()
1400 CityHash128WithSeed(s, len, uint128_t(k0, k1)); in CityHash128()
1403 uint128_t Fingerprint128(const char* s, size_t len) { in Fingerprint128()
1475 uint128_t Hash128(const char* s, size_t len) { in Hash128()
[all …]
/external/arm-trusted-firmware/plat/arm/common/aarch64/
Darm_pauth.c17 uint128_t plat_init_apkey(void) in plat_init_apkey()
27 return ((uint128_t)(key_hi) << 64) | key_lo; in plat_init_apkey()
/external/boringssl/src/crypto/poly1305/
Dpoly1305_vec.c42 static inline uint128_t add128(uint128_t a, uint128_t b) { return a + b; } in add128()
44 static inline uint128_t add128_64(uint128_t a, uint64_t b) { return a + b; } in add128_64()
46 static inline uint128_t mul64x64_128(uint64_t a, uint64_t b) { in mul64x64_128()
47 return (uint128_t)a * b; in mul64x64_128()
50 static inline uint64_t lo128(uint128_t a) { return (uint64_t)a; } in lo128()
52 static inline uint64_t shr128(uint128_t v, const int shift) { in shr128()
57 return (uint64_t)((((uint128_t)hi << 64) | lo) >> shift); in shr128_pair()
141 uint128_t d[3]; in poly1305_first_block()
718 uint128_t d[3]; in CRYPTO_poly1305_finish()
/external/arm-trusted-firmware/include/lib/libc/
Dstdint.h135 typedef unsigned __int128 uint128_t; typedef
/external/fmtlib/include/fmt/
Dcore.h254 using uint128_t = __uint128_t; variable
260 struct uint128_t {}; struct
725 FMT_TYPE_CONSTANT(uint128_t, uint128_type);
767 uint128_t uint128_value;
784 value(uint128_t val) : uint128_value(val) {}
846 FMT_CONSTEXPR uint128_t map(uint128_t val) { return val; }
Dformat.h720 conditional_t<std::numeric_limits<T>::digits <= 64, uint64_t, uint128_t>>;
771 inline int count_digits(uint128_t n) {
925 template <> constexpr int digits10<uint128_t>() noexcept { return 38; }
1717 void write(uint128_t value) { write_decimal(value); }
1829 template <> struct is_integral<uint128_t> : std::true_type {};
Dformat-inl.h700 using accumulator_t = conditional_t<FMT_USE_INT128, uint128_t, accumulator>;
/external/boringssl/src/crypto/
Dinternal.h169 typedef __uint128_t uint128_t; in OPENSSL_MSVC_PRAGMA() typedef
/external/boringssl/src/crypto/fipsmodule/bn/
Dinternal.h145 #define BN_ULLONG uint128_t in OPENSSL_MSVC_PRAGMA()
/external/boringssl/src/crypto/fipsmodule/ec/
Dp224-64.c50 typedef uint128_t p224_widelimb;
/external/arm-trusted-firmware/docs/getting_started/
Dporting-guide.rst1811 Return : uint128_t