| /freebsd-12.1/contrib/libstdc++/include/bits/ |
| H A D | stl_heap.h | 94 if (__comp(__first[__parent], __first[__child])) in __is_heap() 110 _StrictWeakOrdering __comp) in __is_heap() argument 167 && __comp(*(__first + __parent), __value)) in __push_heap() 190 _Compare __comp) in push_heap() argument 273 _Distance __len, _Tp __value, _Compare __comp) in __adjust_heap() argument 279 if (__comp(*(__first + __secondChild), in __adjust_heap() 303 __value, __comp); in __pop_heap() 331 _ValueType(*(__last - 1)), __comp); in pop_heap() 385 _Compare __comp) in make_heap() argument 405 _ValueType(*(__first + __parent)), __comp); in make_heap() [all …]
|
| H A D | stl_algo.h | 2459 __comp); in __final_insertion_sort() 2794 __comp)), in __introsort_loop() 3144 __comp); in __merge_without_buffer() 3152 __comp); in __merge_without_buffer() 3208 __comp); in __inplace_stable_sort() 3368 __comp); in __merge_sort_loop() 3376 __comp); in __merge_sort_loop() 3799 __comp); in inplace_merge() 3855 __comp); in __stable_sort_adaptive() 4005 __comp)), in __introselect() [all …]
|
| H A D | list.tcc | 242 merge(list& __x, _StrictWeakOrdering __comp) in merge() argument 255 if (__comp(*__first2, *__first1)) in merge() 348 sort(_StrictWeakOrdering __comp) in sort() argument 367 __counter->merge(__carry, __comp); in sort() 377 __counter->merge(*(__counter - 1), __comp); in sort()
|
| H A D | stl_multiset.h | 140 multiset(const _Compare& __comp, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 142 : _M_t(__comp, __a) { } in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 171 const _Compare& __comp, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 173 : _M_t(__comp, __a) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
|
| H A D | stl_set.h | 150 set(const _Compare& __comp, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 152 : _M_t(__comp, __a) {} in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 181 const _Compare& __comp, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 183 : _M_t(__comp, __a) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
|
| H A D | stl_multimap.h | 162 multimap(const _Compare& __comp, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 164 : _M_t(__comp, __a) { } in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 203 const _Compare& __comp, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 205 : _M_t(__comp, __a) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
|
| H A D | stl_algobase.h | 226 min(const _Tp& __a, const _Tp& __b, _Compare __comp) 229 if (__comp(__b, __a)) 246 max(const _Tp& __a, const _Tp& __b, _Compare __comp) 249 if (__comp(__a, __b)) 878 _Compare __comp) 889 if (__comp(*__first1, *__first2)) 891 if (__comp(*__first2, *__first1))
|
| H A D | stl_map.h | 165 map(const _Compare& __comp, const allocator_type& __a = allocator_type()) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 166 : _M_t(__comp, __a) { } in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 205 const _Compare& __comp, const allocator_type& __a = allocator_type()) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 206 : _M_t(__comp, __a) in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
|
| H A D | stl_tree.h | 420 _Rb_tree_impl(const _Key_compare& __comp, const _Node_allocator& __a) in _Rb_tree_impl() 421 : _Node_allocator(__a), _M_key_compare(__comp), _M_header(), in _Rb_tree_impl() 450 _Rb_tree_impl(const _Key_compare& __comp, const _Node_allocator& __a) 451 : _Node_allocator(__a), _M_key_compare(__comp), _M_header(), 591 _Rb_tree(const _Compare& __comp, 593 : _M_impl(__comp, __a) 993 bool __comp = true; 997 __comp = _M_impl._M_key_compare(_KeyOfValue()(__v), _S_key(__x)); 998 __x = __comp ? _S_left(__x) : _S_right(__x); 1001 if (__comp)
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | algorithm | 2562 return __comp(__v, __lo) ? __lo : __comp(__hi, __v) ? __hi : __v; 3713 if (__comp(*__i, *__j)) 3759 if (__comp(*__i, *__j)) 4472 _Compare __comp) 4725 if (__comp(*__pp, *__cp)) 4731 if (__comp(*__pp, *__cp)) 4823 _Compare __comp, 4991 _Compare __comp) 5010 _Compare __comp) 5299 _Compare __comp) [all …]
|
| H A D | queue | 472 explicit priority_queue(const value_compare& __comp) 473 : c(), comp(__comp) {} 483 const value_compare& __comp = value_compare()); 589 comp(__comp) 601 comp(__comp) 614 comp(__comp) 626 comp(__comp) 641 comp(__comp) 667 comp(__comp) 680 comp(__comp) [all …]
|
| H A D | set | 498 : __tree_(__comp) {} 502 : __tree_(__comp, __a) {} 507 : __tree_(__comp) 516 : __tree_(__comp, __a) 565 : __tree_(__comp) 573 : __tree_(__comp, __a) 986 : __tree_(__comp) {} 995 : __tree_(__comp) 1011 : __tree_(__comp, __a) 1052 : __tree_(__comp) [all …]
|
| H A D | forward_list | 835 void merge(forward_list&& __x, _Compare __comp) 836 {merge(__x, _VSTD::move(__comp));} 1576 __comp); 1585 _Compare& __comp) 1592 if (__comp(__f2->__value_, __f1->__value_)) 1608 if (__comp(__f2->__value_, __f1->__value_)) 1630 forward_list<_Tp, _Alloc>::sort(_Compare __comp) 1640 _Compare& __comp) 1648 if (__comp(__f1->__next_->__value_, __f1->__value_)) 1662 return __merge(__sort(__f1, __sz1, __comp), [all …]
|
| H A D | map | 970 explicit map(const key_compare& __comp) 974 : __tree_(__vc(__comp)) {} 983 const key_compare& __comp = key_compare()) 984 : __tree_(__vc(__comp)) 992 const key_compare& __comp, const allocator_type& __a) 1049 : __tree_(__vc(__comp)) 1705 explicit multimap(const key_compare& __comp) 1709 : __tree_(__vc(__comp)) {} 1718 const key_compare& __comp = key_compare()) 1719 : __tree_(__vc(__comp)) [all …]
|
| H A D | list | 1088 void merge(list&& __c, _Comp __comp) {merge(__c, __comp);} 1091 void merge(list& __c, _Comp __comp); 1097 void sort(_Comp __comp); 2215 list<_Tp, _Alloc>::merge(list& __c, _Comp __comp) 2225 if (__comp(*__f2, *__f1)) 2278 list<_Tp, _Alloc>::sort(_Comp __comp) 2280 __sort(begin(), end(), base::__sz(), __comp); 2294 if (__comp(*--__e2, *__f1)) 2305 iterator __r = __f1 = __sort(__f1, __e1, __n2, __comp); 2307 if (__comp(*__f2, *__f1)) [all …]
|
| /freebsd-12.1/contrib/libevent/WIN32-Code/ |
| H A D | tree.h | 163 int __comp; \ 165 __comp = (cmp)(elm, (head)->sph_root); \ 166 if(__comp < 0) { \ 170 } else if (__comp > 0) { \ 206 int __comp; \ 212 if (__comp < 0) { \ 222 } else if (__comp > 0) { \ 248 if (__comp < 0) { \ 252 if (__comp < 0){ \ 258 } else if (__comp > 0) { \ [all …]
|
| /freebsd-12.1/contrib/ntp/sntp/libevent/WIN32-Code/ |
| H A D | tree.h | 163 int __comp; \ 165 __comp = (cmp)(elm, (head)->sph_root); \ 166 if(__comp < 0) { \ 170 } else if (__comp > 0) { \ 206 int __comp; \ 212 if (__comp < 0) { \ 222 } else if (__comp > 0) { \ 248 if (__comp < 0) { \ 252 if (__comp < 0){ \ 258 } else if (__comp > 0) { \ [all …]
|
| /freebsd-12.1/crypto/openssh/openbsd-compat/ |
| H A D | sys-tree.h | 170 int __comp; \ 172 __comp = (cmp)(elm, (head)->sph_root); \ 173 if(__comp < 0) { \ 177 } else if (__comp > 0) { \ 213 int __comp; \ 219 if (__comp < 0) { \ 229 } else if (__comp > 0) { \ 255 if (__comp < 0) { \ 259 if (__comp < 0){ \ 265 } else if (__comp > 0) { \ [all …]
|
| /freebsd-12.1/contrib/ipfilter/sys/ |
| H A D | tree.h | 166 int __comp; \ 168 __comp = (cmp)(elm, (head)->sph_root); \ 169 if(__comp < 0) { \ 173 } else if (__comp > 0) { \ 209 int __comp; \ 215 if (__comp < 0) { \ 225 } else if (__comp > 0) { \ 251 if (__comp < 0) { \ 255 if (__comp < 0){ \ 261 } else if (__comp > 0) { \ [all …]
|
| /freebsd-12.1/sys/sys/ |
| H A D | tree.h | 170 int __comp; \ 172 __comp = (cmp)(elm, (head)->sph_root); \ 173 if(__comp < 0) { \ 177 } else if (__comp > 0) { \ 213 int __comp; \ 219 if (__comp < 0) { \ 229 } else if (__comp > 0) { \ 255 if (__comp < 0) { \ 259 if (__comp < 0){ \ 265 } else if (__comp > 0) { \ [all …]
|
| /freebsd-12.1/contrib/libstdc++/include/debug/ |
| H A D | multiset.h | 78 explicit multiset(const _Compare& __comp = _Compare(), 80 : _Base(__comp, __a) { } in _Base() argument 84 const _Compare& __comp = _Compare(), 87 __comp, __a) { } in _Base() argument
|
| H A D | set.h | 78 explicit set(const _Compare& __comp = _Compare(), 80 : _Base(__comp, __a) { } in _Base() argument 84 const _Compare& __comp = _Compare(), 87 __comp, __a) { } in _Base() argument
|
| H A D | multimap.h | 78 explicit multimap(const _Compare& __comp = _Compare(), 80 : _Base(__comp, __a) { } in _Base() argument 84 const _Compare& __comp = _Compare(), 87 __comp, __a) { } in _Base() argument
|
| H A D | map.h | 78 explicit map(const _Compare& __comp = _Compare(), 80 : _Base(__comp, __a) { } in _Base() argument 84 const _Compare& __comp = _Compare(), 87 __comp, __a), _Safe_base() { } in _Base() argument
|
| /freebsd-12.1/contrib/libstdc++/include/ext/ |
| H A D | rb_tree | 89 rb_tree(const _Compare& __comp = _Compare(), 91 : _Base(__comp, __a) { }
|