| /freebsd/contrib/llvm-project/libcxx/include/__memory/ |
| H A D | allocator_traits.h | 249 using allocator_type = _Alloc; 250 using value_type = typename allocator_type::value_type; 251 using pointer = typename __pointer<value_type, allocator_type>::type; 252 using const_pointer = typename __const_pointer<value_type, pointer, allocator_type>::type; 253 using void_pointer = typename __void_pointer<pointer, allocator_type>::type; 254 using const_void_pointer = typename __const_void_pointer<pointer, allocator_type>::type; 255 using difference_type = typename __alloc_traits_difference_type<allocator_type, pointer>::type; 256 using size_type = typename __size_type<allocator_type, difference_type>::type; 258 typename __propagate_on_container_copy_assignment<allocator_type>::type; 260 typename __propagate_on_container_move_assignment<allocator_type>::type; [all …]
|
| H A D | uses_allocator.h | 29 static true_type __test(typename _Up::allocator_type* = 0); 36 struct __uses_allocator : public integral_constant<bool, is_convertible<_Alloc, typename _Tp::allocator_type>::value> {
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | sstream | 29 typedef Allocator allocator_type; 35 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& s, 37 explicit basic_stringbuf(const allocator_type& a) 39 basic_stringbuf(ios_base::openmode which, const allocator_type& a); // C++20 40 explicit basic_stringbuf(basic_string<char_type, traits_type, allocator_type>&& s, 43 basic_stringbuf(const basic_string<char_type, traits_type, SAlloc>& s, const allocator_type& a) 47 ios_base::openmode which, const allocator_type& a); // C++20 60 basic_stringbuf(basic_stringbuf&& rhs, const allocator_type& a); // C++20 68 allocator_type get_allocator() const noexcept; // C++20 69 … basic_string<char_type, traits_type, allocator_type> str() const; // before C++20 [all …]
|
| H A D | unordered_set | 34 typedef Alloc allocator_type; 37 typedef typename allocator_traits<allocator_type>::pointer pointer; 38 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 39 typedef typename allocator_traits<allocator_type>::size_type size_type; 40 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 54 is_nothrow_default_constructible<allocator_type>::value); 57 const allocator_type& a = allocator_type()); 62 const allocator_type& a = allocator_type()); 66 const allocator_type& a = allocator_type()); // C++23 67 explicit unordered_set(const allocator_type&); [all …]
|
| H A D | set | 30 typedef Allocator allocator_type; 31 typedef typename allocator_type::reference reference; 32 typedef typename allocator_type::const_reference const_reference; 33 typedef typename allocator_type::size_type size_type; 34 typedef typename allocator_type::difference_type difference_type; 35 typedef typename allocator_type::pointer pointer; 36 typedef typename allocator_type::const_pointer const_pointer; 48 is_nothrow_default_constructible<allocator_type>::value && 52 set(const value_compare& comp, const allocator_type& a); 58 const allocator_type& a); [all …]
|
| H A D | unordered_map | 32 typedef Alloc allocator_type; 36 typedef typename allocator_traits<allocator_type>::pointer pointer; 37 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 38 typedef typename allocator_traits<allocator_type>::size_type size_type; 39 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 53 is_nothrow_default_constructible<allocator_type>::value); 56 const allocator_type& a = allocator_type()); 61 const allocator_type& a = allocator_type()); 65 const allocator_type& a = allocator_type()); // C++23 67 explicit unordered_map(const allocator_type&); [all …]
|
| H A D | map | 30 typedef Allocator allocator_type; 31 typedef typename allocator_type::reference reference; 32 typedef typename allocator_type::const_reference const_reference; 33 typedef typename allocator_type::pointer pointer; 34 typedef typename allocator_type::const_pointer const_pointer; 35 typedef typename allocator_type::size_type size_type; 36 typedef typename allocator_type::difference_type difference_type; 62 is_nothrow_default_constructible<allocator_type>::value && 66 map(const key_compare& comp, const allocator_type& a); 72 const key_compare& comp, const allocator_type& a); [all …]
|
| H A D | vector | 26 typedef Allocator allocator_type; 27 typedef typename allocator_type::reference reference; 28 typedef typename allocator_type::const_reference const_reference; 31 typedef typename allocator_type::size_type size_type; 32 typedef typename allocator_type::difference_type difference_type; 33 typedef typename allocator_type::pointer pointer; 34 typedef typename allocator_type::const_pointer const_pointer; 39 noexcept(is_nothrow_default_constructible<allocator_type>::value); 40 explicit vector(const allocator_type&); 42 explicit vector(size_type n, const allocator_type&); // C++14 [all …]
|
| H A D | __node_handle | 21 using allocator_type = see below; 25 using ator_traits = allocator_traits<allocator_type>; // exposition only 29 optional<allocator_type> alloc_; // exposition only 45 allocator_type get_allocator() const; 95 typedef _Alloc allocator_type; 99 optional<allocator_type> __alloc_; 108 … typedef typename __allocator_traits_rebind< allocator_type, _NodeType>::type __node_alloc_type; 115 …_LIBCPP_HIDE_FROM_ABI __basic_node_handle(__node_pointer_type __ptr, allocator_type const& __alloc) 146 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return *__alloc_; }
|
| H A D | forward_list | 24 typedef Allocator allocator_type; 28 typedef typename allocator_traits<allocator_type>::pointer pointer; 29 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 30 typedef typename allocator_traits<allocator_type>::size_type size_type; 31 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 37 noexcept(is_nothrow_default_constructible<allocator_type>::value); 38 explicit forward_list(const allocator_type& a); 40 explicit forward_list(size_type n, const allocator_type& a); // C++14 42 forward_list(size_type n, const value_type& v, const allocator_type& a); 46 forward_list(InputIterator first, InputIterator last, const allocator_type& a); [all …]
|
| H A D | deque | 25 typedef Allocator allocator_type; 27 typedef typename allocator_type::reference reference; 28 typedef typename allocator_type::const_reference const_reference; 31 typedef typename allocator_type::size_type size_type; 32 typedef typename allocator_type::difference_type difference_type; 34 typedef typename allocator_type::pointer pointer; 35 typedef typename allocator_type::const_pointer const_pointer; 40 deque() noexcept(is_nothrow_default_constructible<allocator_type>::value); 41 explicit deque(const allocator_type& a); 43 explicit deque(size_type n, const allocator_type& a); // C++14 [all …]
|
| H A D | list | 26 typedef Alloc allocator_type; 27 typedef typename allocator_type::reference reference; 28 typedef typename allocator_type::const_reference const_reference; 29 typedef typename allocator_type::pointer pointer; 30 typedef typename allocator_type::const_pointer const_pointer; 39 noexcept(is_nothrow_default_constructible<allocator_type>::value); 40 explicit list(const allocator_type& a); 42 explicit list(size_type n, const allocator_type& a); // C++14 44 list(size_type n, const value_type& value, const allocator_type& a); 48 list(Iter first, Iter last, const allocator_type& a); [all …]
|
| H A D | syncstream | 44 using allocator_type = Allocator; 62 allocator_type get_allocator() const noexcept; 88 using allocator_type = Allocator; 250 using allocator_type = _Allocator; 314 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const noexcept { return __str_.get_allocator(… 441 using allocator_type = _Allocator; 443 using syncbuf_type = basic_syncbuf<char_type, traits_type, allocator_type>; 447 _LIBCPP_HIDE_FROM_ABI basic_osyncstream(streambuf_type* __obuf, allocator_type const& __alloc) 451 : basic_osyncstream(__obuf, allocator_type()) {} 453 …M_ABI basic_osyncstream(basic_ostream<char_type, traits_type>& __os, allocator_type const& __alloc) [all …]
|
| H A D | __split_buffer | 57 using allocator_type = _Allocator; 58 using __alloc_rr = __libcpp_remove_reference_t<allocator_type>; 71 // - allocator_type: may be trivially relocatable, so it's checked 74 …_trivially_relocatable<pointer>::value && __libcpp_is_trivially_relocatable<allocator_type>::value, 81 __compressed_pair<pointer, allocator_type> __end_cap_; 83 using __alloc_ref = __add_lvalue_reference_t<allocator_type>; 84 using __alloc_const_ref = __add_lvalue_reference_t<allocator_type>; 90 _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value) 103 _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value); 109 is_nothrow_move_assignable<allocator_type>::value) || [all …]
|
| H A D | __hash_table | 553 typedef _Alloc allocator_type; 554 typedef allocator_traits<allocator_type> __alloc_traits; 557 __compressed_pair<size_type, allocator_type> __data_; 562 …ABI __bucket_list_deallocator() _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value) 565 _LIBCPP_HIDE_FROM_ABI __bucket_list_deallocator(const allocator_type& __a, size_type __size) 566 _NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value) 570 _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value) 578 _LIBCPP_HIDE_FROM_ABI allocator_type& __alloc() _NOEXCEPT { return __data_.second(); } 579 _LIBCPP_HIDE_FROM_ABI const allocator_type& __alloc() const _NOEXCEPT { return __data_.second(); } 589 typedef _Alloc allocator_type; [all …]
|
| H A D | string | 90 typedef Allocator allocator_type; 91 typedef typename allocator_type::size_type size_type; 92 typedef typename allocator_type::difference_type difference_type; 93 typedef typename allocator_type::reference reference; 94 typedef typename allocator_type::const_reference const_reference; 95 typedef typename allocator_type::pointer pointer; 96 typedef typename allocator_type::const_pointer const_pointer; 105 …noexcept(is_nothrow_default_constructible<allocator_type>::value); // constex… 106 …explicit basic_string(const allocator_type& a); // con… 109 …noexcept(is_nothrow_move_constructible<allocator_type>::value); // constex… [all …]
|
| H A D | memory | 56 typedef Alloc allocator_type; 57 typedef typename allocator_type::value_type 88 …static pointer allocate(allocator_type& a, size_type n); // constexpr and… 89 …static pointer allocate(allocator_type& a, size_type n, const_void_pointer hint); // constexpr and… 94 … static void deallocate(allocator_type& a, pointer p, size_type n) noexcept; // constexpr in C++20 97 static void construct(allocator_type& a, T* p, Args&&... args); // constexpr in C++20 100 static void destroy(allocator_type& a, T* p); // constexpr in C++20 102 static size_type max_size(const allocator_type& a); // noexcept in C++14, constexpr in C++20 103 …static allocator_type select_on_container_copy_construction(const allocator_type& a); // constexpr…
|
| H A D | __tree | 675 typedef _Allocator allocator_type; 676 typedef allocator_traits<allocator_type> __alloc_traits; 683 allocator_type& __na_; 691 …_LIBCPP_HIDE_FROM_ABI explicit __tree_node_destructor(allocator_type& __na, bool __val = false) _N… 888 typedef _Allocator allocator_type; 891 typedef allocator_traits<allocator_type> __alloc_traits; 954 …_LIBCPP_HIDE_FROM_ABI allocator_type __alloc() const _NOEXCEPT { return allocator_type(__node_allo… 978 _LIBCPP_HIDE_FROM_ABI explicit __tree(const allocator_type& __a); 979 _LIBCPP_HIDE_FROM_ABI __tree(const value_compare& __comp, const allocator_type& __a); 988 _LIBCPP_HIDE_FROM_ABI __tree(__tree&& __t, const allocator_type& __a); [all …]
|
| H A D | regex | 476 typedef Allocator allocator_type; 530 allocator_type get_allocator() const; 4538 typedef _Allocator allocator_type; 4542 typedef vector<value_type, allocator_type> __container_type; 4557 typedef typename allocator_traits<allocator_type>::size_type size_type; 4563 match_results() : match_results(allocator_type()) {} 4564 explicit match_results(const allocator_type& __a); 4566 explicit match_results(const allocator_type& __a = allocator_type()); 4651 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return __matches_.get_allocator(); } 4704 match_results<_BidirectionalIterator, _Allocator>::match_results(const allocator_type& __a)
|
| /freebsd/contrib/llvm-project/libcxx/include/ext/ |
| H A D | hash_set | 30 typedef Alloc allocator_type; 33 typedef typename allocator_traits<allocator_type>::pointer pointer; 34 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 35 typedef typename allocator_traits<allocator_type>::size_type size_type; 36 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 43 const allocator_type& a = allocator_type()); 48 const allocator_type& a = allocator_type()); 53 allocator_type get_allocator() const; 116 typedef Alloc allocator_type; 119 typedef typename allocator_traits<allocator_type>::pointer pointer; [all …]
|
| H A D | hash_map | 30 typedef Alloc allocator_type; 34 typedef typename allocator_traits<allocator_type>::pointer pointer; 35 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 36 typedef typename allocator_traits<allocator_type>::size_type size_type; 37 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 45 const allocator_type& a = allocator_type()); 52 const allocator_type& a = allocator_type()); 57 allocator_type get_allocator() const; 122 typedef Alloc allocator_type; 126 typedef typename allocator_traits<allocator_type>::pointer pointer; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/experimental/ |
| H A D | memory_resource | |
| /freebsd/contrib/llvm-project/libcxx/include/__format/ |
| H A D | format_arg_store.h | 129 …, basic_string<typename _Tp::value_type, typename _Tp::traits_type, typename _Tp::allocator_type>>) in requires() argument
|