Home
last modified time | relevance | path

Searched refs:subrange (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/libcxx/include/__ranges/
H A Dsubrange.h75 class _LIBCPP_TEMPLATE_VIS subrange : public view_interface<subrange<_Iter, _Sent, _Kind>> {
91 _LIBCPP_HIDE_FROM_ABI subrange()
99 _LIBCPP_HIDE_FROM_ABI constexpr subrange( in subrange() function
108 template <__different_from<subrange> _Range>
115 template <__different_from<subrange> _Range>
120 : subrange(__range, ranges::size(__range)) {} in subrange()
129 template <__different_from<subrange> _Pair>
199 subrange(_Iter, _Sent) -> subrange<_Iter, _Sent>;
202 subrange(_Iter, _Sent, make_unsigned_t<iter_difference_t<_Iter>>) -> subrange<_Iter, _Sent, subrang…
205 subrange(_Range&&)
[all …]
H A Dcounted.h55 __go(_It __it, iter_difference_t<_It> __count) noexcept(noexcept(subrange(__it, __it + __count)))
56 -> decltype(subrange(__it, __it + __count)) {
57 return subrange(__it, __it + __count);
62 noexcept(subrange(counted_iterator(std::move(__it), __count), default_sentinel)))
63 -> decltype(subrange(counted_iterator(std::move(__it), __count), default_sentinel)) {
64 return subrange(counted_iterator(std::move(__it), __count), default_sentinel);
H A Dsplit_view.h55 …using _Cache = __non_propagating_cache<subrange<iterator_t<_View>…
67 _LIBCPP_HIDE_FROM_ABI constexpr subrange<iterator_t<_View>> __find_next(iterator_t<_View> __it) { in __find_next()
68 auto [__begin, __end] = ranges::search(subrange(__it, ranges::end(__base_)), __pattern_); in __find_next()
128 _LIBCPP_NO_UNIQUE_ADDRESS subrange<iterator_t<_View>> __next_ = subrange<iterator_t<_View>>();
136 using value_type = subrange<iterator_t<_View>>;
142 …split_view<_View, _Pattern>& __parent, iterator_t<_View> __current, subrange<iterator_t<_View>> __…
H A Dreverse_view.h134 …__is_sized_reverse_subrange<subrange<reverse_iterator<_Iter>, reverse_iterator<_Iter>, subrange_ki…
141 inline constexpr bool __is_unsized_reverse_subrange<subrange<reverse_iterator<_Iter>, reverse_itera…
151 struct __unwrapped_reverse_subrange<subrange<reverse_iterator<_Iter>, reverse_iterator<_Iter>, _Kin…
152 using type = subrange<_Iter, _Iter, _Kind>;
H A Ddrop_view.h173 inline constexpr bool __is_passthrough_specialization<subrange<_Iter, _Sent, _Kind>> =
174 !subrange<_Iter, _Sent, _Kind>::_StoreSize;
180 inline constexpr bool __is_subrange_specialization_with_store_size<subrange<_Iter, _Sent, _Kind>> =
181 subrange<_Iter, _Sent, _Kind>::_StoreSize;
202 struct __passthrough_type<subrange<_Iter, _Sent, _Kind>> {
203 using type = subrange<_Iter, _Sent, _Kind>;
H A Dtake_view.h220 inline constexpr bool __is_passthrough_specialization<subrange<_Iter, _Sent, _Kind>> = true;
242 requires requires { typename subrange<_Iter>; }
243 struct __passthrough_type<subrange<_Iter, _Sent, _Kind>> {
244 using type = subrange<_Iter>;
H A Dchunk_by_view.h88 reverse_view __reversed{subrange{__first, __current}}; in __find_prev()
151 using value_type = subrange<iterator_t<_View>>;
H A Dlazy_split_view.h217 const auto [__pbegin, __pend] = ranges::subrange{__parent_->__pattern_};
298 auto [__pcur, __pend] = ranges::subrange{__i_.__parent_->__pattern_};
/freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/
H A Dranges_rotate.h40 …_LIBCPP_HIDE_FROM_ABI constexpr static subrange<_Iter> __rotate_fn_impl(_Iter __first, _Iter __mid… in __rotate_fn_impl()
46 …_LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter> operator()(_Iter __first, _Iter __middle, _Sent __… in operator()
H A Dranges_partition.h47 _LIBCPP_HIDE_FROM_ABI static constexpr subrange<__remove_cvref_t<_Iter>>
60 _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
H A Dranges_stable_partition.h49 _LIBCPP_HIDE_FROM_ABI static subrange<__remove_cvref_t<_Iter>>
65 …_LIBCPP_HIDE_FROM_ABI subrange<_Iter> operator()(_Iter __first, _Sent __last, _Pred __pred, _Proj … in operator()
H A Dranges_remove_if.h40 _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
62 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
H A Dranges_search_n.h45 _LIBCPP_HIDE_FROM_ABI static constexpr subrange<_Iter1> __ranges_search_n_impl( in __ranges_search_n_impl()
74 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
H A Dranges_search.h39 _LIBCPP_HIDE_FROM_ABI static constexpr subrange<_Iter1> __ranges_search_impl( in __ranges_search_impl()
80 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter1> operator()( in operator()
H A Dranges_reverse_copy.h46 return (*this)(subrange(std::move(__first), std::move(__last)), std::move(__result)); in operator()
H A Dranges_remove.h40 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
H A Dranges_unique.h50 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
H A Dranges_equal_range.h49 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter>
H A Dranges_find_end.h48 _LIBCPP_NODISCARD_EXT _LIBCPP_HIDE_FROM_ABI constexpr subrange<_Iter1> operator()( in operator()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dranges101 // [range.subrange], sub-ranges
106 class subrange;
109 inline constexpr bool enable_borrowed_range<subrange<I, S, K>> = true;
350 struct tuple_size<ranges::subrange<I, S, K>>
354 struct tuple_element<0, ranges::subrange<I, S, K>> {
359 struct tuple_element<1, ranges::subrange<I, S, K>> {
364 struct tuple_element<0, const ranges::subrange<I, S, K>> {
369 struct tuple_element<1, const ranges::subrange<I, S, K>> {
409 #include <__ranges/subrange.h>
H A Dalgorithm577 constexpr subrange<I>
589 …subrange<I> stable_partition(I first, S last, Pred pred, Proj proj = {}); // since C…
733 …constexpr subrange<I> ranges::remove(I first, S last, const T& value, Proj proj = {}); //…
743 …constexpr subrange<I> ranges::remove_if(I first, S last, Pred pred, Proj proj = {}); //…
802 …constexpr subrange<I> rotate(I first, I middle, S last); //…
862 constexpr subrange<I1>
876 constexpr subrange<I>
907 constexpr subrange<I1>
940 constexpr subrange<I>
994 …constexpr subrange<I> unique(I first, S last, C comp = {}, Proj proj = {}); // …
/freebsd-14.2/contrib/llvm-project/libcxx/include/__fwd/
H A Dget.h85 _LIBCPP_HIDE_FROM_ABI constexpr auto get(const subrange<_Iter, _Sent, _Kind>& __subrange);
89 _LIBCPP_HIDE_FROM_ABI constexpr auto get(subrange<_Iter, _Sent, _Kind>&& __subrange);
H A Dsubrange.h30 class _LIBCPP_TEMPLATE_VIS subrange;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__tuple/
H A Dtuple_like.h42 struct __tuple_like_impl<ranges::subrange<_Ip, _Sp, _Kp> > : true_type {};
/freebsd-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dranges.inc72 // [range.subrange], sub-ranges
73 using std::ranges::subrange;

12