/external/stlport/stlport/stl/ |
D | _algobase.c | 160 _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.c | 155 _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.h | 68 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.h | 154 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.c | 134 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.c | 139 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.h | 794 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.h | 236 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.h | 670 _InputIter find_if(_InputIter __first, _InputIter __last, _Predicate __pred);
|
/external/libcxx/include/ |
D | condition_variable | 133 void wait(_Lock& __lock, _Predicate __pred); 144 _Predicate __pred); 155 _Predicate __pred); 199 condition_variable_any::wait(_Lock& __lock, _Predicate __pred) 201 while (!__pred()) 223 _Predicate __pred) 225 while (!__pred()) 227 return __pred(); 245 _Predicate __pred) 248 _VSTD::move(__pred));
|
D | algorithm | 809 all_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) 812 if (!__pred(*__first)) 822 any_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) 825 if (__pred(*__first)) 835 none_of(_InputIterator __first, _InputIterator __last, _Predicate __pred) 838 if (__pred(*__first)) 873 find_if(_InputIterator __first, _InputIterator __last, _Predicate __pred) 876 if (__pred(*__first)) 886 find_if_not(_InputIterator __first, _InputIterator __last, _Predicate __pred) 889 if (!__pred(*__first)) [all …]
|
D | __mutex_base | 287 void wait(unique_lock<mutex>& __lk, _Predicate __pred); 298 _Predicate __pred); 309 _Predicate __pred); 337 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred) 339 while (!__pred()) 357 _Predicate __pred) 359 while (!__pred()) 362 return __pred(); 393 _Predicate __pred) 396 _VSTD::move(__pred));
|
D | functional | 942 explicit unary_negate(const _Predicate& __pred) 943 : __pred_(__pred) {} 952 not1(const _Predicate& __pred) {return unary_negate<_Predicate>(__pred);} 963 binary_negate(const _Predicate& __pred) : __pred_(__pred) {} 974 not2(const _Predicate& __pred) {return binary_negate<_Predicate>(__pred);}
|
D | forward_list | 741 template <class _Predicate> void remove_if(_Predicate __pred); 1445 forward_list<_Tp, _Alloc>::remove_if(_Predicate __pred) 1450 if (__pred(__i.__ptr_->__next_->__value_)) 1453 for (; __j != __e && __pred(*__j); ++__j)
|
D | list | 1028 template <class _Pred> void remove_if(_Pred __pred); 2058 list<_Tp, _Alloc>::remove_if(_Pred __pred) 2062 if (__pred(*__i)) 2065 for (; __j != __e && __pred(*__j); ++__j)
|
/external/stlport/stlport/stl/pointers/ |
D | _tools.h | 440 _UnaryPredWrapper (_UnaryPredicate const& __pred) : _M_pred(__pred) {} 454 _BinaryPredWrapper (_BinaryPredicate const& __pred) : _M_pred(__pred) {}
|
D | _slist.h | 390 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.h | 310 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.h | 551 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.h | 435 void remove_if(_Predicate __pred) { in remove_if() argument 440 if (__pred(*__first)) { in remove_if()
|