Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/libstdc++/include/bits/
H A Dstl_algobase.h717 while (__first1 != __last1 && *__first1 == *__first2)
719 ++__first1;
750 while (__first1 != __last1 && __binary_pred(*__first1, *__first2))
752 ++__first1;
782 for (; __first1 != __last1; ++__first1, ++__first2)
783 if (!(*__first1 == *__first2))
813 for (; __first1 != __last1; ++__first1, ++__first2)
851 ++__first1, ++__first2)
853 if (*__first1 < *__first2)
855 if (*__first2 < *__first1)
[all …]
H A Dstl_algo.h515 __first1 = std::find(__first1, __last1, *__first2); in search()
531 ++__first1; in search()
582 ++__first1; in search()
600 ++__first1; in search()
616 ++__first1; in search()
902 for ( ; __first1 != __last1; ++__first1, ++__first2) in swap_ranges()
4319 ++__first1; in includes()
4370 ++__first1; in includes()
4550 ++__first1; in set_intersection()
5233 for ( ; __first1 != __last1; ++__first1) in find_first_of()
[all …]
H A Dlist.tcc125 iterator __first1 = begin(); in operator =() local
130 ++__first1, ++__first2) in operator =()
131 *__first1 = *__first2; in operator =()
133 erase(__first1, __last1); in operator =()
164 ++__first1, ++__first2) in _M_assign_dispatch()
165 *__first1 = *__first2; in _M_assign_dispatch()
220 iterator __first1 = begin(); in merge() local
225 if (*__first2 < *__first1) in merge()
232 ++__first1; in merge()
250 iterator __first1 = begin(); in merge() local
[all …]
H A Dstl_numeric.h135 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, in inner_product() argument
141 __glibcxx_requires_valid_range(__first1, __last1); in inner_product()
143 for (; __first1 != __last1; ++__first1, ++__first2) in inner_product()
144 __init = __init + (*__first1 * *__first2); in inner_product()
167 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, in inner_product() argument
175 __glibcxx_requires_valid_range(__first1, __last1); in inner_product()
177 for (; __first1 != __last1; ++__first1, ++__first2) in inner_product()
178 __init = __binary_op1(__init, __binary_op2(*__first1, *__first2)); in inner_product()
H A Dstl_uninitialized.h321 __uninitialized_copy_copy(_InputIterator1 __first1, in __uninitialized_copy_copy() argument
328 _ForwardIterator __mid = std::__uninitialized_copy_a(__first1, __last1, in __uninitialized_copy_copy()
371 __uninitialized_copy_fill(_InputIterator __first1, _InputIterator __last1, in __uninitialized_copy_fill() argument
376 _ForwardIterator __mid2 = std::__uninitialized_copy_a(__first1, __last1, in __uninitialized_copy_fill()
/freebsd-12.1/contrib/libc++/include/
H A Dalgorithm942 ++__first1;
1076 for (; __first1 != __last1; ++__first1)
1169 for (; __first1 != __last1; ++__first1, (void) ++__first2)
1218 for (; __first1 != __last1; ++__first1, (void) ++__first2)
1296 for (; __first1 != __last1; ++__first1, (void) ++__first2)
1302 // __first1 != __last1 && *__first1 != *__first2
1865 for (; __first1 != __last1; ++__first1, (void) ++__first2, ++__result)
4287 ++__first1;
4555 for (; __first1 != __last1; ++__first1, ++__result)
5303 if (__first1 == __last1 || __comp(*__first2, *__first1))
[all …]
H A D__bit_reference865 if (__first1.__ctz_ == __first2.__ctz_)
959 difference_type __n = __last1 - __first1;
963 if (__first1.__ctz_ != 0)
993 ++__first1.__seg_;
994 // __first1.__ctz_ = 0;
996 // __first1.__ctz_ == 0;
1045 if (__first1.__ctz_ != 0)
1054 ++__first1.__seg_;
1055 // __first1.__ctz_ = 0;
1058 // __first1.__ctz_ == 0;
[all …]
H A Dnumeric208 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2, _Tp __in…
210 for (; __first1 != __last1; ++__first1, (void) ++__first2)
211 __init = __init + *__first1 * *__first2;
218 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, _InputIterator2 __first2,
221 for (; __first1 != __last1; ++__first1, (void) ++__first2)
222 __init = __binary_op1(__init, __binary_op2(*__first1, *__first2));
242 transform_reduce(_InputIterator1 __first1, _InputIterator1 __last1,
245 for (; __first1 != __last1; ++__first1, (void) ++__first2)
246 __init = __b1(__init, __b2(*__first1, *__first2));
253 transform_reduce(_InputIterator1 __first1, _InputIterator1 __last1,
[all …]
H A D__string749 __search_substring(const _CharT *__first1, const _CharT *__last1,
755 return __first1;
757 ptrdiff_t __len1 = __last1 - __first1;
764 __len1 = __last1 - __first1;
765 // Check whether __first1 still has at least __len2 bytes.
769 // Find __f2 the first byte matching in __first1.
770 __first1 = _Traits::find(__first1, __len1 - __len2 + 1, __f2);
771 if (__first1 == 0)
779 if (_Traits::compare(__first1, __first2, __len2) == 0)
780 return __first1;
[all …]
H A Dfunctional2844 return make_pair(__first1, __first1); // Everything matches an empty sequence
2852 if (__pred(*__first1, *__first2))
2854 ++__first1;
2857 _ForwardIterator1 __m1 = __first1;
2867 ++__first1;
2886 return make_pair(__first1, __first1);
2887 const _D1 __len1 = __last1 - __first1;
2896 if (__first1 == __s)
2900 ++__first1;
2908 return make_pair(__first1, __first1 + __len2);
[all …]
H A Dcharconv270 __inner_product(_It1 __first1, _It1 __last1, _It2 __first2, _Up __init)
272 for (; __first1 < __last1; ++__first1, ++__first2)
273 __init = __init + *__first1 * *__first2;
H A Dutility258 swap_ranges(_ForwardIterator1 __first1, _ForwardIterator1 __last1, _ForwardIterator2 __first2)
260 for(; __first1 != __last1; ++__first1, (void) ++__first2)
261 swap(*__first1, *__first2);
/freebsd-12.1/contrib/libstdc++/include/ext/
H A Dalgorithm136 __lexicographical_compare_3way(_InputIterator1 __first1,
141 while (__first1 != __last1 && __first2 != __last2)
143 if (*__first1 < *__first2)
145 if (*__first2 < *__first1)
147 ++__first1;
151 return !(__first1 == __last1);
157 __lexicographical_compare_3way(const unsigned char* __first1,
162 const ptrdiff_t __len1 = __last1 - __first1;
174 return __lexicographical_compare_3way((const signed char*) __first1,
202 lexicographical_compare_3way(_InputIterator1 __first1,
[all …]