Home
last modified time | relevance | path

Searched refs:uint128_t (Results 1 – 9 of 9) 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/util/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()
1306 STATIC_INLINE uint128_t CityMurmur(const char *s, size_t len, uint128_t seed) { in CityMurmur()
1333 return uint128_t(a ^ b, HashLen16(b, a)); in CityMurmur()
1336 uint128_t CityHash128WithSeed(const char *s, size_t len, uint128_t seed) { in CityHash128WithSeed()
1395 return uint128_t(HashLen16(x + v.second, w.second) + y, in CityHash128WithSeed()
1399 STATIC_INLINE uint128_t CityHash128(const char *s, size_t len) { in CityHash128()
1402 uint128_t(Fetch(s), Fetch(s + 8) + k0)) : in CityHash128()
1403 CityHash128WithSeed(s, len, uint128_t(k0, k1)); in CityHash128()
1406 uint128_t Fingerprint128(const char* s, size_t len) { in Fingerprint128()
1479 uint128_t Hash128(const char* s, size_t len) { in Hash128()
[all …]
/external/boringssl/src/crypto/fipsmodule/ec/
Dp256-64.c64 typedef uint128_t limb;
395 a = ((uint128_t)small[0]) * small[0]; in smallfelem_square()
401 a = ((uint128_t)small[0]) * small[1]; in smallfelem_square()
408 a = ((uint128_t)small[0]) * small[2]; in smallfelem_square()
415 a = ((uint128_t)small[0]) * small[3]; in smallfelem_square()
421 a = ((uint128_t)small[1]) * small[2]; in smallfelem_square()
428 a = ((uint128_t)small[1]) * small[1]; in smallfelem_square()
434 a = ((uint128_t)small[1]) * small[3]; in smallfelem_square()
441 a = ((uint128_t)small[2]) * small[3]; in smallfelem_square()
449 a = ((uint128_t)small[2]) * small[2]; in smallfelem_square()
[all …]
Dp224-64.c51 typedef uint128_t p224_widelimb;
/external/valgrind/memcheck/tests/vbit-test/
Dvbits.h34 typedef uint64_t uint128_t[2]; typedef
45 uint128_t u128;
59 uint128_t u128;
/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()
192 uint128_t d[3]; in poly1305_first_block()
769 uint128_t d[3]; in CRYPTO_poly1305_finish()
/external/boringssl/src/crypto/fipsmodule/bn/
Dinternal.h145 #define BN_ULLONG uint128_t in OPENSSL_MSVC_PRAGMA()
/external/boringssl/src/crypto/
Dinternal.h155 typedef __uint128_t uint128_t; in OPENSSL_MSVC_PRAGMA() typedef