Searched refs:uint128 (Results 1 – 13 of 13) sorted by relevance
/external/chromium_org/net/base/ |
D | int128.h | 15 class uint128 { 17 uint128(); // Sets to 0, but don't trust on this behavior. 18 uint128(uint64 top, uint64 bottom); 19 uint128(int bottom); 20 uint128(uint32 bottom); // Top 96 bits = 0 21 uint128(uint64 bottom); // hi_ = 0 22 uint128(const uint128 &val); 23 uint128(const uint128_pod &val); 27 uint128& operator=(const uint128& b); 31 uint128& operator+=(const uint128& b); [all …]
|
D | int128_unittest.cc | 12 uint128 zero(0); in TEST() 13 uint128 one(1); in TEST() 14 uint128 one_2arg(0, 1); in TEST() 15 uint128 two(0, 2); in TEST() 16 uint128 three(0, 3); in TEST() 17 uint128 big(2000, 2); in TEST() 18 uint128 big_minus_one(2000, 1); in TEST() 19 uint128 bigger(2001, 1); in TEST() 20 uint128 biggest(kuint128max); in TEST() 21 uint128 high_low(1, 0); in TEST() [all …]
|
D | int128.cc | 14 std::ostream& operator<<(std::ostream& o, const uint128& b) { in operator <<()
|
/external/chromium_org/third_party/smhasher/src/ |
D | City.h | 54 typedef std::pair<uint64, uint64> uint128; typedef 56 inline uint64 Uint128Low64(const uint128& x) { return x.first; } in Uint128Low64() 57 inline uint64 Uint128High64(const uint128& x) { return x.second; } in Uint128High64() 72 uint128 CityHash128(const char *s, size_t len); 76 uint128 CityHash128WithSeed(const char *s, size_t len, uint128 seed); 80 inline uint64 Hash128to64(const uint128& x) { in Hash128to64() 96 uint128 CityHashCrc128(const char *s, size_t len); 100 uint128 CityHashCrc128WithSeed(const char *s, size_t len, uint128 seed);
|
D | City.cpp | 117 return Hash128to64(uint128(u, v)); in HashLen16() 249 static uint128 CityMurmur(const char *s, size_t len, uint128 seed) { in CityMurmur() 276 return uint128(a ^ b, HashLen16(b, a)); in CityMurmur() 279 uint128 CityHash128WithSeed(const char *s, size_t len, uint128 seed) { in CityHash128WithSeed() 334 return uint128(HashLen16(x + v.second, w.second) + y, in CityHash128WithSeed() 338 uint128 CityHash128(const char *s, size_t len) { in CityHash128() 342 uint128(Fetch64(s) ^ k3, in CityHash128() 347 uint128(Fetch64(s) ^ (len * k0), in CityHash128() 350 return CityHash128WithSeed(s, len, uint128(k0, k1)); in CityHash128() 442 uint128 CityHashCrc128WithSeed(const char *s, size_t len, uint128 seed) { in CityHashCrc128WithSeed() [all …]
|
D | CityTest.cpp | 10 uint128 s(0,0); in CityHash128_test() 14 *(uint128*)out = CityHash128WithSeed((const char*)key,len,s); in CityHash128_test()
|
/external/chromium_org/net/quic/crypto/ |
D | null_decrypter.cc | 29 uint128 hash; in Decrypt() 54 uint128 hash; in DecryptPacket() 75 bool NullDecrypter::ReadHash(QuicDataReader* reader, uint128* hash) { in ReadHash() 88 uint128 NullDecrypter::ComputeHash(const string& data) const { in ComputeHash() 89 uint128 correct_hash = QuicUtils::FNV1a_128_Hash(data.data(), data.length()); in ComputeHash() 90 uint128 mask(GG_UINT64_C(0x0), GG_UINT64_C(0xffffffff)); in ComputeHash()
|
D | null_decrypter.h | 39 bool ReadHash(QuicDataReader* reader, uint128* hash); 40 uint128 ComputeHash(const std::string& data) const;
|
D | null_encrypter.cc | 31 uint128 hash = QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length()); in Encrypt()
|
/external/chromium_org/net/quic/ |
D | quic_utils.cc | 40 uint128 QuicUtils::FNV1a_128_Hash(const char* data, int len) { in FNV1a_128_Hash() 44 const uint128 kPrime(16777216, 315); in FNV1a_128_Hash() 46 const uint128 kOffset(GG_UINT64_C(7809847782465536322), in FNV1a_128_Hash() 51 uint128 hash = kOffset; in FNV1a_128_Hash() 54 hash = hash ^ uint128(0, octets[i]); in FNV1a_128_Hash() 109 void QuicUtils::SerializeUint128(uint128 v, uint8* out) { in SerializeUint128() 118 void QuicUtils::SerializeUint128Short(uint128 v, uint8* out) { in SerializeUint128Short()
|
D | quic_utils.h | 29 static uint128 FNV1a_128_Hash(const char* data, int len); 47 static void SerializeUint128(uint128 v, uint8* out); 51 static void SerializeUint128Short(uint128 v, uint8* out);
|
D | quic_data_reader.cc | 50 bool QuicDataReader::ReadUInt128(uint128* result) { in ReadUInt128() 61 *result = uint128(high_hash, low_hash); in ReadUInt128()
|
D | quic_data_reader.h | 60 bool ReadUInt128(uint128* result);
|