Home
last modified time | relevance | path

Searched refs:Hash32 (Results 1 – 3 of 3) sorted by relevance

/packages/modules/StatsD/statsd/src/
Dhash.h26 extern uint32_t Hash32(const char *data, size_t n, uint32_t seed);
29 inline uint32_t Hash32(const char *data, size_t n) { in Hash32() function
30 return Hash32(data, n, 0xBEEF); in Hash32()
33 inline uint32_t Hash32(const std::string &input) { in Hash32() function
34 return Hash32(input.data(), input.size()); in Hash32()
DFieldValue.cpp585 hashValue = Hash32(reinterpret_cast<const char*>(&sampleFieldValue.mValue.int_value), in shouldKeepSample()
589 hashValue = Hash32(reinterpret_cast<const char*>(&sampleFieldValue.mValue.long_value), in shouldKeepSample()
593 hashValue = Hash32(reinterpret_cast<const char*>(&sampleFieldValue.mValue.float_value), in shouldKeepSample()
597 hashValue = Hash32(reinterpret_cast<const char*>(&sampleFieldValue.mValue.double_value), in shouldKeepSample()
601 hashValue = Hash32(sampleFieldValue.mValue.str_value); in shouldKeepSample()
604 hashValue = Hash32((const char*)sampleFieldValue.mValue.storage_value.data(), in shouldKeepSample()
Dhash.cpp49 uint32_t Hash32(const char *data, size_t n, uint32_t seed) { in Hash32() function