Home
last modified time | relevance | path

Searched refs:__last1 (Results 1 – 13 of 13) sorted by relevance

/ndk/sources/cxx-stl/stlport/stlport/stl/
D_algobase.c39 bool lexicographical_compare(_InputIter1 __first1, _InputIter1 __last1, in lexicographical_compare() argument
41 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in lexicographical_compare()
43 for ( ; __first1 != __last1 && __first2 != __last2 in lexicographical_compare()
52 return __first1 == __last1 && __first2 != __last2; in lexicographical_compare()
56 bool lexicographical_compare(_InputIter1 __first1, _InputIter1 __last1, in lexicographical_compare() argument
59 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in lexicographical_compare()
61 for ( ; __first1 != __last1 && __first2 != __last2 in lexicographical_compare()
71 return __first1 == __last1 && __first2 != __last2; in lexicographical_compare()
78 int __lexicographical_compare_3way(_InputIter1 __first1, _InputIter1 __last1, in __lexicographical_compare_3way() argument
80 while (__first1 != __last1 && __first2 != __last2) { in __lexicographical_compare_3way()
[all …]
D_algobase.h523 _InputIter1 __last1, in mismatch() argument
526 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in mismatch()
527 while (__first1 != __last1 && *__first1 == *__first2) { in mismatch()
537 _InputIter1 __last1, in mismatch() argument
541 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in mismatch()
542 while (__first1 != __last1 && __binary_pred(*__first1, *__first2)) { in mismatch()
551 bool equal(_InputIter1 __first1, _InputIter1 __last1, in equal() argument
553 _STLP_FIX_LITERAL_BUG(__first1) _STLP_FIX_LITERAL_BUG(__last1) _STLP_FIX_LITERAL_BUG(__first2) in equal()
554 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in equal()
555 for ( ; __first1 != __last1; ++__first1, ++__first2) in equal()
[all …]
D_algo.c52 _BidirectionalIter1 __last1,
112 _ForwardIter1 search(_ForwardIter1 __first1, _ForwardIter1 __last1, in search() argument
114 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in search()
117 if (__first1 == __last1 || __first2 == __last2) in search()
124 return find(__first1, __last1, *__first2); in search()
129 __first1 = find(__first1, __last1, *__first2); in search()
130 if (__first1 == __last1) in search()
131 return __last1; in search()
135 if (++__current == __last1) in search()
136 return __last1; in search()
[all …]
D_algo.h124 _ForwardIter1 search(_ForwardIter1 __first1, _ForwardIter1 __last1,
136 inline _InputIter find_first_of(_InputIter __first1, _InputIter __last1, in find_first_of() argument
138 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in find_first_of()
140 return _STLP_PRIV __find_first_of(__first1, __last1, __first2, __last2); in find_first_of()
145 find_first_of(_InputIter __first1, _InputIter __last1, in find_first_of() argument
147 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in find_first_of()
149 return _STLP_PRIV __find_first_of(__first1, __last1, __first2, __last2, __comp); in find_first_of()
154 find_end(_ForwardIter1 __first1, _ForwardIter1 __last1,
160 swap_ranges(_ForwardIter1 __first1, _ForwardIter1 __last1, _ForwardIter2 __first2) { in swap_ranges() argument
161 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in swap_ranges()
[all …]
D_list.c110 iterator __last1 = end(); variable
113 while (__first1 != __last1 && __first2 != __last2)
116 erase(__first1, __last1);
118 insert(__last1, __first2, __last2);
172 _Literator __last1 = __that.end(); in _S_merge() local
176 while (__first1 != __last1 && __first2 != __last2) { in _S_merge()
187 _List_global_inst::_Transfer(__last1._M_node, __first2._M_node, __last2._M_node); in _S_merge()
190 while (__first1 != __last1 && __first2 != __last2) { in _S_merge()
D_numeric.h61 _Tp inner_product(_InputIterator1 __first1, _InputIterator1 __last1, in inner_product() argument
63 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in inner_product()
64 for ( ; __first1 != __last1; ++__first1, ++__first2) in inner_product()
72 _Tp inner_product(_InputIterator1 __first1, _InputIterator1 __last1, in inner_product() argument
76 _STLP_DEBUG_CHECK(_STLP_PRIV __check_range(__first1, __last1)) in inner_product()
77 for ( ; __first1 != __last1; ++__first1, ++__first2) in inner_product()
D_string.c74 inline _InputIter __str_find_first_of_aux(_InputIter __first1, _InputIter __last1, in __str_find_first_of_aux() argument
77 { return __find_first_of(__first1, __last1, __first2, __last2); } in __str_find_first_of_aux()
80 inline _InputIter __str_find_first_of_aux(_InputIter __first1, _InputIter __last1, in __str_find_first_of_aux() argument
83 { return __find_first_of(__first1, __last1, __first2, __last2, _STLP_PRIV _Eq_traits<_Traits>()); } in __str_find_first_of_aux()
86 inline _InputIter __str_find_first_of(_InputIter __first1, _InputIter __last1, in __str_find_first_of() argument
95 return __str_find_first_of_aux(__first1, __last1, __first2, __last2, __traits, _STLportTraits()); in __str_find_first_of()
99 inline _InputIter __str_find_first_not_of_aux3(_InputIter __first1, _InputIter __last1, in __str_find_first_not_of_aux3() argument
102 { return __find_first_of_aux2(__first1, __last1, __first2, __last2, __first2, not1(_Identity<bool>(… in __str_find_first_not_of_aux3()
105 inline _InputIter __str_find_first_not_of_aux3(_InputIter __first1, _InputIter __last1, in __str_find_first_not_of_aux3() argument
108 { return _STLP_STD::find_if(__first1, __last1, _STLP_PRIV _Not_within_traits<_Traits>(__first2, __l… in __str_find_first_not_of_aux3()
[all …]
D_list.h578 iterator __last1 = end();
579 for ( ; __first1 != __last1 && __first2 != __last2; ++__first1, ++__first2)
582 erase(__first1, __last1);
584 insert(__last1, __first2, __last2);
589 iterator __last1 = end();
590 for ( ; __first1 != __last1 && __first2 != __last2; ++__first1, ++__first2)
593 erase(__first1, __last1);
595 insert(__last1, __first2, __last2);
D_uninitialized.h373 __uninitialized_copy_copy(_InputIter1 __first1, _InputIter1 __last1, in __uninitialized_copy_copy() argument
376 _ForwardIter __new_result = uninitialized_copy(__first1, __last1, __result); in __uninitialized_copy_copy()
404 __uninitialized_copy_fill(_Iter __first1, _Iter __last1, _Iter __first2, _Iter __last2, in __uninitialized_copy_fill() argument
406 _Iter __mid2 = uninitialized_copy(__first1, __last1, __first2); in __uninitialized_copy_fill()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/include/
Dalgorithm898 __find_end(_ForwardIterator1 __first1, _ForwardIterator1 __last1,
903 _ForwardIterator1 __r = __last1; // __last1 is the "default" answer
910 if (__first1 == __last1) // if source exhausted return last correct answer
911 return __r; // (or __last1 if never found)
927 if (++__m1 == __last1) // Source exhausted, return last answer
940 __find_end(_BidirectionalIterator1 __first1, _BidirectionalIterator1 __last1,
946 return __last1; // Everything matches an empty sequence
947 _BidirectionalIterator1 __l1 = __last1;
955 if (__first1 == __l1) // return __last1 if no element matches *__first2
956 return __last1;
[all …]
Dnumeric92 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp __in…
94 for (; __first1 != __last1; ++__first1, ++__first2)
102 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
105 for (; __first1 != __last1; ++__first1, ++__first2)
D__bit_reference866 swap_ranges(__bit_iterator<__C1, false> __first1, __bit_iterator<__C1, false> __last1,
870 return __swap_ranges_aligned(__first1, __last1, __first2);
871 return __swap_ranges_unaligned(__first1, __last1, __first2);
957 __equal_unaligned(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1,
964 difference_type __n = __last1 - __first1;
1039 __equal_aligned(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1,
1046 difference_type __n = __last1 - __first1;
1083 equal(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1, __bit_iterator<_Cp, _I…
1086 return __equal_aligned(__first1, __last1, __first2);
1087 return __equal_unaligned(__first1, __last1, __first2);
Dutility208 swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2)
210 for(; __first1 != __last1; ++__first1, ++__first2)