Home
last modified time | relevance | path

Searched refs:__pred (Results 1 – 14 of 14) sorted by relevance

/external/stlport/stlport/stl/
D_algobase.c160 _Predicate __pred, in __find_if() argument
165 if (__pred(*__first)) return __first; in __find_if()
168 if (__pred(*__first)) return __first; in __find_if()
171 if (__pred(*__first)) return __first; in __find_if()
174 if (__pred(*__first)) return __first; in __find_if()
180 if (__pred(*__first)) return __first; in __find_if()
183 if (__pred(*__first)) return __first; in __find_if()
186 if (__pred(*__first)) return __first; in __find_if()
204 _Predicate __pred, in __find_if() argument
206 while (__first != __last && !__pred(*__first)) in __find_if()
[all …]
D_algo.c155 _Integer __count, const _Tp& __val, _BinaryPred __pred, in __search_n() argument
168 while ( !__pred(*__lookAhead, __val) ) { // the skip loop... in __search_n()
182 for (__backTrack = __lookAhead; __pred(*--__backTrack, __val); ) { in __search_n()
193 while ( __pred(*__lookAhead, __val) ) { in __search_n()
200 } while (__pred(*--__backTrack, __val)); in __search_n()
221 _Integer __count, const _Tp& __val, _BinaryPred __pred, in __search_n() argument
223 for (; (__first != __last) && !__pred(*__first, __val); ++__first) {} in __search_n()
228 while (__i != __last && __n != 0 && __pred(*__i, __val)) { in __search_n()
235 for (__first = ++__i; (__first != __last) && !__pred(*__first, __val); ++__first) {} in __search_n()
678 _Predicate __pred, in __partition() argument
[all …]
D_algo.h68 count_if(_InputIter __first, _InputIter __last, _Predicate __pred) { in _STLP_DIFFERENCE_TYPE()
72 if (__pred(*__first)) in _STLP_DIFFERENCE_TYPE()
115 count_if(_InputIter __first, _InputIter __last, _Predicate __pred, _Size& __n) { in count_if() argument
118 if (__pred(*__first)) in count_if()
190 replace_if(_ForwardIter __first, _ForwardIter __last, _Predicate __pred, const _Tp& __new_value) { in replace_if() argument
193 if (__pred(*__first)) in replace_if()
211 _Predicate __pred, const _Tp& __new_value) { in replace_copy_if() argument
214 *__result = __pred(*__first) ? __new_value : *__first; in replace_copy_if()
252 remove_copy_if(_InputIter __first, _InputIter __last, _OutputIter __result, _Predicate __pred) { in remove_copy_if() argument
255 if (!__pred(*__first)) { in remove_copy_if()
[all …]
D_function.h154 not1(const _Predicate& __pred) { in not1() argument
155 return unary_negate<_Predicate>(__pred); in not1()
183 not2(const _Predicate& __pred) { in not2() argument
184 return binary_negate<_Predicate>(__pred); in not2()
D_slist.c134 void _Slist_unique(slist<_Tp, _Alloc>& __that, _BinaryPredicate __pred) { in _Slist_unique() argument
139 if (__pred(*__ite, __STATIC_CAST(_Node*, __ite._M_node->_M_next)->_M_data)) in _Slist_unique()
D_list.c139 void _S_remove_if(list<_Tp, _Alloc>& __that, _Predicate __pred) { in _S_remove_if() argument
146 if (__pred(*__first)) __that.erase(__first); in _S_remove_if()
D_slist.h794 void remove_if(_Predicate __pred) {
797 if (__pred(__STATIC_CAST(_Node*, __cur->_M_next)->_M_data))
805 void unique(_BinaryPredicate __pred)
806 { _STLP_PRIV _Slist_unique(*this, __pred); }
D_list.h236 void _S_remove_if(list<_Tp, _Alloc>& __that, _Predicate __pred);
665 void remove_if(_Predicate __pred)
666 { _STLP_PRIV _S_remove_if(*this, __pred); }
D_algobase.h670 _InputIter find_if(_InputIter __first, _InputIter __last, _Predicate __pred);
/external/stlport/stlport/stl/pointers/
D_tools.h437 _UnaryPredWrapper (_UnaryPredicate const& __pred) : _M_pred(__pred) {}
451 _BinaryPredWrapper (_BinaryPredicate const& __pred) : _M_pred(__pred) {}
D_slist.h390 void remove_if(_Predicate __pred) in remove_if() argument
391 { _M_impl.remove_if(_STLP_PRIV _UnaryPredWrapper<_StorageType, _Tp, _Predicate>(__pred)); } in remove_if()
394 void unique(_BinaryPredicate __pred) in unique() argument
395 { _M_impl.unique(_STLP_PRIV _BinaryPredWrapper<_StorageType, _Tp, _BinaryPredicate>(__pred)); } in unique()
D_list.h310 void remove_if(_Predicate __pred) in remove_if() argument
311 { _M_impl.remove_if(_STLP_PRIV _UnaryPredWrapper<_StorageType, _Tp, _Predicate>(__pred)); } in remove_if()
/external/stlport/stlport/stl/debug/
D_slist.h551 void remove_if(_Predicate __pred) { in remove_if() argument
556 if (__pred(*__first)) { in remove_if()
565 void unique(_BinaryPredicate __pred) { in unique() argument
D_list.h435 void remove_if(_Predicate __pred) { in remove_if() argument
440 if (__pred(*__first)) { in remove_if()