Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/libcxx/include/__memory/
H A Dallocator_destructor.h24 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;
37 {__alloc_traits::deallocate(__alloc_, __p, __s_);} in operator()
/openbsd-src/gnu/llvm/libcxx/include/
H A D__split_buffer54 typedef allocator_traits<__alloc_rr> __alloc_traits;
57 typedef typename __alloc_traits::size_type size_type;
58 typedef typename __alloc_traits::difference_type difference_type;
59 typedef typename __alloc_traits::pointer pointer;
60 typedef typename __alloc_traits::const_pointer const_pointer;
91 _NOEXCEPT_((__alloc_traits::propagate_on_container_move_assignment::value &&
93 !__alloc_traits::propagate_on_container_move_assignment::value);
151 _NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value||
220 __alloc_traits::construct(this->__alloc(), _VSTD::__to_address(__tx.__pos_));
237 __alloc_traits::construct(this->__alloc(),
[all …]
H A Ddeque440 using __alloc_traits = allocator_traits<allocator_type>;
442 using size_type = typename __alloc_traits::size_type;
443 using difference_type = typename __alloc_traits::difference_type;
445 using pointer = typename __alloc_traits::pointer;
446 using const_pointer = typename __alloc_traits::const_pointer;
448 using __pointer_allocator = __rebind_alloc<__alloc_traits, pointer>;
449 using __const_pointer_allocator = __rebind_alloc<__alloc_traits, const_pointer>;
464 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
560 __alloc_traits::deallocate(__alloc(), *__i, __block_size);
604 _NOEXCEPT_(__alloc_traits::propagate_on_container_move_assignment::value &&
[all …]
H A D__node_handle93 typedef allocator_traits<_Alloc> __alloc_traits;
94 typedef __rebind_pointer_t<typename __alloc_traits::void_pointer,
151 __alloc_traits::propagate_on_container_move_assignment::value ||
159 if (__alloc_traits::propagate_on_container_move_assignment::value ||
180 __alloc_traits::propagate_on_container_swap::value ||
181 __alloc_traits::is_always_equal::value)
185 if (__alloc_traits::propagate_on_container_swap::value ||
H A Dvector356 typedef allocator_traits<allocator_type> __alloc_traits;
359 typedef typename __alloc_traits::size_type size_type;
360 typedef typename __alloc_traits::difference_type difference_type;
361 typedef typename __alloc_traits::pointer pointer;
362 typedef typename __alloc_traits::const_pointer const_pointer;
372 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
447 __alloc_traits::deallocate(__vec_.__alloc(), __vec_.__begin_, __vec_.capacity());
487 _NOEXCEPT_((__noexcept_move_assign_container<_Allocator, __alloc_traits>::value));
655 _NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value ||
717 _NOEXCEPT_(__alloc_traits::is_always_equal::value);
[all …]
H A Dstring665 typedef allocator_traits<allocator_type> __alloc_traits;
666 typedef typename __alloc_traits::size_type size_type;
667 typedef typename __alloc_traits::difference_type difference_type;
670 typedef typename __alloc_traits::pointer pointer;
671 typedef typename __alloc_traits::const_pointer const_pointer;
681 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
807 auto __allocation = __alloc_traits::allocate(__alloc(), __capacity);
926 if (__alloc_traits::is_always_equal::value || __alloc == __str.__alloc()) {
1023 _NOEXCEPT_((__noexcept_move_assign_container<_Allocator, __alloc_traits>::value)) {
1024 …__move_assign(__str, integral_constant<bool, __alloc_traits::propagate_on_container_move_assignmen…
[all …]
H A Dmap677 typedef allocator_traits<allocator_type> __alloc_traits;
680 typedef typename __alloc_traits::pointer pointer;
713 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().second));
715 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().first));
717 __alloc_traits::deallocate(__na_, __p, 1);
1005 typedef allocator_traits<allocator_type> __alloc_traits;
1007 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
1014 typedef typename __alloc_traits::pointer pointer;
1015 typedef typename __alloc_traits::const_pointer const_pointer;
1016 typedef typename __alloc_traits::size_type size_type;
[all …]
H A D__hash_table746 typedef allocator_traits<allocator_type> __alloc_traits;
747 typedef typename __alloc_traits::size_type size_type;
751 typedef typename __alloc_traits::pointer pointer;
784 __alloc_traits::deallocate(__alloc(), __p, size());
794 typedef allocator_traits<allocator_type> __alloc_traits;
797 typedef typename __alloc_traits::pointer pointer;
821 __alloc_traits::destroy(__na_, _NodeTypes::__get_ptr(__p->__value_));
823 __alloc_traits::deallocate(__na_, __p, 1);
878 typedef allocator_traits<allocator_type> __alloc_traits;
880 __make_hash_node_types<value_type, typename __alloc_traits::void_pointer>::type
[all …]
H A Dlist545 typedef allocator_traits<allocator_type> __alloc_traits;
546 typedef typename __alloc_traits::size_type size_type;
549 typedef typename __alloc_traits::void_pointer __void_pointer;
554 typedef __rebind_alloc<__alloc_traits, __node> __node_allocator;
561 typedef typename __alloc_traits::pointer pointer;
562 typedef typename __alloc_traits::const_pointer const_pointer;
563 typedef typename __alloc_traits::difference_type difference_type;
565 typedef __rebind_alloc<__alloc_traits, __node_base> __node_base_allocator;
639 _NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value ||
752 _NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value ||
[all …]
H A Dunordered_map756 typedef allocator_traits<allocator_type> __alloc_traits;
760 typedef typename __alloc_traits::pointer pointer;
803 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().second));
805 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.__get_value().first));
807 __alloc_traits::deallocate(__na_, __p, 1);
1059 typedef allocator_traits<allocator_type> __alloc_traits;
1061 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
1068 typedef typename __alloc_traits::pointer pointer;
1069 typedef typename __alloc_traits::const_pointer const_pointer;
1950 typedef allocator_traits<allocator_type> __alloc_traits;
[all …]
H A D__tree787 typedef allocator_traits<allocator_type> __alloc_traits;
790 typedef typename __alloc_traits::pointer pointer;
813 __alloc_traits::destroy(__na_, _NodeTypes::__get_ptr(__p->__value_));
815 __alloc_traits::deallocate(__na_, __p, 1);
1007 typedef allocator_traits<allocator_type> __alloc_traits;
1009 typename __alloc_traits::void_pointer>::type
1016 typedef typename __alloc_traits::pointer pointer;
1017 typedef typename __alloc_traits::const_pointer const_pointer;
1018 typedef typename __alloc_traits::size_type size_type;
1019 typedef typename __alloc_traits::difference_type difference_type;
[all …]
H A Dset532 typedef allocator_traits<allocator_type> __alloc_traits;
534 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
1069 typedef allocator_traits<allocator_type> __alloc_traits;
1071 static_assert(is_same<allocator_type, __rebind_alloc<__alloc_traits, value_type> >::value,
1143 __alloc_traits::select_on_container_copy_construction(__s.__tree_.__alloc()))
/openbsd-src/gnu/llvm/libcxx/include/__functional/
H A Dfunction.h192 typedef allocator_traits<_Alloc> __alloc_traits;
193 typedef __rebind_alloc<__alloc_traits, __alloc_func> _AA;
205 typedef allocator_traits<_Alloc> __alloc_traits;
206 typedef __rebind_alloc<__alloc_traits, __alloc_func> _FunAlloc;
318 typedef allocator_traits<_Alloc> __alloc_traits;
319 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
345 typedef allocator_traits<_Alloc> __alloc_traits;
346 typedef __rebind_alloc<__alloc_traits, __func> _Ap;
405 typedef allocator_traits<_Alloc> __alloc_traits;
407 typedef __rebind_alloc<__alloc_traits, _Fun> _FunAlloc;
[all …]
/openbsd-src/gnu/llvm/libcxx/include/ext/
H A Dhash_map313 typedef std::allocator_traits<allocator_type> __alloc_traits;
314 typedef typename __alloc_traits::value_type::__node_value_type value_type;
316 typedef typename __alloc_traits::pointer pointer;
361 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.second));
363 __alloc_traits::destroy(__na_, _VSTD::addressof(__p->__value_.first));
365 __alloc_traits::deallocate(__na_, __p, 1);
500 typedef std::allocator_traits<allocator_type> __alloc_traits;
502 typedef typename __alloc_traits::pointer pointer;
503 typedef typename __alloc_traits::const_pointer const_pointer;
504 typedef typename __alloc_traits::size_type size_type;
[all …]