Home
last modified time | relevance | path

Searched refs:__alloc_ (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A D__node_handle99 optional<allocator_type> __alloc_;
103 __alloc_ = std::nullopt;
109 __node_alloc_type __alloc(*__alloc_);
116 : __ptr_(__ptr), __alloc_(__alloc) {}
122 : __ptr_(__other.__ptr_), __alloc_(std::move(__other.__alloc_)) {
124 __other.__alloc_ = std::nullopt;
130 __alloc_ == __other.__alloc_,
138 __alloc_ = std::move(__other.__alloc_);
141 __other.__alloc_ = std::nullopt;
157 __other.__alloc_ == std::nullopt)
[all …]
H A Dfuture698 _Alloc __alloc_;
703 _LIBCPP_HIDE_FROM_ABI explicit __assoc_state_alloc(const _Alloc& __a) : __alloc_(__a) {}
713 _Al __a(__alloc_);
721 _Alloc __alloc_;
726 _LIBCPP_HIDE_FROM_ABI explicit __assoc_state_alloc(const _Alloc& __a) : __alloc_(__a) {}
734 _Al __a(__alloc_);
742 _Alloc __alloc_;
747 _LIBCPP_HIDE_FROM_ABI explicit __assoc_sub_state_alloc(const _Alloc& __a) : __alloc_(__a) {}
755 _Al __a(__alloc_);
/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Dallocation_guard.h54 : __alloc_(std::move(__alloc)), in __allocation_guard()
56 … __ptr_(allocator_traits<_Alloc>::allocate(__alloc_, __n_)) // initialization order is important in __allocation_guard()
63 : __alloc_(std::move(__other.__alloc_)), in __allocation_guard()
74 __alloc_ = std::move(__other.__alloc_);
95 allocator_traits<_Alloc>::deallocate(__alloc_, __ptr_, __n_); in __destroy()
99 _Alloc __alloc_; member
H A Dallocator_destructor.h30 _Alloc& __alloc_;
34 …_LIBCPP_HIDE_FROM_ABI __allocator_destructor(_Alloc& __a, size_type __s) _NOEXCEPT : __alloc_(__a)… in __allocator_destructor()
35 …ROM_ABI void operator()(pointer __p) _NOEXCEPT { __alloc_traits::deallocate(__alloc_, __p, __s_); } in operator()
H A Dshared_ptr.h866 : __alloc_(__alloc), __count_(__count) {
871 : __alloc_(__alloc), __count_(__count) {
914 __allocator_traits_rebind_t<_Alloc, _Tp> __value_alloc(__alloc_);
924 _StorageAlloc __tmp(__alloc_);
925 __alloc_.~_Alloc();
932 _LIBCPP_NO_UNIQUE_ADDRESS _Alloc __alloc_;
965 : __alloc_(__alloc) {
997 __allocator_traits_rebind_t<_Alloc, _Tp> __value_alloc(__alloc_);
1006 _ControlBlockAlloc __tmp(__alloc_);
1007 __alloc_.~_Alloc();
[all …]
H A Duses_allocator_construction.h194 return std::__make_obj_using_allocator<_PairMutable>(__alloc_, __pair); in __uses_allocator_construction_args()
198 return std::__make_obj_using_allocator<_PairMutable>(__alloc_, std::move(__pair)); in __uses_allocator_construction_args()
201 const _Alloc& __alloc_; in __uses_allocator_construction_args() member
H A Duninitialized_algorithms.h527 : __alloc_(__alloc), __first_(__first), __last_(__last) {} in _AllocatorDestroyRangeReverse()
530 …std::__allocator_destroy(__alloc_, std::reverse_iterator<_Iter>(__last_), std::reverse_iterator<_I… in operator()
534 _Alloc& __alloc_;
/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dbuffer.h564 auto __result = std::__allocate_at_least(__alloc_, std::max(__size_hint, 256 / sizeof(_CharT)));
571 allocator_traits<_Alloc>::deallocate(__alloc_, __ptr_, __capacity_);
627 auto __result = std::__allocate_at_least(__alloc_, __capacity);
629 allocator_traits<_Alloc>::deallocate(__alloc_, __result.ptr, __result.count);
636 allocator_traits<_Alloc>::deallocate(__alloc_, __ptr_, __capacity_);
641 _LIBCPP_NO_UNIQUE_ADDRESS _Alloc __alloc_;