Lines Matching refs:_Hash

225 template <class _Tp, class _Hash,
226 bool = std::is_empty<_Hash>::value && !std::__libcpp_is_final<_Hash>::value
229 : private _Hash
232 _LIBCPP_INLINE_VISIBILITY __hash_map_hasher() : _Hash() {}
233 _LIBCPP_INLINE_VISIBILITY __hash_map_hasher(const _Hash& __h) : _Hash(__h) {}
234 _LIBCPP_INLINE_VISIBILITY const _Hash& hash_function() const {return *this;}
237 {return static_cast<const _Hash&>(*this)(__x.first);}
240 {return static_cast<const _Hash&>(*this)(__x);}
243 template <class _Tp, class _Hash>
244 class __hash_map_hasher<_Tp, _Hash, false>
246 _Hash __hash_;
249 _LIBCPP_INLINE_VISIBILITY __hash_map_hasher(const _Hash& __h) : __hash_(__h) {}
250 _LIBCPP_INLINE_VISIBILITY const _Hash& hash_function() const {return __hash_;}
464 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = std::equal_to<_Key>,
473 typedef _Hash hasher;
608 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
609 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
616 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
617 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
625 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
627 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
633 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
635 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
644 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
646 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
655 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
656 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
664 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
665 typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
666 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k)
677 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
681 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
688 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
690 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k)
701 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
704 swap(hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
705 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
710 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
712 operator==(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
713 const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
717 typedef typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator
729 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
732 operator!=(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
733 const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
738 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = std::equal_to<_Key>,
747 typedef _Hash hasher;
874 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
875 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
882 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
883 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
891 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
893 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
899 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
901 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
910 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
912 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
921 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
922 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
930 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
934 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
941 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
944 swap(hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
945 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
950 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
952 operator==(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
953 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
957 typedef typename hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator
973 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
976 operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
977 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)