Home
last modified time | relevance | path

Searched refs:__alloc_traits (Results 1 – 14 of 14) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Dallocator_destructor.h23 typedef _LIBCPP_NODEBUG allocator_traits<_Alloc> __alloc_traits; typedef
26 typedef _LIBCPP_NODEBUG typename __alloc_traits::pointer pointer;
27 typedef _LIBCPP_NODEBUG typename __alloc_traits::size_type size_type;
35 …_LIBCPP_HIDE_FROM_ABI void operator()(pointer __p) _NOEXCEPT { __alloc_traits::deallocate(__alloc_… in operator()
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A D__split_buffer58 using __alloc_traits = allocator_traits<__alloc_rr>;
61 using size_type = typename __alloc_traits::size_type;
62 using difference_type = typename __alloc_traits::difference_type;
63 using pointer = typename __alloc_traits::pointer;
64 using const_pointer = typename __alloc_traits::const_pointer;
289 __alloc_traits::construct(__a, std::__to_address(this->__end_), *__first);
314 __alloc_traits::destroy(__alloc(), std::__to_address(__begin_++));
327 __alloc_traits::destroy(__alloc(), std::__to_address(--__end_));
355 __alloc_traits::deallocate(__alloc(), __first_, capacity());
471 __alloc_traits::construct(__alloc(), std::__to_address(__begin_ - 1), __x);
[all …]
H A D__node_handle91 typedef allocator_traits<_Alloc> __alloc_traits;
92 typedef __rebind_pointer_t<typename __alloc_traits::void_pointer, _NodeType> __node_pointer_type;
129 __alloc_ == std::nullopt || __alloc_traits::propagate_on_container_move_assignment::value ||
137 if (__alloc_traits::propagate_on_container_move_assignment::value || __alloc_ == std::nullopt)
153__alloc_traits::propagate_on_container_swap::value || __alloc_traits::is_always_equal::value) {
156 if (__alloc_traits::propagate_on_container_swap::value || __alloc_ == std::nullopt ||
H A Ddeque457 using __alloc_traits = allocator_traits<allocator_type>;
459 using size_type = typename __alloc_traits::size_type;
462 using pointer = typename __alloc_traits::pointer;
2113 __alloc_traits::deallocate(__a, *__i, __block_size);
2261 __alloc_traits::destroy(
2406 __alloc_traits::destroy(__a, std::addressof(*__b));
2413 __alloc_traits::destroy(__a, std::addressof(*__i));
2434 __alloc_traits::destroy(__a, std::addressof(*__b));
2443 __alloc_traits::destroy(__a, std::addressof(*__i));
2464 __alloc_traits::destroy(__a, std::addressof(*__p));
[all …]
H A Dvector395 typedef allocator_traits<allocator_type> __alloc_traits;
398 typedef typename __alloc_traits::size_type size_type;
399 typedef typename __alloc_traits::difference_type difference_type;
400 typedef typename __alloc_traits::pointer pointer;
401 typedef typename __alloc_traits::const_pointer const_pointer;
813 _NOEXCEPT_(__alloc_traits::is_always_equal::value);
948 __alloc_traits::deallocate(__alloc(), this->__begin_, capacity());
1273 _NOEXCEPT_(__alloc_traits::is_always_equal::value) {
1818 typedef allocator_traits<allocator_type> __alloc_traits;
1819 typedef typename __alloc_traits::size_type size_type;
[all …]
H A Dstring719 typedef allocator_traits<allocator_type> __alloc_traits;
720 typedef typename __alloc_traits::size_type size_type;
721 typedef typename __alloc_traits::difference_type difference_type;
724 typedef typename __alloc_traits::pointer pointer;
725 typedef typename __alloc_traits::const_pointer const_pointer;
1182 size_type __m = __alloc_traits::max_size(__alloc());
2054 _NOEXCEPT_(__alloc_traits::is_always_equal::value);
2377 __alloc_traits::deallocate(__alloc(), __old_p, __old_cap + 1);
2553 _NOEXCEPT_(__alloc_traits::is_always_equal::value) {
3267 __alloc_traits::deallocate(__alloc(), __p, __cap + 1);
[all …]
H A Dmap711 typedef allocator_traits<allocator_type> __alloc_traits;
714 typedef typename __alloc_traits::pointer pointer;
745 __alloc_traits::deallocate(__na_, __p, 1);
1001 typedef allocator_traits<allocator_type> __alloc_traits;
1010 typedef typename __alloc_traits::pointer pointer;
1011 typedef typename __alloc_traits::const_pointer const_pointer;
1012 typedef typename __alloc_traits::size_type size_type;
1686 typedef allocator_traits<allocator_type> __alloc_traits;
1695 typedef typename __alloc_traits::pointer pointer;
1696 typedef typename __alloc_traits::const_pointer const_pointer;
[all …]
H A D__hash_table525 typedef allocator_traits<allocator_type> __alloc_traits;
526 typedef typename __alloc_traits::size_type size_type;
531 typedef typename __alloc_traits::pointer pointer;
561 typedef allocator_traits<allocator_type> __alloc_traits;
564 typedef typename __alloc_traits::pointer pointer;
587 __alloc_traits::deallocate(__na_, __p, 1);
639 typedef allocator_traits<allocator_type> __alloc_traits;
648 typedef typename __alloc_traits::pointer pointer;
649 typedef typename __alloc_traits::const_pointer const_pointer;
651 typedef typename __alloc_traits::size_type size_type;
[all …]
H A Dlist475 typedef allocator_traits<allocator_type> __alloc_traits;
476 typedef typename __alloc_traits::size_type size_type;
480 typedef typename __alloc_traits::void_pointer __void_pointer;
485 typedef __rebind_alloc<__alloc_traits, __node_type> __node_allocator;
492 typedef typename __alloc_traits::pointer pointer;
493 typedef typename __alloc_traits::const_pointer const_pointer;
494 typedef typename __alloc_traits::difference_type difference_type;
496 typedef __rebind_alloc<__alloc_traits, __node_base> __node_base_allocator;
538 …_NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable<allocator…
645 …_NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable<allocator…
[all …]
H A Dunordered_map788 typedef allocator_traits<allocator_type> __alloc_traits;
791 typedef typename __alloc_traits::pointer pointer;
825 __alloc_traits::destroy(__na_, std::addressof(__p->__get_value().__get_value().first));
827 __alloc_traits::deallocate(__na_, __p, 1);
1061 typedef allocator_traits<allocator_type> __alloc_traits;
1063 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
1071 typedef typename __alloc_traits::pointer pointer;
1072 typedef typename __alloc_traits::const_pointer const_pointer;
1870 typedef allocator_traits<allocator_type> __alloc_traits;
1879 typedef typename __alloc_traits::pointer pointer;
[all …]
H A D__tree682 typedef allocator_traits<allocator_type> __alloc_traits;
685 typedef typename __alloc_traits::pointer pointer;
703 __alloc_traits::destroy(__na_, _NodeTypes::__get_ptr(__p->__value_));
705 __alloc_traits::deallocate(__na_, __p, 1);
897 typedef allocator_traits<allocator_type> __alloc_traits;
898 …typedef typename __make_tree_node_types<value_type, typename __alloc_traits::void_pointer>::type _…
905 typedef typename __alloc_traits::pointer pointer;
906 typedef typename __alloc_traits::const_pointer const_pointer;
907 typedef typename __alloc_traits::size_type size_type;
908 typedef typename __alloc_traits::difference_type difference_type;
[all …]
H A Dset580 typedef allocator_traits<allocator_type> __alloc_traits;
582 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
1037 typedef allocator_traits<allocator_type> __alloc_traits;
1039 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
1113 __alloc_traits::select_on_container_copy_construction(__s.__tree_.__alloc())) {
/freebsd-14.2/contrib/llvm-project/libcxx/include/__functional/
H A Dfunction.h173 typedef allocator_traits<_Alloc> __alloc_traits;
174 typedef __rebind_alloc<__alloc_traits, __alloc_func> _AA;
185 typedef allocator_traits<_Alloc> __alloc_traits;
281 typedef allocator_traits<_Alloc> __alloc_traits;
282 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
302 typedef allocator_traits<_Alloc> __alloc_traits;
303 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
351 typedef allocator_traits<_Alloc> __alloc_traits;
353 typedef __rebind_alloc<__alloc_traits, _Fun> _FunAlloc;
639 typedef allocator_traits<_Alloc> __alloc_traits;
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/ext/
H A Dhash_map294 typedef std::allocator_traits<allocator_type> __alloc_traits;
298 typedef typename __alloc_traits::pointer pointer;
334 __alloc_traits::deallocate(__na_, __p, 1);
475 typedef std::allocator_traits<allocator_type> __alloc_traits;
478 typedef typename __alloc_traits::pointer pointer;
479 typedef typename __alloc_traits::const_pointer const_pointer;
480 typedef typename __alloc_traits::size_type size_type;
699 typedef std::allocator_traits<allocator_type> __alloc_traits;
702 typedef typename __alloc_traits::pointer pointer;
703 typedef typename __alloc_traits::const_pointer const_pointer;
[all …]