| /openbsd/src/gnu/gcc/libstdc++-v3/include/bits/ |
| D | stl_algobase.h | 706 mismatch(_InputIterator1 __first1, _InputIterator1 __last1, 715 __glibcxx_requires_valid_range(__first1, __last1); 717 while (__first1 != __last1 && *__first1 == *__first2) 719 ++__first1; 722 return pair<_InputIterator1, _InputIterator2>(__first1, __first2); 742 mismatch(_InputIterator1 __first1, _InputIterator1 __last1, 748 __glibcxx_requires_valid_range(__first1, __last1); 750 while (__first1 != __last1 && __binary_pred(*__first1, *__first2)) 752 ++__first1; 755 return pair<_InputIterator1, _InputIterator2>(__first1, __first2); [all …]
|
| D | list.tcc | 125 iterator __first1 = begin(); in operator =() local 129 for (; __first1 != __last1 && __first2 != __last2; in operator =() 130 ++__first1, ++__first2) in operator =() 131 *__first1 = *__first2; in operator =() 133 erase(__first1, __last1); in operator =() 161 iterator __first1 = begin(); in _M_assign_dispatch() local 163 for (; __first1 != __last1 && __first2 != __last2; in _M_assign_dispatch() 164 ++__first1, ++__first2) in _M_assign_dispatch() 165 *__first1 = *__first2; in _M_assign_dispatch() 167 erase(__first1, __last1); in _M_assign_dispatch() [all …]
|
| D | stl_algo.h | 487 search(_ForwardIterator1 __first1, _ForwardIterator1 __last1, in search() argument 496 __glibcxx_requires_valid_range(__first1, __last1); in search() 499 if (__first1 == __last1 || __first2 == __last2) in search() 500 return __first1; in search() 506 return std::find(__first1, __last1, *__first2); in search() 511 _ForwardIterator1 __current = __first1; in search() 513 while (__first1 != __last1) in search() 515 __first1 = std::find(__first1, __last1, *__first2); in search() 516 if (__first1 == __last1) in search() 520 __current = __first1; in search() [all …]
|
| D | stl_numeric.h | 135 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()
|
| D | stl_uninitialized.h | 321 __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()
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/ |
| D | stl_algobase.h | 608 mismatch(_InputIter1 __first1, _InputIter1 __last1, 619 while (__first1 != __last1 && *__first1 == *__first2) { 620 ++__first1; 623 return pair<_InputIter1, _InputIter2>(__first1, __first2); 642 mismatch(_InputIter1 __first1, _InputIter1 __last1, 650 while (__first1 != __last1 && __binary_pred(*__first1, *__first2)) { 651 ++__first1; 654 return pair<_InputIter1, _InputIter2>(__first1, __first2); 670 equal(_InputIter1 __first1, _InputIter1 __last1, 680 for ( ; __first1 != __last1; ++__first1, ++__first2) [all …]
|
| D | stl_algo.h | 452 search(_ForwardIter1 __first1, _ForwardIter1 __last1, in search() argument 463 if (__first1 == __last1 || __first2 == __last2) in search() 464 return __first1; in search() 470 return find(__first1, __last1, *__first2); in search() 478 _ForwardIter1 __current = __first1; in search() 480 while (__first1 != __last1) { in search() 481 __first1 = find(__first1, __last1, *__first2); in search() 482 if (__first1 == __last1) in search() 486 __current = __first1; in search() 492 return __first1; in search() [all …]
|
| D | list.tcc | 134 iterator __first1 = begin(); in operator =() local 138 while (__first1 != __last1 && __first2 != __last2) in operator =() 139 *__first1++ = *__first2++; in operator =() 141 erase(__first1, __last1); in operator =() 168 iterator __first1 = begin(); in _M_assign_dispatch() local 170 for (; __first1 != __last1 && __first2 != __last2; ++__first1, ++__first2) in _M_assign_dispatch() 171 *__first1 = *__first2; in _M_assign_dispatch() 173 erase(__first1, __last1); in _M_assign_dispatch() 223 iterator __first1 = begin(); in merge() local 227 while (__first1 != __last1 && __first2 != __last2) in merge() [all …]
|
| D | stl_numeric.h | 94 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, in inner_product() argument 101 for ( ; __first1 != __last1; ++__first1, ++__first2) in inner_product() 102 __init = __init + (*__first1 * *__first2); in inner_product() 109 inner_product(_InputIterator1 __first1, _InputIterator1 __last1, in inner_product() argument 118 for ( ; __first1 != __last1; ++__first1, ++__first2) in inner_product() 119 __init = __binary_op1(__init, __binary_op2(*__first1, *__first2)); in inner_product()
|
| D | stl_uninitialized.h | 229 __uninitialized_copy_copy(_InputIter1 __first1, _InputIter1 __last1, in __uninitialized_copy_copy() argument 233 _ForwardIter __mid = uninitialized_copy(__first1, __last1, __result); in __uninitialized_copy_copy() 269 __uninitialized_copy_fill(_InputIter __first1, _InputIter __last1, in __uninitialized_copy_fill() argument 273 _ForwardIter __mid2 = uninitialized_copy(__first1, __last1, __first2); in __uninitialized_copy_fill()
|
| /openbsd/src/gnu/gcc/libstdc++-v3/include/ext/ |
| D | algorithm | 136 __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; 164 const int __result = std::memcmp(__first1, __first2, min(__len1, __len2)); 170 __lexicographical_compare_3way(const char* __first1, const char* __last1, [all …]
|
| /openbsd/src/gnu/llvm/libcxx/include/ |
| D | __bit_reference | 884 swap_ranges(__bit_iterator<__C1, false> __first1, __bit_iterator<__C1, false> __last1, 887 if (__first1.__ctz_ == __first2.__ctz_) 888 return _VSTD::__swap_ranges_aligned(__first1, __last1, __first2); 889 return _VSTD::__swap_ranges_unaligned(__first1, __last1, __first2); 979 __equal_unaligned(__bit_iterator<_Cp, _IC1> __first1, __bit_iterator<_Cp, _IC1> __last1, 986 difference_type __n = __last1 - __first1; 990 if (__first1.__ctz_ != 0) 992 unsigned __clz_f = __bits_per_word - __first1.__ctz_; 995 …__storage_type __m = (~__storage_type(0) << __first1.__ctz_) & (~__storage_type(0) >> (__clz_f - _… 996 __storage_type __b = *__first1.__seg_ & __m; [all …]
|
| D | charconv | 267 __inner_product(_It1 __first1, _It1 __last1, _It2 __first2, _Up __init) 269 for (; __first1 < __last1; ++__first1, ++__first2) 270 __init = __init + *__first1 * *__first2;
|
| /openbsd/src/gnu/lib/libstdc++/libstdc++/include/ext/ |
| D | algorithm | 134 __lexicographical_compare_3way(_InputIter1 __first1, _InputIter1 __last1, 137 while (__first1 != __last1 && __first2 != __last2) { 138 if (*__first1 < *__first2) 140 if (*__first2 < *__first1) 142 ++__first1; 146 return !(__first1 == __last1); 154 __lexicographical_compare_3way(const unsigned char* __first1, 159 const ptrdiff_t __len1 = __last1 - __first1; 161 const int __result = std::memcmp(__first1, __first2, min(__len1, __len2)); 167 __lexicographical_compare_3way(const char* __first1, const char* __last1, [all …]
|