/external/chromium_org/net/base/ |
int128.h | 15 class uint128 { class 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) 107 inline uint128::uint128(): lo_(0), hi_(0) { } function in class:uint128 108 inline uint128::uint128(uint64 top, uint64 bottom) : lo_(bottom), hi_(top) { } function in class:uint128 109 inline uint128::uint128(const uint128 &v) : lo_(v.lo_), hi_(v.hi_) { } function in class:uint128 110 inline uint128::uint128(const uint128_pod &v) : lo_(v.lo), hi_(v.hi) { } function in class:uint128 111 inline uint128::uint128(uint64 bottom) : lo_(bottom), hi_(0) { } function in class:uint128 112 inline uint128::uint128(uint32 bottom) : lo_(bottom), hi_(0) { } function in class:uint128 113 inline uint128::uint128(int bottom) : lo_(bottom), hi_(0) { function in class:uint128 [all...] |
int128_unittest.cc | 12 uint128 zero(0); 13 uint128 one(1); 14 uint128 one_2arg(0, 1); 15 uint128 two(0, 2); 16 uint128 three(0, 3); 17 uint128 big(2000, 2); 18 uint128 big_minus_one(2000, 1); 19 uint128 bigger(2001, 1); 20 uint128 biggest(kuint128max); 21 uint128 high_low(1, 0) [all...] |
int128.cc | 14 std::ostream& operator<<(std::ostream& o, const uint128& b) {
|
/external/chromium_org/third_party/smhasher/src/ |
City.h | 54 typedef std::pair<uint64, uint64> uint128; typedef 56 inline uint64 Uint128Low64(const uint128& x) { return x.first; } 57 inline uint64 Uint128High64(const uint128& x) { return x.second; } 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) { 96 uint128 CityHashCrc128(const char *s, size_t len); 100 uint128 CityHashCrc128WithSeed(const char *s, size_t len, uint128 seed) [all...] |
CityTest.cpp | 10 uint128 s(0,0); 14 *(uint128*)out = CityHash128WithSeed((const char*)key,len,s);
|
City.cpp | 117 return Hash128to64(uint128(u, v)); 249 static uint128 CityMurmur(const char *s, size_t len, uint128 seed) { 276 return uint128(a ^ b, HashLen16(b, a)); 279 uint128 CityHash128WithSeed(const char *s, size_t len, uint128 seed) { 334 return uint128(HashLen16(x + v.second, w.second) + y, 338 uint128 CityHash128(const char *s, size_t len) { 342 uint128(Fetch64(s) ^ k3, 347 uint128(Fetch64(s) ^ (len * k0) [all...] |
/external/chromium_org/net/quic/crypto/ |
null_decrypter.cc | 29 uint128 hash; 54 uint128 hash; 75 bool NullDecrypter::ReadHash(QuicDataReader* reader, uint128* hash) { 88 uint128 NullDecrypter::ComputeHash(const string& data) const { 89 uint128 correct_hash = QuicUtils::FNV1a_128_Hash(data.data(), data.length()); 90 uint128 mask(GG_UINT64_C(0x0), GG_UINT64_C(0xffffffff));
|
null_decrypter.h | 39 bool ReadHash(QuicDataReader* reader, uint128* hash); 40 uint128 ComputeHash(const std::string& data) const;
|
null_encrypter.cc | 14 const size_t kHashSizeShort = 12; // size of uint128 serialized short 31 uint128 hash = QuicUtils::FNV1a_128_Hash(buffer.data(), buffer.length());
|
/external/chromium_org/net/quic/ |
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);
|
quic_utils.cc | 40 uint128 QuicUtils::FNV1a_128_Hash(const char* data, int len) { 44 const uint128 kPrime(16777216, 315); 46 const uint128 kOffset(GG_UINT64_C(7809847782465536322), 51 uint128 hash = kOffset; 54 hash = hash ^ uint128(0, octets[i]); 109 void QuicUtils::SerializeUint128(uint128 v, uint8* out) { 118 void QuicUtils::SerializeUint128Short(uint128 v, uint8* out) {
|
quic_data_reader.h | 60 bool ReadUInt128(uint128* result);
|
quic_data_reader.cc | 50 bool QuicDataReader::ReadUInt128(uint128* result) { 61 *result = uint128(high_hash, low_hash);
|