Lines Matching refs:hash_value
89 V8_INLINE size_t hash_value(type v) { return static_cast<size_t>(v); }
95 V8_BASE_EXPORT size_t hash_value(unsigned int);
96 V8_BASE_EXPORT size_t hash_value(unsigned long); // NOLINT(runtime/int)
97 V8_BASE_EXPORT size_t hash_value(unsigned long long); // NOLINT(runtime/int)
100 V8_INLINE size_t hash_value(signed type v) { \
101 return hash_value(bit_cast<unsigned type>(v)); \
110 V8_INLINE size_t hash_value(float v) { in V8_BASE_HASH_VALUE_SIGNED()
112 return v != 0.0f ? hash_value(bit_cast<uint32_t>(v)) : 0; in V8_BASE_HASH_VALUE_SIGNED()
115 V8_INLINE size_t hash_value(double v) { in hash_value() function
117 return v != 0.0 ? hash_value(bit_cast<uint64_t>(v)) : 0; in hash_value()
121 V8_INLINE size_t hash_value(const T (&v)[N]) { in hash_value() function
126 V8_INLINE size_t hash_value(T (&v)[N]) { in hash_value() function
131 V8_INLINE size_t hash_value(T* const& v) { in hash_value() function
132 return hash_value(bit_cast<uintptr_t>(v)); in hash_value()
136 V8_INLINE size_t hash_value(std::pair<T1, T2> const& v) { in hash_value() function
143 V8_INLINE size_t operator()(T const& v) const { return hash_value(v); } in operator()
150 return ::v8::base::hash_value(v); \
171 return ::v8::base::hash_value(v);