Searched defs:__pred (Results 1 - 13 of 13) sorted by relevance

/external/stlport/stlport/stl/
H A D_list.c139 void _S_remove_if(list<_Tp, _Alloc>& __that, _Predicate __pred) { argument
146 if (__pred(*__first)) __that.erase(__first);
H A D_slist.c134 void _Slist_unique(slist<_Tp, _Alloc>& __that, _BinaryPredicate __pred) { argument
139 if (__pred(*__ite, __STATIC_CAST(_Node*, __ite._M_node->_M_next)->_M_data))
H A D_algo.h68 count_if(_InputIter __first, _InputIter __last, _Predicate __pred) { argument
72 if (__pred(*__first))
115 count_if(_InputIter __first, _InputIter __last, _Predicate __pred, _Size& __n) { argument
118 if (__pred(*__first))
190 replace_if(_ForwardIter __first, _ForwardIter __last, _Predicate __pred, const _Tp& __new_value) { argument
193 if (__pred(*__first))
211 _Predicate __pred, const _Tp& __new_value) {
214 *__result = __pred(*__first) ? __new_value : *__first;
252 remove_copy_if(_InputIter __first, _InputIter __last, _OutputIter __result, _Predicate __pred) { argument
255 if (!__pred(*__firs
209 replace_copy_if(_Iterator __first, _Iterator __last, _OutputIter __result, _Predicate __pred, const _Tp& __new_value) argument
278 remove_if(_ForwardIter __first, _ForwardIter __last, _Predicate __pred) argument
[all...]
H A D_algobase.c160 _Predicate __pred,
165 if (__pred(*__first)) return __first;
168 if (__pred(*__first)) return __first;
171 if (__pred(*__first)) return __first;
174 if (__pred(*__first)) return __first;
180 if (__pred(*__first)) return __first;
183 if (__pred(*__first)) return __first;
186 if (__pred(*__first)) return __first;
204 _Predicate __pred,
206 while (__first != __last && !__pred(*__firs
159 __find_if(_RandomAccessIter __first, _RandomAccessIter __last, _Predicate __pred, const random_access_iterator_tag &) argument
203 __find_if(_InputIter __first, _InputIter __last, _Predicate __pred, const input_iterator_tag &) argument
214 find_if(_InputIter __first, _InputIter __last, _Predicate __pred) argument
227 search(_ForwardIter1 __first1, _ForwardIter1 __last1, _ForwardIter2 __first2, _ForwardIter2 __last2, _BinaryPred __pred) argument
297 __find_first_of_aux2(_InputIter __first1, _InputIter __last1, _ForwardIter __first2, _ForwardIter __last2, _Tp2*, _Predicate __pred, const __true_type& ) argument
[all...]
H A D_function.h154 not1(const _Predicate& __pred) { argument
155 return unary_negate<_Predicate>(__pred);
183 not2(const _Predicate& __pred) { argument
184 return binary_negate<_Predicate>(__pred);
H A D_list.h236 void _S_remove_if(list<_Tp, _Alloc>& __that, _Predicate __pred);
665 void remove_if(_Predicate __pred) argument
666 { _STLP_PRIV _S_remove_if(*this, __pred); }
H A D_slist.h794 void remove_if(_Predicate __pred) { argument
797 if (__pred(__STATIC_CAST(_Node*, __cur->_M_next)->_M_data))
805 void unique(_BinaryPredicate __pred) argument
806 { _STLP_PRIV _Slist_unique(*this, __pred); }
H A D_algo.c155 _Integer __count, const _Tp& __val, _BinaryPred __pred,
168 while ( !__pred(*__lookAhead, __val) ) { // the skip loop...
182 for (__backTrack = __lookAhead; __pred(*--__backTrack, __val); ) {
193 while ( __pred(*__lookAhead, __val) ) {
200 } while (__pred(*--__backTrack, __val));
221 _Integer __count, const _Tp& __val, _BinaryPred __pred,
223 for (; (__first != __last) && !__pred(*__first, __val); ++__first) {}
228 while (__i != __last && __n != 0 && __pred(*__i, __val)) {
235 for (__first = ++__i; (__first != __last) && !__pred(*__first, __val); ++__first) {}
678 _Predicate __pred,
154 __search_n(_RandomAccessIter __first, _RandomAccessIter __last, _Integer __count, const _Tp& __val, _BinaryPred __pred, _Distance*, const random_access_iterator_tag &) argument
220 __search_n(_ForwardIter __first, _ForwardIter __last, _Integer __count, const _Tp& __val, _BinaryPred __pred, _Distance*, const forward_iterator_tag &) argument
676 __partition(_ForwardIter __first, _ForwardIter __last, _Predicate __pred, const forward_iterator_tag &) argument
697 __partition(_BidirectionalIter __first, _BidirectionalIter __last, _Predicate __pred, const bidirectional_iterator_tag &) argument
727 __partition(_BidirectionalIter __first, _BidirectionalIter __last, _Predicate __pred, const random_access_iterator_tag &) argument
738 partition(_ForwardIter __first, _ForwardIter __last, _Predicate __pred) argument
752 __inplace_stable_partition(_ForwardIter __first, _ForwardIter __last, _Predicate __pred, _Distance __len, bool __pred_of_first, bool __pred_of_before_last) argument
768 __stable_partition_adaptive(_ForwardIter __first, _ForwardIter __last, _Predicate __pred, _Distance __len, _Pointer __buffer, _Distance __buffer_size, bool __pred_of_first, bool __pred_of_before_last) argument
810 __stable_partition_aux_aux(_ForwardIter __first, _ForwardIter __last, _Predicate __pred, _Tp*, _Distance*, bool __pred_of_before_last) argument
827 __stable_partition_aux(_ForwardIter __first, _ForwardIter __last, _Predicate __pred, const forward_iterator_tag &) argument
836 __stable_partition_aux(_BidirectIter __first, _BidirectIter __last, _Predicate __pred, const bidirectional_iterator_tag &) argument
856 __stable_partition_aux(_BidirectIter __first, _BidirectIter __last, _Predicate __pred, const random_access_iterator_tag &) argument
866 stable_partition(_ForwardIter __first, _ForwardIter __last, _Predicate __pred) argument
[all...]
/external/stlport/stlport/stl/debug/
H A D_list.h435 void remove_if(_Predicate __pred) { argument
440 if (__pred(*__first)) {
H A D_slist.h551 void remove_if(_Predicate __pred) { argument
556 if (__pred(*__first)) {
565 void unique(_BinaryPredicate __pred) { argument
/external/stlport/stlport/stl/pointers/
H A D_list.h310 void remove_if(_Predicate __pred) argument
311 { _M_impl.remove_if(_STLP_PRIV _UnaryPredWrapper<_StorageType, _Tp, _Predicate>(__pred)); }
H A D_slist.h390 void remove_if(_Predicate __pred) argument
391 { _M_impl.remove_if(_STLP_PRIV _UnaryPredWrapper<_StorageType, _Tp, _Predicate>(__pred)); }
394 void unique(_BinaryPredicate __pred) argument
395 { _M_impl.unique(_STLP_PRIV _BinaryPredWrapper<_StorageType, _Tp, _BinaryPredicate>(__pred)); }
H A D_tools.h440 _UnaryPredWrapper (_UnaryPredicate const& __pred) : _M_pred(__pred) {} argument
454 _BinaryPredWrapper (_BinaryPredicate const& __pred) : _M_pred(__pred) {} argument

Completed in 274 milliseconds