Lines Matching refs:_Hash
231 template <class _Tp, class _Hash,
232 bool = std::is_empty<_Hash>::value && !std::__libcpp_is_final<_Hash>::value
235 : private _Hash
238 _LIBCPP_INLINE_VISIBILITY __hash_map_hasher() : _Hash() {}
239 _LIBCPP_INLINE_VISIBILITY __hash_map_hasher(const _Hash& __h) : _Hash(__h) {}
240 _LIBCPP_INLINE_VISIBILITY const _Hash& hash_function() const {return *this;}
243 {return static_cast<const _Hash&>(*this)(__x.first);}
246 {return static_cast<const _Hash&>(*this)(__x);}
249 template <class _Tp, class _Hash>
250 class __hash_map_hasher<_Tp, _Hash, false>
252 _Hash __hash_;
255 _LIBCPP_INLINE_VISIBILITY __hash_map_hasher(const _Hash& __h) : __hash_(__h) {}
256 _LIBCPP_INLINE_VISIBILITY const _Hash& hash_function() const {return __hash_;}
470 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = std::equal_to<_Key>,
479 typedef _Hash hasher;
614 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
615 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
622 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
623 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
631 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
633 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
639 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
641 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
650 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
652 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
661 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
662 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
670 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
671 typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
672 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k)
683 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
687 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
694 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
696 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k)
707 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
710 swap(hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
711 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
716 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
718 operator==(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
719 const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
723 typedef typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator
735 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
738 operator!=(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
739 const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
744 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = std::equal_to<_Key>,
753 typedef _Hash hasher;
880 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
881 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
888 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
889 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
897 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
899 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
905 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
907 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
916 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
918 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
927 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
928 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
936 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
940 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
947 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
950 swap(hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
951 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
956 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
958 operator==(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
959 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
963 typedef typename hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator
979 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
982 operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
983 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)