Home
last modified time | relevance | path

Searched refs:_ControlBlockAlloc (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dshared_ptr.h187 …using _ControlBlockAlloc = typename __allocator_traits_rebind<_Alloc, __shared_ptr_emplace>::typ… in __on_zero_shared_weak() local
188 using _ControlBlockPointer = typename allocator_traits<_ControlBlockAlloc>::pointer; in __on_zero_shared_weak()
189 _ControlBlockAlloc __tmp(*__get_alloc()); in __on_zero_shared_weak()
191 …allocator_traits<_ControlBlockAlloc>::deallocate(__tmp, pointer_traits<_ControlBlockPointer>::poin… in __on_zero_shared_weak()
916 using _ControlBlockAlloc = __allocator_traits_rebind_t<_Alloc, __bounded_array_control_block>;
917 … using _PointerTraits = pointer_traits<typename allocator_traits<_ControlBlockAlloc>::pointer>;
919 _ControlBlockAlloc __tmp(__alloc_);
921 allocator_traits<_ControlBlockAlloc>::deallocate(__tmp, _PointerTraits::pointer_to(*this), 1);
934 using _ControlBlockAlloc = __allocator_traits_rebind_t<_Alloc, _ControlBlock>;
936 __allocation_guard<_ControlBlockAlloc> __guard(__a, 1);
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Dshared_ptr.h287 …using _ControlBlockAlloc = typename __allocator_traits_rebind<_Alloc, __shared_ptr_emplace>::typ… in __on_zero_shared_weak() local
288 using _ControlBlockPointer = typename allocator_traits<_ControlBlockAlloc>::pointer; in __on_zero_shared_weak()
289 _ControlBlockAlloc __tmp(*__get_alloc()); in __on_zero_shared_weak()
291 …allocator_traits<_ControlBlockAlloc>::deallocate(__tmp, pointer_traits<_ControlBlockPointer>::poin… in __on_zero_shared_weak()