Lines Matching refs:_Hash
225 template <class _Tp, class _Hash, bool = std::is_empty<_Hash>::value && !std::__libcpp_is_final<_Ha…
226 class __hash_map_hasher : private _Hash {
228 _LIBCPP_HIDE_FROM_ABI __hash_map_hasher() : _Hash() {}
229 _LIBCPP_HIDE_FROM_ABI __hash_map_hasher(const _Hash& __h) : _Hash(__h) {}
230 _LIBCPP_HIDE_FROM_ABI const _Hash& hash_function() const { return *this; }
231 …_LIBCPP_HIDE_FROM_ABI size_t operator()(const _Tp& __x) const { return static_cast<const _Hash&>(*…
233 return static_cast<const _Hash&>(*this)(__x);
237 template <class _Tp, class _Hash>
238 class __hash_map_hasher<_Tp, _Hash, false> {
239 _Hash __hash_;
243 _LIBCPP_HIDE_FROM_ABI __hash_map_hasher(const _Hash& __h) : __hash_(__h) {}
244 _LIBCPP_HIDE_FROM_ABI const _Hash& hash_function() const { return __hash_; }
442 class _Hash = hash<_Key>,
451 typedef _Hash hasher;
562 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
563 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(size_type __n, const hasher& __hf, const key_eq…
568 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
569 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
575 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
577 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(_InputIterator __first, _InputIterator __last) {
581 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
583 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
590 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
592 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
604 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
605 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(const hash_map& __u) : __table_(__u.__table_) {
610 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
611 typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
612 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k) {
622 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
624 inline void hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIterato…
629 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
630 _Tp& hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) {
640 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
642 swap(hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y…
646 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
648 operator==(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, const hash_map<_Key, _Tp, _Hash, _…
651 typedef typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
660 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
662 operator!=(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, const hash_map<_Key, _Tp, _Hash, _…
668 class _Hash = hash<_Key>,
677 typedef _Hash hasher;
780 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
781 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(size_type __n, const hasher& __hf, co…
786 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
787 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
793 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
795 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(_InputIterator __first, _InputIterato…
799 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
801 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
808 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
810 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
822 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
823 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(const hash_multimap& __u) : __table_(…
828 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
830 inline void hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIt…
835 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
837 swap(hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, hash_multimap<_Key, _Tp, _Hash, _Pred, _A…
841 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
842 _LIBCPP_HIDE_FROM_ABI bool operator==(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
843 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
846 typedef typename hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
859 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
860 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& …
861 … const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {