Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/libcxx/include/__algorithm/
H A Dinplace_merge.h91 if (__len1 <= __len2) in __buffered_inplace_merge()
123 if (__len2 == 0) in __inplace_merge()
125 if (__len1 <= __buff_size || __len2 <= __buff_size) in __inplace_merge()
127 (__first, __middle, __last, __comp, __len1, __len2, __buff); in __inplace_merge()
149 if (__len1 < __len2) in __inplace_merge()
151 __len21 = __len2 / 2; in __inplace_merge()
173 difference_type __len22 = __len2 - __len21; // distance(__m2, __last) in __inplace_merge()
186 __len2 = __len22; in __inplace_merge()
195 __len2 = __len21; in __inplace_merge()
209 difference_type __len2 = _VSTD::distance(__middle, __last); in inplace_merge() local
[all …]
H A Dstable_partition.h83 _Distance __len2 = __len / 2; // __len2 >= 2 in __stable_partition() local
84 _VSTD::advance(__m, __len2); in __stable_partition()
89 …ator __first_false = _VSTD::__stable_partition<_PredRef>(__first, __m, __pred, __len2, __p, __fit); in __stable_partition()
95 _Distance __len_half = __len - __len2; in __stable_partition()
209 _Distance __len2 = __len / 2; // __len2 >= 2 in __stable_partition() local
210 _VSTD::advance(__m, __len2); in __stable_partition()
216 _Distance __len_half = __len2; in __stable_partition()
234 __len_half = __len - __len2; in __stable_partition()
H A Dsearch.h69 const _D2 __len2 = __last2 - __first2; in __search() local
70 if (__len2 == 0) in __search()
73 if (__len1 < __len2) in __search()
75 …const _RandomAccessIterator1 __s = __last1 - (__len2 - 1); // Start of pattern match can't go beyo… in __search()
90 return _VSTD::make_pair(__first1, __first1 + __len2); in __search()
H A Dfind_end.h103 typename iterator_traits<_RandomAccessIterator2>::difference_type __len2 = __last2 - __first2; in __find_end() local
104 if (__len2 == 0) in __find_end()
107 if (__len1 < __len2) in __find_end()
109 …const _RandomAccessIterator1 __s = __first1 + (__len2 - 1); // End of pattern match can't go befor… in __find_end()
/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A D__string925 const ptrdiff_t __len2 = __last2 - __first2;
926 if (__len2 == 0)
930 if (__len1 < __len2)
937 // Check whether __first1 still has at least __len2 bytes.
938 if (__len1 < __len2)
942 __first1 = _Traits::find(__first1, __len1 - __len2 + 1, __f2);
951 if (_Traits::compare(__first1, __first2, __len2) == 0)