Home
last modified time | relevance | path

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

/freebsd/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;
129 __alloc_ == std::nullopt || __alloc_traits::propagate_on_container_move_assignment::value ||
130 __alloc_ == __other.__alloc_,
137 if (__alloc_traits::propagate_on_container_move_assignment::value || __alloc_ == std::nullopt)
138 __alloc_ = std::move(__other.__alloc_);
[all …]
H A Dfuture695 _Alloc __alloc_;
700 _LIBCPP_HIDE_FROM_ABI explicit __assoc_state_alloc(const _Alloc& __a) : __alloc_(__a) {}
710 _Al __a(__alloc_);
718 _Alloc __alloc_;
723 _LIBCPP_HIDE_FROM_ABI explicit __assoc_state_alloc(const _Alloc& __a) : __alloc_(__a) {}
731 _Al __a(__alloc_);
739 _Alloc __alloc_;
744 _LIBCPP_HIDE_FROM_ABI explicit __assoc_sub_state_alloc(const _Alloc& __a) : __alloc_(__a) {}
752 _Al __a(__alloc_);
/freebsd/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 __get()
99 _Alloc __alloc_;
107 _Alloc __alloc_; global() member
H A Dallocator_destructor.h30 _Alloc& __alloc_;
34 _LIBCPP_HIDE_FROM_ABI __allocator_destructor(_Alloc& __a, size_type __s) _NOEXCEPT : __alloc_(__a), __s_(__s) {} in __allocator_destructor()
35 _LIBCPP_HIDE_FROM_ABI void operator()(pointer __p) _NOEXCEPT { __alloc_traits::deallocate(__alloc_, __p, __s_); }
H A Dshared_ptr.h886 : __alloc_(__alloc), __count_(__count) {
887 …std::__uninitialized_allocator_fill_n_multidimensional(__alloc_, std::begin(__data_), __count_, __…
891 : __alloc_(__alloc), __count_(__count) {
898 …std::__uninitialized_allocator_value_construct_n_multidimensional(__alloc_, std::begin(__data_), _…
901 …std::__uninitialized_allocator_value_construct_n_multidimensional(__alloc_, std::begin(__data_), _…
930 __allocator_traits_rebind_t<_Alloc, _Tp> __value_alloc(__alloc_);
934 __allocator_traits_rebind_t<_Alloc, _Tp> __value_alloc(__alloc_);
944 _StorageAlloc __tmp(__alloc_);
945 __alloc_.~_Alloc();
952 _LIBCPP_NO_UNIQUE_ADDRESS _Alloc __alloc_;
[all …]
H A Duses_allocator_construction.h188 return std::__make_obj_using_allocator<_PairMutable>(__alloc_, __pair); in __uses_allocator_construction_args()
192 return std::__make_obj_using_allocator<_PairMutable>(__alloc_, std::move(__pair)); in __uses_allocator_construction_args()
195 const _Alloc& __alloc_; in __uses_allocator_construction_args() member
H A Duninitialized_algorithms.h526 : __alloc_(__alloc), __first_(__first), __last_(__last) {} in _AllocatorDestroyRangeReverse()
529 …std::__allocator_destroy(__alloc_, std::reverse_iterator<_Iter>(__last_), std::reverse_iterator<_I… in operator()
533 _Alloc& __alloc_;
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dmemory_resource
/freebsd/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_;