• Home
  • Raw
  • Download

Lines Matching refs:__len

1576     _Size __len = static_cast<_Size>(__last - __first);
1577 if (__len < __count)
3361 difference_type __len = _VSTD::distance(__first, __last);
3362 while (__len != 0)
3364 difference_type __l2 = _VSTD::__half_positive(__len);
3370 __len -= __l2 + 1;
3373 __len = __l2;
3383 _Distance __len, _Pair __p, forward_iterator_tag __fit)
3386 // __len >= 1
3387 if (__len == 1)
3389 if (__len == 2)
3399 if (__len <= __p.second)
3434 // __len >= 3
3436 _Distance __len2 = __len / 2; // __len2 >= 2
3448 _Distance __len_half = __len - __len2;
3491 difference_type __len = _VSTD::distance(__first, __last);
3494 if (__len >= __alloc_limit)
3496 __p = _VSTD::get_temporary_buffer<value_type>(__len);
3500 (__first, __last, __pred, __len, __p, forward_iterator_tag());
3506 _Distance __len, _Pair __p, bidirectional_iterator_tag __bit)
3510 // __len >= 2
3511 if (__len == 2)
3516 if (__len == 3)
3529 if (__len <= __p.second)
3566 // __len >= 4
3568 _Distance __len2 = __len / 2; // __len2 >= 2
3593 __len_half = __len - __len2;
3638 // __len >= 2
3639 difference_type __len = _VSTD::distance(__first, __last) + 1;
3642 if (__len >= __alloc_limit)
3644 __p = _VSTD::get_temporary_buffer<value_type>(__len);
3648 (__first, __last, __pred, __len, __p, bidirectional_iterator_tag());
3961 difference_type __len = __last - __first;
3962 switch (__len)
3981 if (__len <= __limit)
3986 // __len > 5
3993 if (__len >= 1000)
3995 __delta = __len/2;
4002 __delta = __len/2;
4226 difference_type __len = _VSTD::distance(__first, __last);
4227 while (__len != 0)
4229 difference_type __l2 = _VSTD::__half_positive(__len);
4235 __len -= __l2 + 1;
4238 __len = __l2;
4270 difference_type __len = _VSTD::distance(__first, __last);
4271 while (__len != 0)
4273 difference_type __l2 = _VSTD::__half_positive(__len);
4277 __len = __l2;
4281 __len -= __l2 + 1;
4314 difference_type __len = _VSTD::distance(__first, __last);
4315 while (__len != 0)
4317 difference_type __l2 = _VSTD::__half_positive(__len);
4323 __len -= __l2 + 1;
4328 __len = __l2;
4539 { // __len >= 1, __len2 >= 2
4690 typename iterator_traits<_RandomAccessIterator>::difference_type __len,
4696 typename iterator_traits<_RandomAccessIterator>::difference_type __len,
4700 switch (__len)
4727 if (__len <= 8)
4732 typename iterator_traits<_RandomAccessIterator>::difference_type __l2 = __len / 2;
4735 … _VSTD::__stable_sort<_Compare>(__m, __last1, __comp, __len - __l2, __first2 + __l2, __len - __l2);
4748 typename iterator_traits<_RandomAccessIterator>::difference_type __len,
4753 switch (__len)
4763 if (__len <= static_cast<difference_type>(__stable_sort_switch<value_type>::value))
4768 typename iterator_traits<_RandomAccessIterator>::difference_type __l2 = __len / 2;
4770 if (__len <= __buff_size)
4776 _VSTD::__stable_sort_move<_Compare>(__m, __last, __comp, __len - __l2, __buff + __l2);
4777 __d.__set(__len, (value_type*)nullptr);
4778 …_VSTD::__merge_move_assign<_Compare>(__buff, __buff + __l2, __buff + __l2, __buff + __len, __first…
4782 // move_iterator<_RandomAccessIterator>(__buff + __len),
4787 _VSTD::__stable_sort<_Compare>(__m, __last, __comp, __len - __l2, __buff, __buff_size);
4788 …_VSTD::__inplace_merge<_Compare>(__first, __m, __last, __comp, __l2, __len - __l2, __buff, __buff_…
4798 difference_type __len = __last - __first;
4801 if (__len > static_cast<difference_type>(__stable_sort_switch<value_type>::value))
4803 __buf = _VSTD::get_temporary_buffer<value_type>(__len);
4807 _VSTD::__stable_sort<_Comp_ref>(__first, __last, __comp, __len, __buf.first, __buf.second);
4825 difference_type __len = __last - __first;
4829 while (__c < __len)
4836 if (__c == __len)
4881 typename iterator_traits<_RandomAccessIterator>::difference_type __len)
4884 if (__len > 1)
4886 __len = (__len - 2) / 2;
4887 _RandomAccessIterator __ptr = __first + __len;
4895 if (__len == 0)
4897 __len = (__len - 1) / 2;
4898 __ptr = __first + __len;
4928 typename iterator_traits<_RandomAccessIterator>::difference_type __len,
4937 if (__len < 2 || (__len - 2) / 2 < __child)
4943 if ((__child + 1) < __len && __comp(*__child_i, *(__child_i + 1))) {
4961 if ((__len - 2) / 2 < __child)
4968 if ((__child + 1) < __len && __comp(*__child_i, *(__child_i + 1))) {
4983 typename iterator_traits<_RandomAccessIterator>::difference_type __len)
4985 if (__len > 1)
4988 _VSTD::__sift_down<_Compare>(__first, __last, __comp, __len - 1, __first);
5080 typename iterator_traits<_RandomAccessIterator>::difference_type __len = __middle - __first;
5086 _VSTD::__sift_down<_Compare>(__first, __middle, __comp, __len, __first);
5124 … typename iterator_traits<_RandomAccessIterator>::difference_type __len = __r - __result_first;
5129 _VSTD::__sift_down<_Compare>(__result_first, __r, __comp, __len, __result_first);
5170 difference_type __len = __last - __first;
5171 switch (__len)
5187 if (__len <= __limit)
5192 // __len > __limit >= 3
5193 _RandomAccessIterator __m = __first + __len/2;