Searched refs:__alloc_traits (Results 1 – 14 of 14) sorted by relevance
| /src/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | allocator_destructor.h | 23 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()
|
| /src/contrib/llvm-project/libcxx/include/ |
| H A D | __split_buffer | 59 using __alloc_traits = allocator_traits<__alloc_rr>; 62 using size_type = typename __alloc_traits::size_type; 63 using difference_type = typename __alloc_traits::difference_type; 64 using pointer = typename __alloc_traits::pointer; 65 using const_pointer = typename __alloc_traits::const_pointer; 108 _NOEXCEPT_((__alloc_traits::propagate_on_container_move_assignment::value && 110 !__alloc_traits::propagate_on_container_move_assignment::value); 201 …_NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable_v<__alloc… 259 __alloc_traits::construct(this->__alloc(), std::__to_address(__tx.__pos_)); 274 __alloc_traits::construct(this->__alloc(), std::__to_address(__tx.__pos_), __x); [all …]
|
| H A D | __node_handle | 91 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 D | deque | 479 using __alloc_traits = allocator_traits<allocator_type>; 484 using size_type = typename __alloc_traits::size_type; 485 using difference_type = typename __alloc_traits::difference_type; 487 using pointer = typename __alloc_traits::pointer; 488 using const_pointer = typename __alloc_traits::const_pointer; 490 using __pointer_allocator = __rebind_alloc<__alloc_traits, pointer>; 491 using __const_pointer_allocator = __rebind_alloc<__alloc_traits, const_pointer>; 602 __alloc_traits::deallocate(__alloc(), *__i, __block_size); 661 operator=(deque&& __c) noexcept(__alloc_traits::propagate_on_container_move_assignment::value && 739 …return std::min<size_type>(__alloc_traits::max_size(__alloc()), numeric_limits<difference_type>::m… [all …]
|
| H A D | vector | 397 typedef allocator_traits<allocator_type> __alloc_traits; 400 typedef typename __alloc_traits::size_type size_type; 401 typedef typename __alloc_traits::difference_type difference_type; 402 typedef typename __alloc_traits::pointer pointer; 403 typedef typename __alloc_traits::const_pointer const_pointer; 532 __alloc_traits::deallocate(__vec_.__alloc(), __vec_.__begin_, __vec_.capacity()); 570 _NOEXCEPT_(__noexcept_move_assign_container<_Allocator, __alloc_traits>::value); 760 …_NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable_v<allocat… 880 _NOEXCEPT_(__alloc_traits::is_always_equal::value); 961 …__alloc_traits::construct(this->__alloc(), std::__to_address(__tx.__pos_), std::forward<_Args>(__a… [all …]
|
| H A D | string | 762 typedef allocator_traits<allocator_type> __alloc_traits; 763 typedef typename __alloc_traits::size_type size_type; 764 typedef typename __alloc_traits::difference_type difference_type; 767 typedef typename __alloc_traits::pointer pointer; 768 typedef typename __alloc_traits::const_pointer const_pointer; 935 auto __allocation = __alloc_traits::allocate(__alloc(), __capacity); 1000 …: __r_(__default_init_tag(), __alloc_traits::select_on_container_copy_construction(__str.__alloc()… 1105 if (__alloc_traits::is_always_equal::value || __alloc == __str.__alloc()) { 1212 __alloc_traits::deallocate(__alloc(), __get_long_pointer(), __get_long_cap()); 1233 …sic_string&& __str) noexcept(__noexcept_move_assign_container<_Allocator, __alloc_traits>::value) { [all …]
|
| H A D | map | 710 typedef allocator_traits<allocator_type> __alloc_traits; 713 typedef typename __alloc_traits::pointer pointer; 740 __alloc_traits::destroy(__na_, std::addressof(__p->__value_.__get_value().second)); 742 __alloc_traits::destroy(__na_, std::addressof(__p->__value_.__get_value().first)); 744 __alloc_traits::deallocate(__na_, __p, 1); 998 typedef allocator_traits<allocator_type> __alloc_traits; 1005 typedef typename __alloc_traits::pointer pointer; 1006 typedef typename __alloc_traits::const_pointer const_pointer; 1007 typedef typename __alloc_traits::size_type size_type; 1008 typedef typename __alloc_traits::difference_type difference_type; [all …]
|
| H A D | __hash_table | 554 typedef allocator_traits<allocator_type> __alloc_traits; 555 typedef typename __alloc_traits::size_type size_type; 560 typedef typename __alloc_traits::pointer pointer; 581 …_LIBCPP_HIDE_FROM_ABI void operator()(pointer __p) _NOEXCEPT { __alloc_traits::deallocate(__alloc(… 590 typedef allocator_traits<allocator_type> __alloc_traits; 593 typedef typename __alloc_traits::pointer pointer; 612 __alloc_traits::destroy(__na_, _NodeTypes::__get_ptr(__p->__get_value())); 616 __alloc_traits::deallocate(__na_, __p, 1); 668 typedef allocator_traits<allocator_type> __alloc_traits; 669 …typedef typename __make_hash_node_types<value_type, typename __alloc_traits::void_pointer>::type _… [all …]
|
| H A D | list | 473 typedef allocator_traits<allocator_type> __alloc_traits; 474 typedef typename __alloc_traits::size_type size_type; 478 typedef typename __alloc_traits::void_pointer __void_pointer; 483 typedef __rebind_alloc<__alloc_traits, __node_type> __node_allocator; 490 typedef typename __alloc_traits::pointer pointer; 491 typedef typename __alloc_traits::const_pointer const_pointer; 492 typedef typename __alloc_traits::difference_type difference_type; 494 typedef __rebind_alloc<__alloc_traits, __node_base> __node_base_allocator; 535 …_NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable_v<allocat… 641 …_NOEXCEPT_(!__alloc_traits::propagate_on_container_swap::value || __is_nothrow_swappable_v<allocat… [all …]
|
| H A D | __tree | 676 typedef allocator_traits<allocator_type> __alloc_traits; 679 typedef typename __alloc_traits::pointer pointer; 697 __alloc_traits::destroy(__na_, _NodeTypes::__get_ptr(__p->__value_)); 699 __alloc_traits::deallocate(__na_, __p, 1); 891 typedef allocator_traits<allocator_type> __alloc_traits; 892 …typedef typename __make_tree_node_types<value_type, typename __alloc_traits::void_pointer>::type _… 899 typedef typename __alloc_traits::pointer pointer; 900 typedef typename __alloc_traits::const_pointer const_pointer; 901 typedef typename __alloc_traits::size_type size_type; 902 typedef typename __alloc_traits::difference_type difference_type; [all …]
|
| H A D | unordered_map | 787 typedef allocator_traits<allocator_type> __alloc_traits; 790 typedef typename __alloc_traits::pointer pointer; 822 __alloc_traits::destroy(__na_, std::addressof(__p->__get_value().__get_value().second)); 824 __alloc_traits::destroy(__na_, std::addressof(__p->__get_value().__get_value().first)); 826 __alloc_traits::deallocate(__na_, __p, 1); 1058 typedef allocator_traits<allocator_type> __alloc_traits; 1066 typedef typename __alloc_traits::pointer pointer; 1067 typedef typename __alloc_traits::const_pointer const_pointer; 1860 typedef allocator_traits<allocator_type> __alloc_traits; 1861 …static_assert(is_same<typename __node_traits::size_type, typename __alloc_traits::size_type>::valu… [all …]
|
| H A D | set | 579 typedef allocator_traits<allocator_type> __alloc_traits; 1033 typedef allocator_traits<allocator_type> __alloc_traits; 1107 __alloc_traits::select_on_container_copy_construction(__s.__tree_.__alloc())) {
|
| /src/contrib/llvm-project/libcxx/include/__functional/ |
| H A D | function.h | 175 typedef allocator_traits<_Alloc> __alloc_traits; 176 typedef __rebind_alloc<__alloc_traits, __alloc_func> _AA; 187 typedef allocator_traits<_Alloc> __alloc_traits; 188 typedef __rebind_alloc<__alloc_traits, __alloc_func> _FunAlloc; 283 typedef allocator_traits<_Alloc> __alloc_traits; 284 typedef __rebind_alloc<__alloc_traits, __func> _Ap; 304 typedef allocator_traits<_Alloc> __alloc_traits; 305 typedef __rebind_alloc<__alloc_traits, __func> _Ap; 353 typedef allocator_traits<_Alloc> __alloc_traits; 355 typedef __rebind_alloc<__alloc_traits, _Fun> _FunAlloc; [all …]
|
| /src/contrib/llvm-project/libcxx/include/ext/ |
| H A D | hash_map | 293 typedef std::allocator_traits<allocator_type> __alloc_traits; 294 typedef typename __alloc_traits::value_type::__node_value_type value_type; 297 typedef typename __alloc_traits::pointer pointer; 329 __alloc_traits::destroy(__na_, std::addressof(__p->__get_value().second)); 331 __alloc_traits::destroy(__na_, std::addressof(__p->__get_value().first)); 333 __alloc_traits::deallocate(__na_, __p, 1); 474 typedef std::allocator_traits<allocator_type> __alloc_traits; 477 typedef typename __alloc_traits::pointer pointer; 478 typedef typename __alloc_traits::const_pointer const_pointer; 479 typedef typename __alloc_traits::size_type size_type; [all …]
|