Home
last modified time | relevance | path

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

/llvm-project-15.0.7/libcxx/include/__algorithm/
H A Dinplace_merge.h92 typename iterator_traits<_BidirectionalIterator>::difference_type __len2, in __buffered_inplace_merge() argument
97 if (__len1 <= __len2) in __buffered_inplace_merge()
125 typename iterator_traits<_BidirectionalIterator>::difference_type __len2, in __inplace_merge() argument
134 if (__len2 == 0) in __inplace_merge()
136 if (__len1 <= __buff_size || __len2 <= __buff_size) in __inplace_merge()
160 if (__len1 < __len2) in __inplace_merge()
162 __len21 = __len2 / 2; in __inplace_merge()
184 difference_type __len22 = __len2 - __len21; // distance(__m2, __last) in __inplace_merge()
197 __len2 = __len22; in __inplace_merge()
206 __len2 = __len21; in __inplace_merge()
[all …]
H A Dstable_partition.h85 _Distance __len2 = __len / 2; // __len2 >= 2 in __stable_partition_impl() local
86 _Ops::advance(__m, __len2); in __stable_partition_impl()
91 __first, __m, __pred, __len2, __p, __fit); in __stable_partition_impl()
97 _Distance __len_half = __len - __len2; in __stable_partition_impl()
217 _Distance __len2 = __len / 2; // __len2 >= 2 in __stable_partition_impl() local
218 _Ops::advance(__m, __len2); in __stable_partition_impl()
224 _Distance __len_half = __len2; in __stable_partition_impl()
242 __len_half = __len - __len2; in __stable_partition_impl()
H A Dfind_end.h161 auto __len2 = __last2 - __first2; in __find_end() local
162 if (__len2 == 0) in __find_end()
165 if (__len1 < __len2) in __find_end()
167 const _Iter1 __s = __first1 + _D1(__len2 - 1); // End of pattern match can't go before here in __find_end()
/llvm-project-15.0.7/libcxx/include/__string/
H A Dchar_traits.h721 const ptrdiff_t __len2 = __last2 - __first2;
722 if (__len2 == 0)
726 if (__len1 < __len2)
734 if (__len1 < __len2)
738 __first1 = _Traits::find(__first1, __len1 - __len2 + 1, __f2);
747 if (_Traits::compare(__first1, __first2, __len2) == 0)