Home
last modified time | relevance | path

Searched refs:iter_difference_t (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dcounted_iterator.h77 using difference_type = iter_difference_t<_Iter>;
83 _LIBCPP_HIDE_FROM_ABI constexpr counted_iterator(_Iter __iter, iter_difference_t<_Iter> __n)
105 …_LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Iter> count() const noexcept { return __count_;…
172 _LIBCPP_HIDE_FROM_ABI constexpr counted_iterator operator+(iter_difference_t<_Iter> __n) const
179 operator+(iter_difference_t<_Iter> __n, const counted_iterator& __x)
185 _LIBCPP_HIDE_FROM_ABI constexpr counted_iterator& operator+=(iter_difference_t<_Iter> __n)
194 _LIBCPP_HIDE_FROM_ABI constexpr counted_iterator operator-(iter_difference_t<_Iter> __n) const
201 _LIBCPP_HIDE_FROM_ABI friend constexpr iter_difference_t<_I2>
206 _LIBCPP_HIDE_FROM_ABI friend constexpr iter_difference_t<_Iter>
211 _LIBCPP_HIDE_FROM_ABI friend constexpr iter_difference_t<_Iter>
[all …]
H A Dadvance.h84 …_LIBCPP_HIDE_FROM_ABI static constexpr void __advance_forward(_Ip& __i, iter_difference_t<_Ip> __n… in __advance_forward()
92 …_LIBCPP_HIDE_FROM_ABI static constexpr void __advance_backward(_Ip& __i, iter_difference_t<_Ip> __… in __advance_backward()
102 _LIBCPP_HIDE_FROM_ABI constexpr void operator()(_Ip& __i, iter_difference_t<_Ip> __n) const { in operator()
152 _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Ip>
153 operator()(_Ip& __i, iter_difference_t<_Ip> __n, _Sp __bound_sentinel) const { in operator()
H A Ddistance.h60 _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Ip> operator()(_Ip __first, _Sp __last) const {
61 iter_difference_t<_Ip> __n = 0;
70 _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Ip> operator()(_Ip&& __first, _Sp __last) const { in operator()
H A Dprev.h53 _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator()(_Ip __x, iter_difference_t<_Ip> __n) const {
59 _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator()(_Ip __x, iter_difference_t<_Ip> __n, _Ip __bound_iter) const {
H A Dnext.h54 _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator()(_Ip __x, iter_difference_t<_Ip> __n) const {
66 _LIBCPP_HIDE_FROM_ABI constexpr _Ip operator()(_Ip __x, iter_difference_t<_Ip> __n, _Sp __bound_sentinel) const {
H A Dconcepts.h92 typename iter_difference_t<_Ip>; variable
93 requires __signed_integer_like<iter_difference_t<_Ip>>;
121 { __s - __i } -> same_as<iter_difference_t<_Ip>>;
122 { __i - __s } -> same_as<iter_difference_t<_Ip>>;
156 requires(_Ip __i, const _Ip __j, const iter_difference_t<_Ip> __n) { in requires()
H A Dmove_iterator.h94 using difference_type = iter_difference_t<_Iter>;
221 friend _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Iter>
227 friend _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Iter>
317 operator+(iter_difference_t<_Iter> __n, const move_iterator<_Iter>& __x)
H A Dprojected.h15 #include <__iterator/incrementable_traits.h> // iter_difference_t
38 using difference_type = iter_difference_t<_It>;
H A Dcommon_iterator.h216 _LIBCPP_HIDE_FROM_ABI friend constexpr iter_difference_t<_I2>
261 using difference_type = iter_difference_t<_Iter>;
289 using difference_type = iter_difference_t<_Iter>;
H A Dincrementable_traits.h66 // Let `RI` be `remove_cvref_t<I>`. The type `iter_difference_t<I>` denotes
70 using iter_difference_t =
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dsubrange.h84 using _Size = conditional_t<_StoreSize, make_unsigned_t<iter_difference_t<_Iter>>, _Empty>;
99 …ble_to_non_slicing<_Iter> auto __iter, _Sent __sent, make_unsigned_t<iter_difference_t<_Iter>> __n) in subrange()
103 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS((__end_ - __begin_) == static_cast<iter_difference_t<_Iter>>(_… in subrange()
124 …P_HIDE_FROM_ABI constexpr subrange(_Range&& __range, make_unsigned_t<iter_difference_t<_Iter>> __n) in subrange()
149 _LIBCPP_HIDE_FROM_ABI constexpr make_unsigned_t<iter_difference_t<_Iter>> size() const in size()
158 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange next(iter_difference_t<_Iter> __n = 1) cons…
166 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange next(iter_difference_t<_Iter> __n = 1) && {
171 …[[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr subrange prev(iter_difference_t<_Iter> __n = 1) const
179 _LIBCPP_HIDE_FROM_ABI constexpr subrange& advance(iter_difference_t<_Iter> __n) { in advance()
200 subrange(_Iter, _Sent, make_unsigned_t<iter_difference_t<_Iter>>) -> subrange<_Iter, _Sent, subrang…
H A Dcounted.h47iter_difference_t<_It> __count) noexcept(noexcept(span(std::to_address(__it), static_cast<size_t>(… in __go()
54 …_LIBCPP_HIDE_FROM_ABI static constexpr auto __go(_It __it, iter_difference_t<_It> __count) noexcep…
60 …_LIBCPP_HIDE_FROM_ABI static constexpr auto __go(_It __it, iter_difference_t<_It> __count) noexcep…
66 template <class _It, convertible_to<iter_difference_t<_It>> _Diff>
H A Diota_view.h72 typename _If< (!integral<_Start> || sizeof(iter_difference_t<_Start>) > sizeof(_Start)),
73 type_identity<iter_difference_t<_Start>>,
285 _LIBCPP_HIDE_FROM_ABI friend constexpr iter_difference_t<_Start>
292 _LIBCPP_HIDE_FROM_ABI friend constexpr iter_difference_t<_Start>
H A Dzip_view.h174 return begin() + iter_difference_t<__iterator<false>>(size()); in requires()
186 return begin() + iter_difference_t<__iterator<true>>(size()); in requires()
315 …ranges::__tuple_for_each([&]<class _Iter>(_Iter& __i) { __i += iter_difference_t<_Iter>(__x); }, _…
322 …ranges::__tuple_for_each([&]<class _Iter>(_Iter& __i) { __i -= iter_difference_t<_Iter>(__x); }, _…
330 …[&]<class _Iter>(_Iter& __i) -> decltype(auto) { return __i[iter_difference_t<_Iter>(__n)]; }, __c…
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_count_if.h37 _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Iter>
39 iter_difference_t<_Iter> __counter(0); in __count_if_impl()
53 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Iter>
H A Dranges_fill_n.h32 operator()(_Iter __first, iter_difference_t<_Iter> __n, const _Type& __value) const { in operator()
H A Dranges_generate_n.h42 operator()(_OutIter __first, iter_difference_t<_OutIter> __n, _Func __gen) const { in operator()
H A Dranges_for_each_n.h43 operator()(_Iter __first, iter_difference_t<_Iter> __count, _Func __func, _Proj __proj = {}) const {
H A Dranges_count.h41 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr iter_difference_t<_Iter>
H A Dranges_sample.h45 operator()(_Iter __first, _Sent __last, _OutIter __out_first, iter_difference_t<_Iter> __n, _Gen&& __gen) const { in operator()
H A Dranges_copy_n.h64 operator()(_Ip __first, iter_difference_t<_Ip> __n, _Op __result) const {
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dranges_uninitialized_algorithms.h76 operator()(_ForwardIterator __first, iter_difference_t<_ForwardIterator> __n) const { in operator()
121 operator()(_ForwardIterator __first, iter_difference_t<_ForwardIterator> __n) const { in operator()
166 operator()(_ForwardIterator __first, iter_difference_t<_ForwardIterator> __n, const _Tp& __x) const {
230 iter_difference_t<_InputIterator> __n,
299 iter_difference_t<_InputIterator> __n, in operator()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dformat100 iter_difference_t<Out> size;
103 format_to_n_result<Out> format_to_n(Out out, iter_difference_t<Out> n,
106 format_to_n_result<Out> format_to_n(Out out, iter_difference_t<Out> n,
109 format_to_n_result<Out> format_to_n(Out out, iter_difference_t<Out> n,
113 format_to_n_result<Out> format_to_n(Out out, iter_difference_t<Out> n,
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dformat_to_n_result.h27 iter_difference_t<_OutIt> size;
H A Dformat_functions.h489 iter_difference_t<_OutIt> __n, in __vformat_to_n()
500 format_to_n(_OutIt __out_it, iter_difference_t<_OutIt> __n, format_string<_Args...> __fmt, _Args&&.… in format_to_n()
507 format_to_n(_OutIt __out_it, iter_difference_t<_OutIt> __n, wformat_string<_Args...> __fmt, _Args&&… in format_to_n()
622 iter_difference_t<_OutIt> __n, in __vformat_to_n()
635 …_OutIt __out_it, iter_difference_t<_OutIt> __n, locale __loc, format_string<_Args...> __fmt, _Args… in format_to_n()
643 …_OutIt __out_it, iter_difference_t<_OutIt> __n, locale __loc, wformat_string<_Args...> __fmt, _Arg… in format_to_n()

12