/freebsd/contrib/llvm-project/libcxx/include/ |
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_; 91 …: __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __default_init_tag())… 94 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {} 97 : __first_(nullptr), __begin_(nullptr), __end_(nullptr), __end_cap_(nullptr, __a) {} 127 _LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI iterator end() _NOEXCEPT { return __end_; } 128 …CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI const_iterator end() const _NOEXCEPT { return __end_; } 133 return static_cast<size_type>(__end_ - __begin_); 136 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI bool empty() const { return __end_ == __begin_… [all …]
|
H A D | valarray | 788 value_type* __end_; 792 _LIBCPP_HIDE_FROM_ABI valarray() : __begin_(nullptr), __end_(nullptr) {} 899 _LIBCPP_HIDE_FROM_ABI size_t size() const { return static_cast<size_t>(__end_ - __begin_); } 1335 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1344 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1353 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1362 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1371 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1380 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) 1389 for (_Ip __i = __1d_.__begin_, __e = __1d_.__end_; __i != __e; ++__i, ++__j) [all …]
|
H A D | vector | 635 return static_cast<size_type>(this->__end_ - this->__begin_); 641 return this->__begin_ == this->__end_; 662 return *(this->__end_ - 1); 666 return *(this->__end_ - 1); 767 pointer __end_ = nullptr; 774 // Precondition: __begin_ == __end_ == __end_cap() == 0 783 __end_ = __allocation.ptr; 935 : __v_(__v), __pos_(__v.__end_), __new_end_(__v.__end_ + __n) { 942 __v_.__end_ = __pos_; 983 pointer __soon_to_be_end = this->__end_; [all …]
|
H A D | regex | 2287 __owns_one_state<_CharT>* __end_; 2312 __end_(nullptr) {} 2314 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2319 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2328 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2335 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2340 : __flags_(__f), __marked_count_(0), __loop_count_(0), __open_count_(0), __end_(nullptr) { 2389 __end_ = nullptr; 2683 swap(__end_, __r.__end_); 2753 __end_ = __start_.get(); [all …]
|
H A D | list | 499 __node_base __end_; 503 …return __node_pointer_traits::__unsafe_link_pointer_cast(const_cast<__node_base&>(__end_).__self()… 526 _LIBCPP_HIDE_FROM_ABI iterator begin() _NOEXCEPT { return iterator(__end_.__next_); } 527 …_LIBCPP_HIDE_FROM_ABI const_iterator begin() const _NOEXCEPT { return const_iterator(__end_.__next… 624 __link_pointer __f = __end_.__next_; 651 swap(__end_, __c.__end_); 653 __end_.__next_ = __end_.__prev_ = __end_as_link(); 655 __end_.__prev_->__next_ = __end_.__next_->__prev_ = __end_as_link(); 657 __c.__end_.__next_ = __c.__end_.__prev_ = __c.__end_as_link(); 659 __c.__end_.__prev_->__next_ = __c.__end_.__next_->__prev_ = __c.__end_as_link(); [all …]
|
H A D | deque | 528 __end_(__e) {} 530 const pointer __end_; 535 const iterator __end_; 537 …HIDE_FROM_ABI __deque_range(iterator __pos, iterator __e) _NOEXCEPT : __pos_(__pos), __end_(__e) {} 539 explicit _LIBCPP_HIDE_FROM_ABI operator bool() const _NOEXCEPT { return __pos_ != __end_; } 543 _LIBCPP_HIDE_FROM_ABI __deque_range end() const { return __deque_range(__end_, __end_); } 545 if (__pos_.__m_iter_ == __end_.__m_iter_) { 546 return __deque_block_range(__pos_.__ptr_, __end_.__ptr_); 552 if (__pos_.__m_iter_ == __end_.__m_iter_) { 553 __pos_ = __end_; [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/__iterator/ |
H A D | bounded_iter.h | 74 __end_(__other.__end_) {} in __bounded_iter() 91 : __current_(__current), __begin_(__begin), __end_(__end) { in __bounded_iter() 111 … __current_ != __end_, "__bounded_iter::operator*: Attempt to dereference an iterator at the end"); 117 …__current_ != __end_, "__bounded_iter::operator->: Attempt to dereference an iterator at the end"); 125 …__n < __end_ - __current_, "__bounded_iter::operator[]: Attempt to index an iterator at or past th… 134 … __current_ != __end_, "__bounded_iter::operator++: Attempt to advance an iterator past the end"); 160 …__n <= __end_ - __current_, "__bounded_iter::operator+=: Attempt to advance an iterator past the e… 181 …__n >= __current_ - __end_, "__bounded_iter::operator-=: Attempt to advance an iterator past the e… 255 _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>(); 117 : __end_(std::move(__end)), __pred_(__pred) {} variable 121 : __end_(std::move(__s.__end_)), __pred_(__s.__pred_) {} 123 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_Base> base() const { return __end_; } 126 return __x == __y.__end_ || !std::invoke(*__y.__pred_, *__x); in __sentinel() 133 return __x == __y.__end_ || !std::invoke(*__y.__pred_, *__x);
|
H A D | subrange.h | 86 _LIBCPP_NO_UNIQUE_ADDRESS _Sent __end_ = _Sent(); variable 96 : __begin_(std::move(__iter)), __end_(std::move(__sent)) {} in subrange() 101 : __begin_(std::move(__iter)), __end_(std::move(__sent)), __size_(__n) { in subrange() 103 …_LIBCPP_ASSERT_VALID_ELEMENT_ACCESS((__end_ - __begin_) == static_cast<iter_difference_t<_Iter>>(_… in subrange() 130 return _Pair(__begin_, __end_); in _Pair() 145 _LIBCPP_HIDE_FROM_ABI constexpr _Sent end() const { return __end_; } in end() 147 [[nodiscard]] _LIBCPP_HIDE_FROM_ABI constexpr bool empty() const { return __begin_ == __end_; } in empty() 155 return std::__to_unsigned_like(__end_ - __begin_); in size() 189 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 | 342 sentinel_t<_Base> __end_ = sentinel_t<_Base>(); 353 _LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(sentinel_t<_Base> __end) : __end_(__end) {} 360 : __end_(std::move(__i.__end_)) {} 362 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_Base> base() const { return __end_; } 367 return __x.__current_ == __y.__end_; 374 return __x.__current_ - __y.__end_; 381 return __x.__end_ - __y.__current_;
|
H A D | take_view.h | 168 _LIBCPP_NO_UNIQUE_ADDRESS sentinel_t<_Base> __end_ = sentinel_t<_Base>(); variable 176 …_LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(sentinel_t<_Base> __end) : __end_(std::move(__… in __sentinel() 180 : __end_(std::move(__s.__end_)) {} in __sentinel() 182 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_Base> base() const { return __end_; } in base() 185 return __lhs.count() == 0 || __lhs.base() == __rhs.__end_; 191 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(__parent.__base_)) {} 221 _LIBCPP_HIDE_FROM_ABI constexpr sentinel_t<_View> base() const { return __end_; } 224 return __x.__current_ == __y.__end_;
|
H A D | join_view.h | 160 sentinel_t<_Base> __end_ = sentinel_t<_Base>(); 165 _LIBCPP_HIDE_FROM_ABI constexpr explicit __sentinel(_Parent& __parent) : __end_(ranges::end(__parent.__base_)) {} 169 : __end_(std::move(__s.__end_)) {} 174 return __x.__get_outer() == __y.__end_;
|
H A D | zip_view.h | 430 __tuple_or_pair<sentinel_t<__maybe_const<_Const, _Views>>...> __end_; 434 : __end_(__end) {} 450 : __end_(std::move(__i.__end_)) {} 456 return ranges::__tuple_any_equals(__iter_current(__x), __y.__end_); 465 const auto __diffs = ranges::__tuple_zip_transform(minus<>(), __iter_current(__x), __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_)) {}
|
/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_; } 88 iterator __end_; in check_arg_id() 96 iterator __end_; global() variable
|
/freebsd/contrib/llvm-project/libcxx/include/__memory_resource/ |
H A D | monotonic_buffer_resource.h | 48 char* __end_; member 75 __initial_.__end_ = static_cast<char*>(__buffer) + __buffer_size; in monotonic_buffer_resource() 91 __initial_.__cur_ = __initial_.__end_; in release()
|
/freebsd/contrib/llvm-project/libcxx/src/ |
H A D | memory_resource.cpp | 459 size_t newsize = (__initial_.__start_ != nullptr) ? (__initial_.__end_ - __initial_.__start_) : __initial_.__size_; in do_allocate()
|