Lines Matching defs:hash
45 // Definition of default hash function std::tr1::hash<>. The types for
46 // which std::tr1::hash<T> is defined is in clause 6.3.3. of the PDTR.
48 struct hash;
52 struct hash<_Tp> \
77 struct hash<_Tp*>
86 // (used by the next specializations of std::tr1::hash<>)
93 hash(const char* __first, std::size_t __length)
106 hash(const char* __first, std::size_t __length)
122 hash(const char* __first, std::size_t __length)
139 struct hash<std::string>
144 { return _Fnv_hash<>::hash(__s.data(), __s.length()); }
149 struct hash<std::wstring>
155 return _Fnv_hash<>::hash(reinterpret_cast<const char*>(__s.data()),
162 struct hash<float>
170 // 0 and -0 both hash to zero.
172 __result = _Fnv_hash<>::hash(reinterpret_cast<const char*>(&__fval),
179 struct hash<double>
187 // 0 and -0 both hash to zero.
189 __result = _Fnv_hash<>::hash(reinterpret_cast<const char*>(&__dval),
198 struct hash<long double>