Home
last modified time | relevance | path

Searched refs:_Predicate (Results 1 – 25 of 48) sorted by relevance

12

/openbsd-src/gnu/llvm/libcxx/include/__functional/
H A Dbinary_negate.h24 template <class _Predicate>
26 : public __binary_function<typename _Predicate::first_argument_type,
27 typename _Predicate::second_argument_type,
30 _Predicate __pred_;
33 binary_negate(const _Predicate& __pred) : __pred_(__pred) {} in binary_negate()
36 bool operator()(const typename _Predicate::first_argument_type& __x, in operator()
37 const typename _Predicate::second_argument_type& __y) const in operator()
41 template <class _Predicate>
43 binary_negate<_Predicate>
44 not2(const _Predicate& __pred) {return binary_negate<_Predicate>(__pred);} in not2()
H A Dunary_negate.h24 template <class _Predicate>
26 : public __unary_function<typename _Predicate::argument_type, bool>
28 _Predicate __pred_;
31 explicit unary_negate(const _Predicate& __pred) in unary_negate()
34 bool operator()(const typename _Predicate::argument_type& __x) const in operator()
38 template <class _Predicate>
40 unary_negate<_Predicate>
41 not1(const _Predicate& __pred) {return unary_negate<_Predicate>(__pred);} in not1()
/openbsd-src/gnu/llvm/libcxx/include/__algorithm/
H A Dstable_partition.h32 template <class _AlgPolicy, class _Predicate, class _ForwardIterator, class _Distance, class _Pair>
34 __stable_partition_impl(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, in __stable_partition_impl()
95 _ForwardIterator __first_false = std::__stable_partition_impl<_AlgPolicy, _Predicate&>( in __stable_partition_impl()
111 __second_false = std::__stable_partition_impl<_AlgPolicy, _Predicate&>( in __stable_partition_impl()
121 template <class _AlgPolicy, class _Predicate, class _ForwardIterator>
123 __stable_partition_impl(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, in __stable_partition_impl()
151 return std::__stable_partition_impl<_AlgPolicy, _Predicate&>( in __stable_partition_impl()
155 template <class _AlgPolicy, class _Predicate, class _BidirectionalIterator, class _Distance, class …
157 __stable_partition_impl(_BidirectionalIterator __first, _BidirectionalIterator __last, _Predicate _… in __stable_partition_impl()
238 __first_false = std::__stable_partition_impl<_AlgPolicy, _Predicate&>( in __stable_partition_impl()
[all …]
H A Dpartition.h25 template <class _Predicate, class _AlgPolicy, class _ForwardIterator, class _Sentinel>
27 __partition_impl(_ForwardIterator __first, _Sentinel __last, _Predicate __pred, forward_iterator_ta… in __partition_impl()
50 template <class _Predicate, class _AlgPolicy, class _BidirectionalIterator, class _Sentinel>
52 __partition_impl(_BidirectionalIterator __first, _Sentinel __sentinel, _Predicate __pred, in __partition_impl()
78 template <class _AlgPolicy, class _ForwardIterator, class _Sentinel, class _Predicate, class _IterC…
81 … _ForwardIterator __first, _Sentinel __last, _Predicate&& __pred, _IterCategory __iter_category) { in __partition()
82 return std::__partition_impl<__remove_cvref_t<_Predicate>&, _AlgPolicy>( in __partition()
86 template <class _ForwardIterator, class _Predicate>
89 partition(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) in partition()
H A Dranges_count_if.h48 indirect_unary_predicate<projected<_Iter, _Proj>> _Predicate>
50 …iter_difference_t<_Iter> operator()(_Iter __first, _Sent __last, _Predicate __pred, _Proj __proj =… in operator()
55 indirect_unary_predicate<projected<iterator_t<_Range>, _Proj>> _Predicate>
57 range_difference_t<_Range> operator()(_Range&& __r, _Predicate __pred, _Proj __proj = {}) const { in operator()
H A Dremove_if.h22 template <class _ForwardIterator, class _Predicate>
24 remove_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred) in remove_if()
26 __first = _VSTD::find_if<_ForwardIterator, _Predicate&>(__first, __last, __pred); in remove_if()
H A Dnone_of.h21 template <class _InputIterator, class _Predicate>
23 none_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in none_of()
H A Dany_of.h21 template <class _InputIterator, class _Predicate>
23 any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in any_of()
H A Dall_of.h21 template <class _InputIterator, class _Predicate>
23 all_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in all_of()
H A Dfind_if.h21 template <class _InputIterator, class _Predicate>
23 find_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in find_if()
H A Dfind_if_not.h21 template <class _InputIterator, class _Predicate>
23 find_if_not(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in find_if_not()
H A Dreplace_if.h20 template <class _ForwardIterator, class _Predicate, class _Tp>
23 replace_if(_ForwardIterator __first, _ForwardIterator __last, _Predicate __pred, const _Tp& __new_v… in replace_if()
H A Dcopy_if.h20 template<class _InputIterator, class _OutputIterator, class _Predicate>
24 _OutputIterator __result, _Predicate __pred) in copy_if()
H A Dremove_copy_if.h20 template <class _InputIterator, class _OutputIterator, class _Predicate>
23 remove_copy_if(_InputIterator __first, _InputIterator __last, _OutputIterator __result, _Predicate in remove_copy_if()
H A Dis_partitioned.h20 template <class _InputIterator, class _Predicate>
22 is_partitioned(_InputIterator __first, _InputIterator __last, _Predicate __pred) in is_partitioned()
H A Dcount_if.h22 template <class _InputIterator, class _Predicate>
25 count_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) { in count_if()
H A Dreplace_copy_if.h20 template <class _InputIterator, class _OutputIterator, class _Predicate, class _Tp>
24 _Predicate __pred, const _Tp& __new_value) in replace_copy_if()
H A Dpartition_copy.h23 class _OutputIterator2, class _Predicate>
27 _Predicate __pred) in partition_copy()
/openbsd-src/gnu/gcc/libstdc++-v3/include/bits/
H A Dstl_function.h311 template <class _Predicate>
313 : public unary_function<typename _Predicate::argument_type, bool>
316 _Predicate _M_pred;
319 unary_negate(const _Predicate& __x) : _M_pred(__x) {} in unary_negate()
322 operator()(const typename _Predicate::argument_type& __x) const in operator()
327 template <class _Predicate>
328 inline unary_negate<_Predicate>
329 not1(const _Predicate& __pred) in not1()
330 { return unary_negate<_Predicate>(__pred); } in not1()
333 template <class _Predicate>
[all …]
/openbsd-src/gnu/llvm/libcxx/include/
H A Dcondition_variable140 template <class _Lock, class _Predicate>
142 void wait(_Lock& __lock, _Predicate __pred);
150 template <class _Lock, class _Clock, class _Duration, class _Predicate>
155 _Predicate __pred);
163 template <class _Lock, class _Rep, class _Period, class _Predicate>
168 _Predicate __pred);
209 template <class _Lock, class _Predicate>
212 condition_variable_any::wait(_Lock& __lock, _Predicate __pred)
231 template <class _Lock, class _Clock, class _Duration, class _Predicate>
236 _Predicate __pred)
[all …]
H A D__mutex_base295 template <class _Predicate>
297 void wait(unique_lock<mutex>& __lk, _Predicate __pred);
305 template <class _Clock, class _Duration, class _Predicate>
310 _Predicate __pred);
318 template <class _Rep, class _Period, class _Predicate>
323 _Predicate __pred);
395 template <class _Predicate>
397 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred)
421 template <class _Clock, class _Duration, class _Predicate>
425 _Predicate __pred)
[all …]
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dstl_function.h271 template <class _Predicate>
273 : public unary_function<typename _Predicate::argument_type, bool> {
275 _Predicate _M_pred;
277 explicit unary_negate(const _Predicate& __x) : _M_pred(__x) {} in unary_negate()
278 bool operator()(const typename _Predicate::argument_type& __x) const { in operator()
284 template <class _Predicate>
285 inline unary_negate<_Predicate>
286 not1(const _Predicate& __pred) in not1()
288 return unary_negate<_Predicate>(__pred); in not1()
292 template <class _Predicate>
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/debug/
H A Dfunctions.h218 template<typename _InputIterator, typename _Predicate>
221 _Predicate, std::input_iterator_tag) in __check_sorted_aux() argument
226 template<typename _ForwardIterator, typename _Predicate>
229 _Predicate __pred, std::forward_iterator_tag) in __check_sorted_aux()
253 template<typename _InputIterator, typename _Predicate>
256 _Predicate __pred) in __check_sorted()
H A Dsafe_sequence.h110 template<typename _Predicate>
112 _M_invalidate_if(_Predicate __pred);
123 template<typename _Predicate>
126 _M_invalidate_if(_Predicate __pred) in _M_invalidate_if()
/openbsd-src/gnu/llvm/libcxx/include/__iterator/
H A Derase_if_container.h21 template <class _Container, class _Predicate>
24 __libcpp_erase_if_container(_Container& __c, _Predicate& __pred) { in __libcpp_erase_if_container()

12