| /openbsd-src/gnu/llvm/libcxx/include/__compare/ |
| H A D | ordering.h | 55 : __value_(_ValueT(__v)) {} in partial_ordering() 59 : __value_(_ValueT(__v)) {} in partial_ordering() 63 return __value_ != _ValueT(_NCmpResult::__unordered); in __is_ordered() 78 return __v.__is_ordered() && __v.__value_ == 0; 83 return __v.__is_ordered() && __v.__value_ < 0; 88 return __v.__is_ordered() && __v.__value_ <= 0; 93 return __v.__is_ordered() && __v.__value_ > 0; 98 return __v.__is_ordered() && __v.__value_ >= 0; 103 return __v.__is_ordered() && 0 < __v.__value_; 108 return __v.__is_ordered() && 0 <= __v.__value_; [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/__ranges/ |
| H A D | iota_view.h | 109 _Start __value_ = _Start(); 115 constexpr explicit __iterator(_Start __value) : __value_(std::move(__value)) {} 119 return __value_; 124 ++__value_; 140 --__value_; 157 __value_ += static_cast<_Start>(__n); 159 __value_ -= static_cast<_Start>(-__n); 162 __value_ += __n; 173 __value_ -= static_cast<_Start>(__n); 175 __value_ += static_cast<_Start>(-__n); [all …]
|
| H A D | non_propagating_cache.h | 54 optional<__wrapper> __value_ = nullopt; variable 61 : __value_(nullopt) in __non_propagating_cache() 66 : __value_(nullopt) in __non_propagating_cache() 68 __other.__value_.reset(); in __non_propagating_cache() 74 __value_.reset(); 81 __value_.reset(); 82 __other.__value_.reset(); 87 constexpr _Tp& operator*() { return __value_->__t_; } 89 constexpr _Tp const& operator*() const { return __value_->__t_; } 92 constexpr bool __has_value() const { return __value_.has_value(); } in __has_value() [all …]
|
| H A D | single_view.h | 35 __copyable_box<_Tp> __value_; variable 42 constexpr explicit single_view(const _Tp& __t) : __value_(in_place, __t) {} in single_view() 45 constexpr explicit single_view(_Tp&& __t) : __value_(in_place, std::move(__t)) {} in single_view() 51 : __value_{in_place, std::forward<_Args>(__args)...} {} in single_view() 69 constexpr _Tp* data() noexcept { return __value_.operator->(); } in data() 72 constexpr const _Tp* data() const noexcept { return __value_.operator->(); } in data()
|
| H A D | istream_view.h | 49 *__stream_ >> __value_; in begin() 57 _LIBCPP_NO_UNIQUE_ADDRESS _Val __value_ = _Val(); variable 79 *__parent_->__stream_ >> __parent_->__value_; 85 _LIBCPP_HIDE_FROM_ABI _Val& operator*() const { return __parent_->__value_; }
|
| /openbsd-src/gnu/llvm/libcxx/include/__format/ |
| H A D | format_arg.h | 101 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__monostate_); in decltype() 103 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__boolean_); in decltype() 105 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__char_type_); in decltype() 107 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__int_); in decltype() 109 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__long_long_); in decltype() 112 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__i128_); in decltype() 117 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__unsigned_); in decltype() 119 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__unsigned_long_long_); in decltype() 122 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__u128_); in decltype() 127 return _VSTD::invoke(_VSTD::forward<_Visitor>(__vis), __arg.__value_.__float_); in decltype() [all …]
|
| H A D | format_arg_store.h | 208 *__values++ = __arg.__value_; in __create_packed_storage()
|
| /openbsd-src/gnu/llvm/libcxx/include/__iterator/ |
| H A D | istream_iterator.h | 47 _Tp __value_; variable 49 …IBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR istream_iterator() : __in_stream_(nullptr), __value_() {} in istream_iterator() 55 if (!(*__in_stream_ >> __value_)) in istream_iterator() 59 _LIBCPP_INLINE_VISIBILITY const _Tp& operator*() const {return __value_;} 63 if (!(*__in_stream_ >> __value_))
|
| H A D | common_iterator.h | 50 return _VSTD::addressof(__value_); 52 iter_value_t<_Iter> __value_; member 57 return __value_; 59 iter_value_t<_Iter> __value_; member
|
| /openbsd-src/gnu/llvm/libcxx/include/__memory/ |
| H A D | compressed_pair.h | 47 …P_HIDE_FROM_ABI _LIBCPP_CONSTEXPR explicit __compressed_pair_elem(__value_init_tag) : __value_() {} in __compressed_pair_elem() 51 explicit __compressed_pair_elem(_Up&& __u) : __value_(std::forward<_Up>(__u)) {} in __compressed_pair_elem() 57 : __value_(std::forward<_Args>(std::get<_Indices>(__args))...) {} in __compressed_pair_elem() 60 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX14 reference __get() _NOEXCEPT { return __value_;… in __get() 61 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR const_reference __get() const _NOEXCEPT { return __value_;… in __get() 64 _Tp __value_;
|
| H A D | uses_allocator_construction.h | 170 _Type& __value_; in __uses_allocator_construction_args() member 173 return __do_construct(std::forward<_Type>(this->__value_)); in __uses_allocator_construction_args()
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | forward_list | 298 value_type __value_; 353 reference operator*() const {return __get_unsafe_node_pointer()->__value_;} 356 return pointer_traits<pointer>::pointer_to(__get_unsafe_node_pointer()->__value_); 438 reference operator*() const {return __get_unsafe_node_pointer()->__value_;} 441 __get_unsafe_node_pointer()->__value_);} 640 __node_traits::destroy(__a, _VSTD::addressof(__p->__value_)); 785 reference front() {return base::__before_begin()->__next_->__value_;} 787 const_reference front() const {return base::__before_begin()->__next_->__value_;} 923 __node_traits::construct(__a, _VSTD::addressof(__h->__value_)); 945 __node_traits::construct(__a, _VSTD::addressof(__h->__value_)); [all …]
|
| H A D | __tree | 774 __node_value_type __value_; 813 __alloc_traits::destroy(__na_, _NodeTypes::__get_ptr(__p->__value_)); 858 {return __get_np()->__value_;} 860 {return pointer_traits<pointer>::pointer_to(__get_np()->__value_);} 939 {return __get_np()->__value_;} 941 {return pointer_traits<pointer>::pointer_to(__get_np()->__value_);} 1672 __cache.__get()->__value_ = *__first; 1772 __cache.__get()->__value_ = _VSTD::move(__t.remove(__t.begin())->__value_); 1778 __insert_multi(__e, _NodeTypes::__move(__t.remove(__t.begin())->__value_)); 1813 __node_traits::destroy(__na, _NodeTypes::__get_ptr(__nd->__value_)); [all …]
|
| H A D | list | 299 _Tp __value_; 381 return __ptr_->__as_node()->__value_; 388 return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_); 496 return __ptr_->__as_node()->__value_; 503 return pointer_traits<pointer>::pointer_to(__ptr_->__as_node()->__value_); 739 __node_alloc_traits::destroy(__na, _VSTD::addressof(__np->__value_)); 963 return base::__end_.__next_->__as_node()->__value_; 969 return base::__end_.__next_->__as_node()->__value_; 975 return base::__end_.__prev_->__as_node()->__value_; 981 return base::__end_.__prev_->__as_node()->__value_; [all …]
|
| H A D | __hash_table | 111 __node_value_type __value_; 332 return __node_->__upcast()->__value_; 339 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_); 447 return __node_->__upcast()->__value_; 453 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_); 553 return __node_->__upcast()->__value_; 560 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_); 686 return __node_->__upcast()->__value_; 693 return pointer_traits<pointer>::pointer_to(__node_->__upcast()->__value_); 821 __alloc_traits::destroy(__na_, _NodeTypes::__get_ptr(__p->__value_)); [all …]
|
| H A D | __node_handle | 209 return static_cast<_Derived const*>(this)->__ptr_->__value_; 223 __ptr_->__value_.__ref().first; 230 __ptr_->__value_.__ref().second;
|
| H A D | future | 632 _Up __value_; 652 reinterpret_cast<_Rp*>(&__value_)->~_Rp(); 665 ::new ((void*)&__value_) _Rp(_VSTD::forward<_Arg>(__arg)); 678 ::new ((void*)&__value_) _Rp(_VSTD::forward<_Arg>(__arg)); 691 return _VSTD::move(*reinterpret_cast<_Rp*>(&__value_)); 702 return *reinterpret_cast<_Rp*>(&__value_); 712 _Up __value_; 737 __value_ = _VSTD::addressof(__arg); 749 __value_ = _VSTD::addressof(__arg); 762 return *__value_; [all …]
|
| H A D | optional | 403 __raw_type* __value_; 423 : __value_(nullptr) {} 428 : __value_(_VSTD::addressof(__uarg)) 436 _LIBCPP_CONSTEXPR_SINCE_CXX20 void reset() noexcept { __value_ = nullptr; } 440 { return __value_ != nullptr; } 444 { return *__value_; } 448 { return _VSTD::forward<value_type>(*__value_); } 458 __value_ = _VSTD::addressof(__val); 476 *__value_ = _VSTD::forward<_That>(__opt).__get();
|
| H A D | tuple | 295 _Hp __value_; 310 _NOEXCEPT_(is_nothrow_default_constructible<_Hp>::value) : __value_() 317 : __value_() 324 : __value_(allocator_arg_t(), __a) 331 : __value_(__a) 345 : __value_(_VSTD::forward<_Tp>(__t)) 352 : __value_(_VSTD::forward<_Tp>(__t)) 359 : __value_(allocator_arg_t(), __a, _VSTD::forward<_Tp>(__t)) 366 : __value_(_VSTD::forward<_Tp>(__t), __a) 386 …INLINE_VISIBILITY _LIBCPP_CONSTEXPR_SINCE_CXX14 _Hp& get() _NOEXCEPT {return __value_;} [all …]
|
| H A D | map | 713 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().second)); 715 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().first)); 1591 __m.__tree_.remove(__m.begin().__i_)->__value_.__move()); 1623 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__get_value().first), __k); 1625 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__get_value().second)); 1643 return __r->__value_.__get_value().second; 1656 return static_cast<__node_pointer>(__child)->__value_.__get_value().second; 1667 return static_cast<__node_pointer>(__child)->__value_.__get_value().second; 2260 _VSTD::move(__m.__tree_.remove(__m.begin().__i_)->__value_.__move()));
|
| H A D | unordered_map | 803 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().second)); 805 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().first)); 1728 __u.__table_.remove((__i++).__i_)->__value_.__move()); 1825 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__get_value().first), __k); 1827 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.__get_value().second)); 2505 __u.__table_.remove((__i++).__i_)->__value_.__move());
|
| H A D | set | 970 insert(__e, _VSTD::move(__s.__tree_.remove(__s.begin())->__value_)); 1506 insert(__e, _VSTD::move(__s.__tree_.remove(__s.begin())->__value_));
|
| H A D | unordered_set | 1044 __table_.__insert_unique(_VSTD::move(__u.__table_.remove(__i++)->__value_)); 1681 __table_.__insert_multi(_VSTD::move(__u.__table_.remove(__i++)->__value_));
|
| /openbsd-src/gnu/llvm/libcxx/include/ext/ |
| H A D | hash_map | 361 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.second)); 363 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.first)); 671 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.first), __k); 673 __node_traits::construct(__na, _VSTD::addressof(__h->__value_.second));
|