Home
last modified time | relevance | path

Searched refs:__iterator (Results 1 – 25 of 42) sorted by relevance

12

/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Daliasing_iterator.h31 class __iterator {
50 _LIBCPP_HIDE_FROM_ABI __iterator() = default;
51 _LIBCPP_HIDE_FROM_ABI __iterator(_BaseIter __base) _NOEXCEPT : __base_(__base) {} in __iterator() function
53 _LIBCPP_HIDE_FROM_ABI __iterator& operator++() _NOEXCEPT {
58 _LIBCPP_HIDE_FROM_ABI __iterator operator++(int) _NOEXCEPT {
59 __iterator __tmp(*this);
64 _LIBCPP_HIDE_FROM_ABI __iterator& operator--() _NOEXCEPT {
69 _LIBCPP_HIDE_FROM_ABI __iterator operator--(int) _NOEXCEPT {
70 __iterator __tmp(*this);
75 …_LIBCPP_HIDE_FROM_ABI friend __iterator operator+(__iterator __iter, difference_type __n) _NOEXCEP…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__ranges/
H A Dtransform_view.h75 class __iterator; variable
97 …_LIBCPP_HIDE_FROM_ABI constexpr __iterator<false> begin() { return __iterator<false>{*this, ranges… in begin()
98 _LIBCPP_HIDE_FROM_ABI constexpr __iterator<true> begin() const in begin()
101 return __iterator<true>(*this, ranges::begin(__base_)); in begin()
105 _LIBCPP_HIDE_FROM_ABI constexpr __iterator<false> end() in end()
108 return __iterator<false>(*this, ranges::end(__base_)); in end()
115 _LIBCPP_HIDE_FROM_ABI constexpr __iterator<true> end() const in end()
118 return __iterator<true>(*this, ranges::end(__base_)); in end()
176 class transform_view<_View, _Fn>::__iterator : public __transform_view_iterator_category_base<_View…
184 friend class transform_view<_View, _Fn>::__iterator;
[all …]
H A Delements_view.h68 class __iterator;
91 return __iterator</*_Const=*/false>(ranges::begin(__base_)); in begin()
97 return __iterator</*_Const=*/true>(ranges::begin(__base_)); in begin()
109 return __iterator</*_Const=*/false>{ranges::end(__base_)}; in end()
121 return __iterator</*_Const=*/true>{ranges::end(__base_)}; in end()
166 class elements_view<_View, _Np>::__iterator
169 friend class __iterator;
204 _LIBCPP_HIDE_FROM_ABI __iterator()
208 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(iterator_t<_Base> __current) : __current_(std:…
210 _LIBCPP_HIDE_FROM_ABI constexpr __iterator(__iterator<!_Const> __i)
[all …]
H A Diota_view.h105 struct __iterator : public __iota_iterator_category<_Start> {
122 _LIBCPP_HIDE_FROM_ABI __iterator()
126 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(_Start __value) : __value_(std::move(__value))…
132 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator++() {
139 _LIBCPP_HIDE_FROM_ABI constexpr __iterator operator++(int)
147 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator--()
154 _LIBCPP_HIDE_FROM_ABI constexpr __iterator operator--(int)
162 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator+=(difference_type __n)
177 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator-=(difference_type __n)
198 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(const __iterator& __x, const __iterator& __…
[all …]
H A Drepeat_view.h79 class __iterator;
110 …_LIBCPP_HIDE_FROM_ABI constexpr __iterator begin() const { return __iterator(std::addressof(*__val…
112 _LIBCPP_HIDE_FROM_ABI constexpr __iterator end() const
115 return __iterator(std::addressof(*__value_), __bound_);
138 class repeat_view<_Tp, _Bound>::__iterator {
143 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(const _Tp* __value, _IndexT __bound_sentinel =…
152 _LIBCPP_HIDE_FROM_ABI __iterator() = default;
156 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator++() {
161 _LIBCPP_HIDE_FROM_ABI constexpr __iterator operator++(int) {
167 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator--() {
[all …]
H A Dzip_view.h146 class __iterator; in requires() local
159 return __iterator<false>(ranges::__tuple_transform(ranges::begin, __views_)); in requires()
165 return __iterator<true>(ranges::__tuple_transform(ranges::begin, __views_)); in requires()
174 return begin() + iter_difference_t<__iterator<false>>(size()); in requires()
176 return __iterator<false>(ranges::__tuple_transform(ranges::end, __views_)); in requires()
186 return begin() + iter_difference_t<__iterator<true>>(size()); in requires()
188 return __iterator<true>(ranges::__tuple_transform(ranges::end, __views_)); in requires()
252 class zip_view<_Views...>::__iterator : public __zip_view_iterator_category_base<_Const, _Views...>…
255 _LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(
260 friend class zip_view<_Views...>::__iterator;
[all …]
H A Distream_view.h19 #include <__iterator/default_sentinel.h>
20 #include <__iterator/iterator_traits.h>
43 class __iterator;
51 return __iterator{*this}; in begin()
63 class basic_istream_view<_Val, _CharT, _Traits>::__iterator {
69 _LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(basic_istream_view<_Val, _CharT, _Traits>& __parent) noexcept in __iterator()
72 __iterator(const __iterator&) = delete;
73 _LIBCPP_HIDE_FROM_ABI __iterator(__iterator
42 class __iterator; global() variable
68 _LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator( __iterator() function
[all...]
H A Dfilter_view.h23 #include <__iterator/concepts.h>
24 #include <__iterator/iter_move.h>
25 #include <__iterator/iter_swap.h>
26 #include <__iterator/iterator_traits.h>
67 class __iterator;
88 _LIBCPP_HIDE_FROM_ABI constexpr __iterator begin() { in begin()
104 return __iterator{*this, ranges::end(__base_)}; in end()
129 class filter_view<_View, _Pred>::__iterator : public __filter_iterator_category<_View> {
144 _LIBCPP_HIDE_FROM_ABI __iterator()
148 _LIBCPP_HIDE_FROM_ABI constexpr __iterator(filter_vie
64 class __iterator; global() variable
[all...]
H A Djoin_view.h19 #include <__iterator/concepts.h>
20 #include <__iterator/iter_move.h>
21 #include <__iterator/iter_swap.h>
22 #include <__iterator/iterator_traits.h>
23 #include <__iterator/iterator_with_data.h>
24 #include <__iterator/segmented_iterator.h>
77 struct __iterator;
113 return __iterator<__use_const>{*this, ranges::begin(__base_)};
116 return __iterator<false>{*this};
125 return __iterator<tru
[all...]
H A Dchunk_by_view.h65 class __iterator; variable
113 _LIBCPP_HIDE_FROM_ABI constexpr __iterator begin() { in begin()
127 return __iterator{*this, ranges::end(__base_), ranges::end(__base_)}; in end()
139 class chunk_by_view<_View, _Pred>::__iterator {
146 _LIBCPP_HIDE_FROM_ABI constexpr __iterator( in __iterator() function
156 _LIBCPP_HIDE_FROM_ABI __iterator() = default;
165 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator++() {
173 _LIBCPP_HIDE_FROM_ABI constexpr __iterator operator++(int) {
179 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator--()
187 _LIBCPP_HIDE_FROM_ABI constexpr __iterator operator--(int)
[all …]
H A Dsplit_view.h59 friend struct __iterator;
64 struct __iterator;
99 _LIBCPP_HIDE_FROM_ABI constexpr __iterator begin() { in begin()
108 return __iterator{*this, ranges::end(__base_), {}}; in end()
124 struct split_view<_View, _Pattern>::__iterator {
139 _LIBCPP_HIDE_FROM_ABI __iterator() = default;
141 _LIBCPP_HIDE_FROM_ABI constexpr __iterator(
149 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator++() {
165 _LIBCPP_HIDE_FROM_ABI constexpr __iterator operator++(int) {
171 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(const __iterator& __x, const __iterator& __…
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Diterator683 #include <__iterator/access.h>
684 #include <__iterator/advance.h>
685 #include <__iterator/back_insert_iterator.h>
686 #include <__iterator/distance.h>
687 #include <__iterator/front_insert_iterator.h>
688 #include <__iterator/insert_iterator.h>
689 #include <__iterator/istream_iterator.h>
690 #include <__iterator/istreambuf_iterator.h>
691 #include <__iterator/iterator.h>
692 #include <__iterator/iterator_traits.h>
[all …]
H A Dmodule.modulemap1389 module std_private_iterator_access [system] { header "__iterator/access.h" }
1390 module std_private_iterator_advance [system] { header "__iterator/advance.h" }
1391 module std_private_iterator_aliasing_iterator [system] { header "__iterator/aliasing_iterator…
1392 module std_private_iterator_back_insert_iterator [system] { header "__iterator/back_insert_itera…
1393 module std_private_iterator_bounded_iter [system] { header "__iterator/bounded_iter.h" }
1394 module std_private_iterator_common_iterator [system] { header "__iterator/common_iterator.h…
1396 header "__iterator/concepts.h"
1404 module std_private_iterator_counted_iterator [system] { header "__iterator/counted_iterator.…
1405 module std_private_iterator_cpp17_iterator_concepts [system] { header "__iterator/cpp17_iterator_co…
1406 module std_private_iterator_data [system] { header "__iterator/data.h" }
[all …]
H A Dspan153 #include <__iterator/bounded_iter.h>
154 #include <__iterator/concepts.h>
155 #include <__iterator/iterator_traits.h>
156 #include <__iterator/reverse_iterator.h>
157 #include <__iterator/wrap_iter.h>
184 #include <__iterator/access.h>
185 #include <__iterator/data.h>
186 #include <__iterator/empty.h>
187 #include <__iterator/reverse_access.h>
188 #include <__iterator/size.h>
H A Darray122 #include <__iterator/reverse_iterator.h>
123 #include <__iterator/wrap_iter.h>
145 #include <__iterator/access.h>
146 #include <__iterator/data.h>
147 #include <__iterator/empty.h>
148 #include <__iterator/reverse_access.h>
149 #include <__iterator/size.h>
H A Dstring_view215 #include <__iterator/bounded_iter.h>
216 #include <__iterator/concepts.h>
217 #include <__iterator/iterator_traits.h>
218 #include <__iterator/reverse_iterator.h>
219 #include <__iterator/wrap_iter.h>
244 #include <__iterator/access.h>
245 #include <__iterator/data.h>
246 #include <__iterator/empty.h>
247 #include <__iterator/reverse_access.h>
248 #include <__iterator/size.h>
H A Dlist208 #include <__iterator/distance.h>
209 #include <__iterator/iterator_traits.h>
210 #include <__iterator/move_iterator.h>
211 #include <__iterator/next.h>
212 #include <__iterator/prev.h>
213 #include <__iterator/reverse_iterator.h>
245 #include <__iterator/access.h>
246 #include <__iterator/data.h>
247 #include <__iterator/empty.h>
248 #include <__iterator/reverse_access.h>
[all …]
H A Dforward_list203 #include <__iterator/distance.h>
204 #include <__iterator/iterator_traits.h>
205 #include <__iterator/move_iterator.h>
206 #include <__iterator/next.h>
238 #include <__iterator/access.h>
239 #include <__iterator/data.h>
240 #include <__iterator/empty.h>
241 #include <__iterator/reverse_access.h>
242 #include <__iterator/size.h>
H A Dset522 #include <__iterator/erase_if_container.h>
523 #include <__iterator/iterator_traits.h>
524 #include <__iterator/ranges_iterator_traits.h>
525 #include <__iterator/reverse_iterator.h>
540 #include <__iterator/access.h>
541 #include <__iterator/data.h>
542 #include <__iterator/empty.h>
543 #include <__iterator/reverse_access.h>
544 #include <__iterator/size.h>
/freebsd/lib/libc++/
H A Dlibcxx.imp439 { include: [ "<__iterator/access.h>", "private", "<iterator>", "public" ] },
440 { include: [ "<__iterator/advance.h>", "private", "<iterator>", "public" ] },
441 { include: [ "<__iterator/aliasing_iterator.h>", "private", "<iterator>", "public" ] },
442 { include: [ "<__iterator/back_insert_iterator.h>", "private", "<iterator>", "public" ] },
443 { include: [ "<__iterator/bounded_iter.h>", "private", "<iterator>", "public" ] },
444 { include: [ "<__iterator/common_iterator.h>", "private", "<iterator>", "public" ] },
445 { include: [ "<__iterator/concepts.h>", "private", "<iterator>", "public" ] },
446 { include: [ "<__iterator/counted_iterator.h>", "private", "<iterator>", "public" ] },
447 { include: [ "<__iterator/cpp17_iterator_concepts.h>", "private", "<iterator>", "public" ] },
448 { include: [ "<__iterator/data.h>", "private", "<iterator>", "public" ] },
[all …]
/freebsd/contrib/llvm-project/libcxx/include/__format/
H A Dbuffer.h25 #include <__iterator/back_insert_iterator.h>
26 #include <__iterator/concepts.h>
27 #include <__iterator/incrementable_traits.h>
28 #include <__iterator/iterator_traits.h>
29 #include <__iterator/wrap_iter.h>
521 // __iterator of this container.
532 struct __iterator {
536 _LIBCPP_HIDE_FROM_ABI constexpr explicit __iterator(__retarget_buffer& __buffer)
538 _LIBCPP_HIDE_FROM_ABI constexpr __iterator& operator=(const _CharT& __c) {
542 _LIBCPP_HIDE_FROM_ABI constexpr __iterator
[all...]
H A Dformatter_output.h108 …r (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCharT>::__iterator>) {
147 …r (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_OutCharT>::__iterator>) {
163 …expr (std::same_as<decltype(__out_it), typename __format::__retarget_buffer<_CharT>::__iterator>) { in __fill()
H A Dformat_context.h156 …MPLATE_VIS basic_format_context<typename __format::__retarget_buffer<_CharT>::__iterator, _CharT> {
158 using iterator = typename __format::__retarget_buffer<_CharT>::__iterator;
H A Dformatter_tuple.h108 basic_format_context<typename __format::__retarget_buffer<_CharT>::__iterator, _CharT> __c{ in format()
/freebsd/etc/mtree/
H A DBSD.include.dist55 __iterator

12