Lines Matching full:_hash
225 template <class _Tp, class _Hash,
226 bool = is_empty<_Hash>::value && !__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_;}
475 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = equal_to<_Key>,
484 typedef _Hash hasher;
617 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
618 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
625 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
626 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
634 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
636 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
643 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
645 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
654 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
656 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
665 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
666 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
674 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
675 typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
676 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k)
687 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
691 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
698 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
700 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k)
711 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
714 swap(hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
715 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
720 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
722 operator==(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
723 const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
727 typedef typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator
739 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
742 operator!=(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
743 const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
748 template <class _Key, class _Tp, class _Hash = hash<_Key>, class _Pred = equal_to<_Key>,
757 typedef _Hash hasher;
883 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
884 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
891 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
892 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
900 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
902 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
909 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
911 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
920 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
922 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
931 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
932 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
940 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
944 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first,
951 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
954 swap(hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
955 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
960 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
962 operator==(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
963 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)
967 typedef typename hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator
983 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
986 operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
987 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y)