Home
last modified time | relevance | path

Searched refs:__comp_ (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dthree_way_comp_ref_type.h28 _Comp& __comp_; member
29 _LIBCPP_HIDE_FROM_ABI constexpr __debug_three_way_comp(_Comp& __c) : __comp_(__c) {} in __debug_three_way_comp()
33 auto __r = __comp_(__x, __y); in operator()
34 if constexpr (__comparison_category<decltype(__comp_(__x, __y))>) in operator()
41 auto __r = __comp_(__x, __y); in operator()
42 if constexpr (__comparison_category<decltype(__comp_(__x, __y))>) in operator()
55 __comp_(__l, __r) == __expected, "Comparator does not induce a strict weak ordering"); in __do_compare_assert()
H A Dcomp_ref_type.h24 _Compare& __comp_; member
25 _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI __debug_less(_Compare& __c) : __comp_(__c) {} in __debug_less()
29 bool __r = __comp_(__x, __y); in operator()
37 bool __r = __comp_(__x, __y); in operator()
47 …_LIBCPP_ASSERT_SEMANTIC_REQUIREMENT(!__comp_(__l, __r), "Comparator does not induce a strict weak … in __do_compare_assert()
H A Dminmax_element.h28 _Comp& __comp_; variable
33 : __comp_(__comp), __proj_(__proj) {} in _MinmaxElementLessFunc()
37 return std::__invoke(__comp_, std::__invoke(__proj_, *__it1), std::__invoke(__proj_, *__it2)); in operator()
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/
H A Dcomp_ref_type.h24 _Compare& __comp_; member
25 _LIBCPP_HIDE_FROM_ABI __debug_less(_Compare& __c) : __comp_(__c) {} in __debug_less()
29 bool __r = __comp_(__x, __y); in operator()
37 bool __r = __comp_(__x, __y); in operator()
46 …_LIBCPP_ASSERT_SEMANTIC_REQUIREMENT(!__comp_(__l, __r), "Comparator does not induce a strict weak … in __do_compare_assert()
H A Dminmax_element.h28 _Comp& __comp_; variable
32 …_LIBCPP_HIDE_FROM_ABI _MinmaxElementLessFunc(_Comp& __comp, _Proj& __proj) : __comp_(__comp), __pr… in _MinmaxElementLessFunc()
36 return std::__invoke(__comp_, std::__invoke(__proj_, *__it1), std::__invoke(__proj_, *__it2)); in operator()
/freebsd/contrib/llvm-project/libcxx/include/__flat_map/
H A Dflat_multimap.h116 _LIBCPP_NO_UNIQUE_ADDRESS key_compare __comp_;
117 _LIBCPP_HIDE_FROM_ABI value_compare(key_compare __c) : __comp_(__c) {} in value_compare()
122 return __comp_(__x.first, __y.first); in operator()
858 _LIBCPP_HIDE_FROM_ABI __key_equiv(key_compare __c) : __comp_(__c) {} in __key_equiv()
860 …return !__comp_(std::get<0>(__x), std::get<0>(__y)) && !__comp_(std::get<0>(__y), std::get<0>(__x)… in operator()
862 key_compare __comp_; member
H A Dflat_map.h116 _LIBCPP_NO_UNIQUE_ADDRESS key_compare __comp_;
117 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 value_compare(key_compare __c) : __comp_(__c) … in value_compare()
123 return __comp_(__x.first, __y.first); in operator()
1118 … _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __key_equiv(key_compare __c) : __comp_(__c) {} in __key_equiv()
1121 …return !__comp_(std::get<0>(__x), std::get<0>(__y)) && !__comp_(std::get<0>(__y), std::get<0>(__x)… in operator()
1123 key_compare __comp_; member
/freebsd/contrib/llvm-project/libcxx/include/__flat_set/
H A Dflat_multiset.h683 _LIBCPP_HIDE_FROM_ABI __key_equiv(key_compare __c) : __comp_(__c) {} in __key_equiv()
685 …return !__comp_(std::get<0>(__x), std::get<0>(__y)) && !__comp_(std::get<0>(__y), std::get<0>(__x)… in operator()
687 key_compare __comp_; member
H A Dflat_set.h767 … _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX26 __key_equiv(key_compare __c) : __comp_(__c) {} in __key_equiv()
770 return !__comp_(__x, __y) && !__comp_(__y, __x); in operator()
772 key_compare __comp_; member
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dmap633 _Compare __comp_;
636 _LIBCPP_HIDE_FROM_ABI __map_value_compare() : __comp_() {}
637 _LIBCPP_HIDE_FROM_ABI __map_value_compare(_Compare __c) : __comp_(__c) {}
638 _LIBCPP_HIDE_FROM_ABI const _Compare& key_comp() const _NOEXCEPT { return __comp_; }
641 return __comp_(__x.__get_value().first, __y.__get_value().first);
644 return __comp_(__x.__get_value().first, __y);
647 return __comp_(__x, __y.__get_value().first);
651 swap(__comp_, __y.__comp_);
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmap675 _Compare __comp_;
679 : __comp_() {}
681 : __comp_(__c) {}
682 _LIBCPP_HIDE_FROM_ABI const _Compare& key_comp() const _NOEXCEPT { return __comp_; }
684 …_LIBCPP_HIDE_FROM_ABI bool operator()(const _CP& __x, const _CP& __y) const { return __comp_(__x.f…
685 …_LIBCPP_HIDE_FROM_ABI bool operator()(const _CP& __x, const _Key& __y) const { return __comp_(__x.…
686 …_LIBCPP_HIDE_FROM_ABI bool operator()(const _Key& __x, const _CP& __y) const { return __comp_(__x,…
689 swap(__comp_, __y.__comp_);
695 return __comp_(__x, __y.first);
700 return __comp_(__x.first, __y);