| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | __split_buffer | 49 …t_buffer allocates a contiguous chunk of memory and stores objects in the range [__begin_, __end_). 50 // It has uninitialized memory in the ranges [__first_, __begin_) and [__end_, __end_cap_.first())… 80 pointer __end_; 90 …: __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __default_init_tag())… 93 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {} 96 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {} 117 _LIBCPP_HIDE_FROM_ABI iterator end() _NOEXCEPT { return __end_; } 118 _LIBCPP_HIDE_FROM_ABI const_iterator end() const _NOEXCEPT { return __end_; } 122 _LIBCPP_HIDE_FROM_ABI size_type size() const { return static_cast<size_type>(__end_ - __begin_); } 124 _LIBCPP_HIDE_FROM_ABI bool empty() const { return __end_ == __begin_; } [all …]
|
| H A D | vector | 527 return static_cast<size_type>(this->__end_ - this->__begin_); 532 …SCARD _LIBCPP_HIDE_FROM_ABI bool empty() const _NOEXCEPT { return this->__begin_ == this->__end_; } 552 return *(this->__end_ - 1); 556 return *(this->__end_ - 1); 610 pointer __end_ = nullptr; 617 // Precondition: __begin_ == __end_ == __end_cap() == 0 626 __end_ = __allocation.ptr; 769 : __v_(__v), __pos_(__v.__end_), __new_end_(__v.__end_ + __n) { 776 __v_.__end_ = __pos_; 807 pointer __soon_to_be_end = this->__end_; [all …]
|
| H A D | valarray | 775 value_type* __end_; 779 _LIBCPP_HIDE_FROM_ABI valarray() : __begin_(nullptr), __end_(nullptr) {} 866 _LIBCPP_HIDE_FROM_ABI size_t size() const { return static_cast<size_t>(__end_ - __begin_); } 1273 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1282 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1291 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1300 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1309 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1318 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1327 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) [all …]
|
| H A D | regex | 2274 __owns_one_state<_CharT>* __end_; 2299 __end_(nullptr) {} 2301 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2306 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2315 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2322 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2364 __end_ = nullptr; 2643 swap(__end_, __r.__end_); 2713 __end_ = __start_.get(); 2767 __owns_one_state<_CharT>* __sa = __end_; [all …]
|
| H A D | list | 473 __node_base __end_; 477 …return __node_pointer_traits::__unsafe_link_pointer_cast(const_cast<__node_base&>(__end_).__self()… 497 _LIBCPP_HIDE_FROM_ABI iterator begin() _NOEXCEPT { return iterator(__end_.__next_); } 498 …_LIBCPP_HIDE_FROM_ABI const_iterator begin() const _NOEXCEPT { return const_iterator(__end_.__next… 581 __link_pointer __f = __end_.__next_; 602 swap(__end_, __c.__end_); 604 __end_.__next_ = __end_.__prev_ = __end_as_link(); 606 __end_.__prev_->__next_ = __end_.__next_->__prev_ = __end_as_link(); 608 __c.__end_.__next_ = __c.__end_.__prev_ = __c.__end_as_link(); 610 __c.__end_.__prev_->__next_ = __c.__end_.__next_->__prev_ = __c.__end_as_link(); [all …]
|
| H A D | deque | 481 __end_(__e) {} 483 const pointer __end_; 488 const iterator __end_; 490 …HIDE_FROM_ABI __deque_range(iterator __pos, iterator __e) _NOEXCEPT : __pos_(__pos), __end_(__e) {} 492 explicit _LIBCPP_HIDE_FROM_ABI operator bool() const _NOEXCEPT { return __pos_ != __end_; } 496 _LIBCPP_HIDE_FROM_ABI __deque_range end() const { return __deque_range(__end_, __end_); } 498 if (__pos_.__m_iter_ == __end_.__m_iter_) { 499 return __deque_block_range(__pos_.__ptr_, __end_.__ptr_); 505 if (__pos_.__m_iter_ == __end_.__m_iter_) { 506 __pos_ = __end_; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | __split_buffer | 48 …t_buffer allocates a contiguous chunk of memory and stores objects in the range [__begin_, __end_). 49 // It has uninitialized memory in the ranges [__first_, __begin_) and [__end_, __cap_). That allows 83 pointer __end_; 91 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __cap_(nullptr) {} 94 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __cap_(nullptr), __alloc_(__a) {} 97 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __cap_(nullptr), __alloc_(__a) {} 117 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator end() _NOEXCEPT { return __end_; } 118 …CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_iterator end() const _NOEXCEPT { return __end_; } 123 return static_cast<size_type>(__end_ - __begin_); 126 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI bool empty() const { return __end_ == __begin_… [all …]
|
| H A D | valarray | 790 value_type* __end_; 794 _LIBCPP_HIDE_FROM_ABI valarray() : __begin_(nullptr), __end_(nullptr) {} 907 _LIBCPP_HIDE_FROM_ABI size_t size() const { return static_cast<size_t>(__end_ - __begin_); } 1343 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1352 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1361 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1370 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1379 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1388 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1397 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) [all …]
|
| H A D | regex | 2295 __owns_one_state<_CharT>* __end_; 2320 __end_(nullptr) {} 2322 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2327 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2336 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2343 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2348 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2397 __end_ = nullptr; 2691 swap(__end_, __r.__end_); 2761 __end_ = __start_.get(); [all …]
|
| H A D | list | 517 __node_base __end_; 521 return pointer_traits<__base_pointer>::pointer_to(const_cast<__node_base&>(__end_)); 541 …R_SINCE_CXX26 _LIBCPP_HIDE_FROM_ABI iterator begin() _NOEXCEPT { return iterator(__end_.__next_); } 543 return const_iterator(__end_.__next_); 648 __base_pointer __f = __end_.__next_; 675 swap(__end_, __c.__end_); 677 __end_.__next_ = __end_.__prev_ = __end_as_link(); 679 __end_.__prev_->__next_ = __end_.__next_->__prev_ = __end_as_link(); 681 __c.__end_.__next_ = __c.__end_.__prev_ = __c.__end_as_link(); 683 __c.__end_.__prev_->__next_ = __c.__end_.__next_->__prev_ = __c.__end_as_link(); [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__vector/ |
| H A D | vector.h | 266 __init_with_size(__x.__begin_, __x.__end_, __x.size()); in vector() 271 __init_with_size(__x.__begin_, __x.__end_, __x.size()); in vector() 358 return __make_iter(__add_alignment_assumption(this->__end_)); in end() 361 return __make_iter(__add_alignment_assumption(this->__end_)); in end() 388 return static_cast<size_type>(this->__end_ - this->__begin_); in size() 394 return this->__begin_ == this->__end_; in empty() 434 return *(this->__end_ - 1); in back() 438 return *(this->__end_ - 1); in back() 487 this->__destruct_at_end(this->__end_ - 1); in pop_back() 561 pointer __end_ = nullptr; variable [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/ |
| H A D | bounded_iter.h | 69 __end_(__other.__end_) {} in __bounded_iter() 85 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter() 105 … __current_ != __end_, "__bounded_iter::operator*: Attempt to dereference an iterator at the end"); 111 …__current_ != __end_, "__bounded_iter::operator->: Attempt to dereference an iterator at the end"); 119 …__n < __end_ - __current_, "__bounded_iter::operator[]: Attempt to index an iterator at or past th… 128 … __current_ != __end_, "__bounded_iter::operator++: Attempt to advance an iterator past the end"); 154 …__n <= __end_ - __current_, "__bounded_iter::operator+=: Attempt to advance an iterator past the e… 173 …__n >= __current_ - __end_, "__bounded_iter::operator-=: Attempt to advance an iterator past the e… 221 _Iterator __begin_, __end_; // valid range represented as [begin, end] member
|
| /freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
| H A D | bounded_iter.h | 86 __end_(__other.__end_) {} in __bounded_iter() 103 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter() 123 … __current_ != __end_, "__bounded_iter::operator*: Attempt to dereference an iterator at the end"); 129 …__current_ != __end_, "__bounded_iter::operator->: Attempt to dereference an iterator at the end"); 137 …__n < __end_ - __current_, "__bounded_iter::operator[]: Attempt to index an iterator at or past th… 146 … __current_ != __end_, "__bounded_iter::operator++: Attempt to advance an iterator past the end"); 172 …__n <= __end_ - __current_, "__bounded_iter::operator+=: Attempt to advance an iterator past the e… 193 …__n >= __current_ - __end_, "__bounded_iter::operator-=: Attempt to advance an iterator past the e… 265 _Iterator __begin_, __end_; // valid range represented as [begin, end] member
|
| /freebsd/contrib/llvm-project/libcxx/include/__ranges/ |
| H A D | take_while_view.h | 108 sentinel_t<_Base> __end_ = sentinel_t<_Base>(); variable 117 : __end_(std::move(__end)), __pred_(__pred) {} in __sentinel() 121 : __end_(std::move(__s.__end_)), __pred_(__s.__pred_) {} in __sentinel() 123 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_Base> base() const { return __end_; } in base() 126 return __x == __y.__end_ || !std::invoke(*__y.__pred_, *__x); 133 return __x == __y.__end_ || !std::invoke(*__y.__pred_, *__x);
|
| H A D | subrange.h | 87 _LIBCPP_NO_UNIQUE_ADDRESS _Sent __end_ = _Sent(); variable 97 : __begin_(std::move(__iter)), __end_(std::move(__sent)) {} in subrange() 102 : __begin_(std::move(__iter)), __end_(std::move(__sent)), __size_(__n) { in subrange() 104 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS((__end_ - __begin_) == static_cast<iter_difference_t<_Iter>>(_… in subrange() 131 return _Pair(__begin_, __end_); in _Pair() 146 _LIBCPP_HIDE_FROM_ABI constexpr _Sent end() const { return __end_; } in end() 148 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr bool empty() const { return __begin_ == __end_; } in empty() 156 return std::__to_unsigned_like(__end_ - __begin_); in size() 190 auto __d = __n - ranges::advance(__begin_, __n, __end_); in advance()
|
| H A D | elements_view.h | 339 _LIBCPP_NO_UNIQUE_ADDRESS sentinel_t<_Base> __end_ = sentinel_t<_Base>(); 352 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(sentinel_t<_Base> __end) : __end_(std::move(__… 356 : __end_(std::move(__other.__end_)) {} 358 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_Base> base() const { return __end_; } 363 return __get_current(__x) == __y.__end_; 370 return __get_current(__x) - __y.__end_; 377 return __x.__end_ - __get_current(__y);
|
| H A D | transform_view.h | 345 sentinel_t<_Base> __end_ = sentinel_t<_Base>(); 356 _LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(sentinel_t<_Base> __end) : __end_(__end) {} 363 : __end_(std::move(__i.__end_)) {} 365 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_Base> base() const { return __end_; } 370 return __x.__current_ == __y.__end_; 377 return __x.__current_ - __y.__end_; 384 return __x.__end_ - __y.__current_;
|
| H A D | take_view.h | 167 _LIBCPP_NO_UNIQUE_ADDRESS sentinel_t<_Base> __end_ = sentinel_t<_Base>(); variable 175 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(sentinel_t<_Base> __end) : __end_(std::move(__… in __sentinel() 179 : __end_(std::move(__s.__end_)) {} in __sentinel() 181 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_Base> base() const { return __end_; } in base() 184 return __lhs.count() == 0 || __lhs.base() == __rhs.__end_; 190 return __lhs.count() == 0 || __lhs.base() == __rhs.__end_;
|
| H A D | filter_view.h | 215 sentinel_t<_View> __end_ = sentinel_t<_View>(); 219 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(filter_view& __parent) : __end_(ranges::end(__… 221 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_View> base() const { return __end_; } 224 return __x.__current_ == __y.__end_;
|
| H A D | zip_view.h | 397 tuple<sentinel_t<__maybe_const<_Const, _Views>>...> __end_; 400 : __end_(__end) {} 416 : __end_(std::move(__i.__end_)) {} 422 return ranges::__tuple_any_equals(__iter_current(__x), __y.__end_); 431 const auto __diffs = ranges::__tuple_zip_transform(minus<>(), __iter_current(__x), __y.__end_);
|
| H A D | join_view.h | 161 sentinel_t<_Base> __end_ = sentinel_t<_Base>(); 166 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(_Parent& __parent) : __end_(ranges::end(__pare… 170 : __end_(std::move(__s.__end_)) {} 175 return __x.__get_outer() == __y.__end_;
|
| H A D | split_view.h | 181 _LIBCPP_NO_UNIQUE_ADDRESS sentinel_t<_View> __end_ = sentinel_t<_View>(); 184 return __x.__cur_ == __y.__end_ && !__x.__trailing_empty_; 191 : __end_(ranges::end(__parent.__base_)) {}
|
| H A D | join_with_view.h | 405 _LIBCPP_NO_UNIQUE_ADDRESS sentinel_t<_Base> __end_ = sentinel_t<_Base>(); 407 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(_Parent& __parent) : __end_(ranges::end(__pare… 419 : __end_(std::move(__s.__end_)) {} 425 return __get_outer_of(__x) == __y.__end_;
|
| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | format_parse_context.h | 36 __end_(__fmt.end()), 45 _LIBCPP_HIDE_FROM_ABI constexpr const_iterator end() const noexcept { return __end_; } in end() 88 iterator __end_; variable
|
| /freebsd/contrib/llvm-project/libcxx/include/__memory_resource/ |
| H A D | monotonic_buffer_resource.h | 46 char* __end_; member 72 __initial_.__end_ = static_cast<char*>(__buffer) + __buffer_size; in monotonic_buffer_resource() 88 __initial_.__cur_ = __initial_.__end_; in release()
|