Home
last modified time | relevance | path

Searched refs:__n2 (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_ends_with.h73 auto __n2 = ranges::distance(__first2, __last2); in __ends_with_fn_impl() local
74 if (__n2 == 0) in __ends_with_fn_impl()
76 if (__n2 > __n1) in __ends_with_fn_impl()
87 __n1 - __n2); in __ends_with_fn_impl()
159 auto __n2 = ranges::size(__range2); local
160 if (__n2 == 0)
162 if (__n2 > __n1)
164 auto __offset = __n1 - __n2;
/freebsd/contrib/llvm-project/libcxx/include/__pstl/internal/
H A Dalgorithm_impl.h
H A Dunseq_backend_simd.h
/freebsd/contrib/llvm-project/libcxx/include/
H A Dstring1616 …e_type __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2 = npos);
1623 …replace(size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2 = npos);
1626 replace(size_type __pos, size_type __n1, const value_type* __s, size_type __n2);
1628 …SINCE_CXX20 basic_string& replace(size_type __pos, size_type __n1, size_type __n2, value_type __c);
1809 … __pos1, size_type __n1, const basic_string& __str, size_type __pos2, size_type __n2 = npos) const;
1816 …compare(size_type __pos1, size_type __n1, const _Tp& __t, size_type __pos2, size_type __n2 = npos)…
1821 compare(size_type __pos1, size_type __n1, const value_type* __s, size_type __n2) const;
3118 size_type __pos, size_type __n1, const value_type* __s, size_type __n2)
3120 _LIBCPP_ASSERT_NON_NULL(__n2 == 0 || __s != nullptr, "string::replace received nullptr");
3126 if (__cap - __sz + __n1 >= __n2) {
[all …]
H A Dstring_view469 …size_type __pos1, size_type __n1, basic_string_view __sv, size_type __pos2, size_type __n2) const {
470 return substr(__pos1, __n1).compare(__sv.substr(__pos2, __n2));
483 compare(size_type __pos1, size_type __n1, const _CharT* __s, size_type __n2) const {
484 return substr(__pos1, __n1).compare(basic_string_view(__s, __n2));
H A Dlist1590 size_type __n2 = __n / 2;
1591 iterator __e1 = std::next(__f1, __n2);
1592 iterator __r = __f1 = __sort(__f1, __e1, __n2, __comp);
1593 iterator __f2 = __e1 = __sort(__e1, __e2, __n - __n2, __comp);
/freebsd/contrib/llvm-project/libcxx/include/__chrono/
H A Dduration.h172 static const intmax_t __n2 = _R2::num / __gcd_n1_n2;
188 static const bool value = (__n1 <= max / __d2) && (__n2 <= max / __d1);
189 typedef ratio<__mul<__n1, __d2, !value>::value, __mul<__n2, __d1, !value>::value> type;