Home
last modified time | relevance | path

Searched refs:__len2 (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dinplace_merge.h101 typename iterator_traits<_BidirectionalIterator>::difference_type __len2, in __buffered_inplace_merge() argument
106 if (__len1 <= __len2) { in __buffered_inplace_merge()
132 typename iterator_traits<_BidirectionalIterator>::difference_type __len2, in __inplace_merge() argument
140 if (__len2 == 0) in __inplace_merge()
142 if (__len1 <= __buff_size || __len2 <= __buff_size) in __inplace_merge()
143 …d::__buffered_inplace_merge<_AlgPolicy>(__first, __middle, __last, __comp, __len1, __len2, __buff); in __inplace_merge()
164 if (__len1 < __len2) { // __len >= 1, __len2 >= 2 in __inplace_merge()
165 __len21 = __len2 / 2; in __inplace_merge()
184 difference_type __len22 = __len2 - __len21; // distance(__m2, __last) in __inplace_merge()
195 __len2 = __len22; in __inplace_merge()
[all …]
H A Dstable_partition.h88 _Distance __len2 = __len / 2; // __len2 >= 2 in __stable_partition_impl()
89 _Ops::advance(__m, __len2); in __stable_partition_impl() local
94 std::__stable_partition_impl<_AlgPolicy, _Predicate&>(__first, __m, __pred, __len2, __p, __fit); in __stable_partition_impl()
100 _Distance __len_half = __len - __len2; in __stable_partition_impl()
210 _Distance __len2 = __len / 2; // __len2 >= 2 in __stable_partition_impl()
211 _Ops::advance(__m, __len2); in __stable_partition_impl()
217 _Distance __len_half = __len2; in __stable_partition_impl()
233 __len_half = __len - __len2; in __stable_partition_impl()
222 _Distance __len2 = __len / 2; // __len2 >= 2 __stable_partition_impl() local
[all...]
H A Dlexicographical_compare_three_way.h50 _Len2 __len2 = __last2 - __first2; variable
51 _Common __min_len = std::min<_Common>(__len1, __len2);
62 return __len1 <=> __len2;
H A Dfind_end.h156 auto __len2 = __last2 - __first2; in __find_end() local
157 if (__len2 == 0) in __find_end()
160 if (__len1 < __len2) in __find_end()
162 const _Iter1 __s = __first1 + _D1(__len2 - 1); // End of pattern match can't go before here in __find_end()
/freebsd/contrib/llvm-project/libcxx/include/__string/
H A Dchar_traits.h370 const ptrdiff_t __len2 = __last2 - __first2;
371 if (__len2 == 0)
375 if (__len1 < __len2)
383 if (__len1 < __len2)
387 __first1 = _Traits::find(__first1, __len1 - __len2 + 1, __f2);
396 if (_Traits::compare(__first1, __first2, __len2) == 0)