Lines Matching refs:__last
234 find(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __valu…
237 return __find_bool_true(__first, static_cast<typename _Cp::size_type>(__last - __first));
238 return __find_bool_false(__first, static_cast<typename _Cp::size_type>(__last - __first));
308 count(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, const _Tp& __val…
311 return __count_bool_true(__first, static_cast<typename _Cp::size_type>(__last - __first));
312 return __count_bool_false(__first, static_cast<typename _Cp::size_type>(__last - __first));
396 fill(__bit_iterator<_Cp, false> __first, __bit_iterator<_Cp, false> __last, bool __value_)
398 _VSTD::fill_n(__first, static_cast<typename _Cp::size_type>(__last - __first), __value_);
405 __copy_aligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last,
412 difference_type __n = __last - __first;
454 __copy_unaligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last,
461 difference_type __n = __last - __first;
533 copy(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_C…
536 return __copy_aligned(__first, __last, __result);
537 return __copy_unaligned(__first, __last, __result);
544 __copy_backward_aligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last,
551 difference_type __n = __last - __first;
555 if (__last.__ctz_ != 0)
557 difference_type __dn = _VSTD::min(static_cast<difference_type>(__last.__ctz_), __n);
559 unsigned __clz = __bits_per_word - __last.__ctz_;
560 …__storage_type __m = (~__storage_type(0) << (__last.__ctz_ - __dn)) & (~__storage_type(0) >> __clz…
561 __storage_type __b = *__last.__seg_ & __m;
566 // __last.__ctz_ = 0
568 // __last.__ctz_ == 0 || __n == 0
573 __last.__seg_ -= __nw;
575 _VSTD::__to_raw_pointer(__last.__seg_),
582 __storage_type __b = *--__last.__seg_ & __m;
593 …opy_backward_unaligned(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last,
600 difference_type __n = __last - __first;
604 if (__last.__ctz_ != 0)
606 difference_type __dn = _VSTD::min(static_cast<difference_type>(__last.__ctz_), __n);
608 unsigned __clz_l = __bits_per_word - __last.__ctz_;
609 …__storage_type __m = (~__storage_type(0) << (__last.__ctz_ - __dn)) & (~__storage_type(0) >> __clz…
610 __storage_type __b = *__last.__seg_ & __m;
617 if (__result.__ctz_ > __last.__ctz_)
618 *__result.__seg_ |= __b << (__result.__ctz_ - __last.__ctz_);
620 *__result.__seg_ |= __b >> (__last.__ctz_ - __result.__ctz_);
632 __last.__ctz_ -= __dn + __ddn;
633 *__result.__seg_ |= __b << (__result.__ctz_ - __last.__ctz_);
635 // __last.__ctz_ = 0
637 // __last.__ctz_ == 0 || __n == 0
644 __storage_type __b = *--__last.__seg_;
654 __storage_type __b = *--__last.__seg_ & __m;
680 copy_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_it…
682 if (__last.__ctz_ == __result.__ctz_)
683 return __copy_backward_aligned(__first, __last, __result);
684 return __copy_backward_unaligned(__first, __last, __result);
692 move(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_iterator<_C…
694 return _VSTD::copy(__first, __last, __result);
702 move_backward(__bit_iterator<_Cp, _IsConst> __first, __bit_iterator<_Cp, _IsConst> __last, __bit_it…
704 return _VSTD::copy_backward(__first, __last, __result);
711 __swap_ranges_aligned(__bit_iterator<__C1, false> __first, __bit_iterator<__C1, false> __last,
718 difference_type __n = __last - __first;
761 __swap_ranges_unaligned(__bit_iterator<__C1, false> __first, __bit_iterator<__C1, false> __last,
768 difference_type __n = __last - __first;
901 …erator<_Cp, false> __first, __bit_iterator<_Cp, false> __middle, __bit_iterator<_Cp, false> __last)
906 difference_type __d2 = __last - __middle;
916 _VSTD::copy(__b.begin(), __b.end(), _VSTD::copy(__middle, __last, __first));
932 _VSTD::copy(__middle, __last, __b.begin());
933 … _VSTD::copy_backward(__b.begin(), __b.end(), _VSTD::copy_backward(__first, __middle, __last));
1229 … __bit_iterator<_Dp, _IC> __last,
1232 … __bit_iterator<_Dp, _IC> __last,
1235 … __bit_iterator<_Dp, _IC> __last,
1238 … __bit_iterator<_Dp, _IC> __last,
1241 … __bit_iterator<_Dp, _IC> __last,
1244 … __bit_iterator<_Dp, _IC> __last,