Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/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);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dcondition_variable135 void wait(_Lock& __lock, _Predicate __pred);
146 _Predicate __pred);
157 _Predicate __pred);
201 condition_variable_any::wait(_Lock& __lock, _Predicate __pred)
203 while (!__pred())
225 _Predicate __pred)
227 while (!__pred())
229 return __pred();
247 _Predicate __pred)
250 _VSTD::move(__pred));
D__mutex_base292 void wait(unique_lock<mutex>& __lk, _Predicate __pred);
303 _Predicate __pred);
314 _Predicate __pred);
344 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred)
346 while (!__pred())
364 _Predicate __pred)
366 while (!__pred())
369 return __pred();
400 _Predicate __pred)
403 _VSTD::move(__pred));
Dalgorithm809 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 …]
Dfunctional942 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);}
Dforward_list741 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)
Dlist1028 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)
/ndk/sources/cxx-stl/stlport/stlport/stl/pointers/
D_tools.h440 _UnaryPredWrapper (_UnaryPredicate const& __pred) : _M_pred(__pred) {}
454 _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()
/ndk/sources/cxx-stl/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()
/ndk/sources/cxx-stl/llvm-libc++/patches.android/
D0013-temp-collective-ndk-hackathon-fixes.patch136 condition_variable::wait(unique_lock<mutex>& __lk, _Predicate __pred)
138 _VSTD::move(__pred));