Home
last modified time | relevance | path

Searched refs:allocator_type (Results 1 – 23 of 23) sorted by relevance

/freebsd-14.2/contrib/llvm-project/libcxx/include/__memory/
H A Dallocator_traits.h236 using allocator_type = _Alloc;
237 using value_type = typename allocator_type::value_type;
253 using rebind_alloc = __allocator_traits_rebind_t<allocator_type, _Tp>;
259 using other = __allocator_traits_rebind_t<allocator_type, _Tp>;
268 allocate(allocator_type& __a, size_type __n) {
283 allocate(allocator_type& __a, size_type __n, const_void_pointer) {
288 deallocate(allocator_type& __a, pointer __p, size_type __n) _NOEXCEPT {
294 construct(allocator_type& __a, _Tp* __p, _Args&&... __args) {
304 construct(allocator_type&, _Tp* __p, _Args&&... __args) {
332 select_on_container_copy_construction(const allocator_type& __a) {
[all …]
H A Duses_allocator.h29 static true_type __test(typename _Up::allocator_type* = 0);
36 …tor : public integral_constant<bool, is_convertible<_Alloc, typename _Tp::allocator_type>::value> {
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dsstream29 typedef Allocator allocator_type;
37 explicit basic_stringbuf(const allocator_type& a)
102 typedef Allocator allocator_type;
310 typedef _Allocator allocator_type;
359 requires(!is_same_v<_SAlloc, allocator_type>)
426 requires(!is_same_v<_SAlloc, allocator_type>)
786 typedef _Allocator allocator_type;
892 typedef _Allocator allocator_type;
926 requires(!is_same_v<_SAlloc, allocator_type>)
1000 typedef _Allocator allocator_type;
[all …]
H A Dset58 const allocator_type& a);
66 explicit set(const allocator_type& a);
67 set(const set& s, const allocator_type& a);
68 set(set&& s, const allocator_type& a);
71 const allocator_type& a);
153 allocator_type get_allocator() const noexcept;
311 explicit multiset(const allocator_type& a);
316 const allocator_type& a);
398 allocator_type get_allocator() const noexcept;
637 const allocator_type& __a = allocator_type())
[all …]
H A Dunordered_set57 const allocator_type& a = allocator_type());
62 const allocator_type& a = allocator_type());
66 const allocator_type& a = allocator_type()); // C++23
78 const allocator_type& a = allocator_type());
305 const allocator_type& a = allocator_type());
310 const allocator_type& a = allocator_type());
314 const allocator_type& a = allocator_type()); // C++23
326 const allocator_type& a = allocator_type());
662 const allocator_type& __a = allocator_type())
1058 const allocator_type& __a)
[all …]
H A Dunordered_map56 const allocator_type& a = allocator_type());
61 const allocator_type& a = allocator_type());
65 const allocator_type& a = allocator_type()); // C++23
78 const allocator_type& a = allocator_type());
343 const allocator_type& a = allocator_type());
348 const allocator_type& a = allocator_type());
352 const allocator_type& a = allocator_type()); // C++23
364 const allocator_type& a = allocator_type());
794 allocator_type& __na_;
1122 const allocator_type& __a = allocator_type())
[all …]
H A Dmap80 explicit map(const allocator_type& a);
81 map(const map& m, const allocator_type& a);
82 map(map&& m, const allocator_type& a);
356 const allocator_type& a);
370 const allocator_type& a);
710 typedef _Allocator allocator_type;
717 allocator_type& __na_;
1060 const allocator_type& __a = allocator_type())
1128 …_LIBCPP_HIDE_FROM_ABI explicit map(const allocator_type& __a) : __tree_(typename __base::allocator…
1164 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(__tre…
[all …]
H A Dvector40 explicit vector(const allocator_type&);
43 vector(size_type n, const value_type& value, const allocator_type& = allocator_type());
45 vector(InputIterator first, InputIterator last, const allocator_type& = allocator_type());
173 explicit vector(const allocator_type&);
174 explicit vector(size_type n, const allocator_type& a = allocator_type()); // C++14
175 vector(size_type n, const value_type& value, const allocator_type& = allocator_type());
177 vector(InputIterator first, InputIterator last, const allocator_type& = allocator_type());
394 typedef _Allocator allocator_type;
471 from_range_t, _Range&& __range, const allocator_type& __alloc = allocator_type())
1450 allocator_type& __a = this->__alloc();
[all …]
H A D__node_handle21 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 Dforward_list24 typedef Allocator allocator_type;
38 explicit forward_list(const allocator_type& a);
53 forward_list(forward_list&& x, const allocator_type& a);
73 allocator_type get_allocator() const noexcept;
483 typedef _Alloc allocator_type;
655 typedef _Alloc allocator_type;
660 …static_assert(is_same<allocator_type, __rebind_alloc<allocator_traits<allocator_type>, value_type>…
706 const allocator_type& __a,
711 …FROM_ABI forward_list(from_range_t, _Range&& __range, const allocator_type& __a = allocator_type())
752 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(base:…
[all …]
H A Ddeque25 typedef Allocator allocator_type;
1473 allocator_type& __a = __alloc();
1541 allocator_type& __a = __alloc();
1552 allocator_type& __a = __alloc();
1565 allocator_type& __a = __alloc();
1582 allocator_type& __a = __alloc();
1596 allocator_type& __a = __alloc();
1614 allocator_type& __a = __alloc();
1631 allocator_type& __a = __alloc();
1678 allocator_type& __a = __alloc();
[all …]
H A Dlist26 typedef Alloc allocator_type;
29 typedef typename allocator_type::pointer pointer;
40 explicit list(const allocator_type& a);
52 list(const list&, const allocator_type& a);
55 list(list&&, const allocator_type& a);
74 allocator_type get_allocator() const noexcept;
474 typedef _Alloc allocator_type;
679 typedef _Alloc allocator_type;
698 …static_assert(is_same<allocator_type, __rebind_alloc<allocator_traits<allocator_type>, value_type>…
722 const allocator_type& __a,
[all …]
H A Dsyncstream44 using allocator_type = Allocator;
62 allocator_type get_allocator() const noexcept;
88 using allocator_type = Allocator;
248 using allocator_type = _Allocator;
312 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const noexcept { return __str_.get_allocator(…
439 using allocator_type = _Allocator;
441 using syncbuf_type = basic_syncbuf<char_type, traits_type, allocator_type>;
445 _LIBCPP_HIDE_FROM_ABI basic_osyncstream(streambuf_type* __obuf, allocator_type const& __alloc)
449 : basic_osyncstream(__obuf, allocator_type()) {}
451 …M_ABI basic_osyncstream(basic_ostream<char_type, traits_type>& __os, allocator_type const& __alloc)
[all …]
H A D__split_buffer56 using allocator_type = _Allocator;
57 using __alloc_rr = __libcpp_remove_reference_t<allocator_type>;
71 __compressed_pair<pointer, allocator_type> __end_cap_;
73 using __alloc_ref = __add_lvalue_reference_t<allocator_type>;
74 using __alloc_const_ref = __add_lvalue_reference_t<allocator_type>;
80 _NOEXCEPT_(is_nothrow_default_constructible<allocator_type>::value)
93 _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value);
99 is_nothrow_move_assignable<allocator_type>::value) ||
197 _NOEXCEPT_(is_nothrow_move_assignable<allocator_type>::value) {
360 _NOEXCEPT_(is_nothrow_move_constructible<allocator_type>::value)
[all …]
H A Dstring90 typedef Allocator allocator_type;
111 …const allocator_type& a = allocator_type()); // constexpr since …
122 …basic_string(const value_type* s, const allocator_type& a = allocator_type()); // con…
123 …basic_string(const value_type* s, size_type n, const allocator_type& a = allocator_type()); // con…
125 …basic_string(size_type n, value_type c, const allocator_type& a = allocator_type()); // con…
128 …const allocator_type& a = allocator_type()); // constexpr since C++20
718 typedef _Allocator allocator_type;
840 __compressed_pair<__rep, allocator_type> __r_;
1036 …tring(const _Tp& __t, size_type __pos, size_type __n, const allocator_type& __a = allocator_type())
1080 from_range_t, _Range&& __range, const allocator_type& __a = allocator_type())
[all …]
H A D__hash_table524 typedef _Alloc allocator_type;
525 typedef allocator_traits<allocator_type> __alloc_traits;
528 __compressed_pair<size_type, allocator_type> __data_;
537 _NOEXCEPT_(is_nothrow_copy_constructible<allocator_type>::value)
560 typedef _Alloc allocator_type;
561 typedef allocator_traits<allocator_type> __alloc_traits;
569 allocator_type& __na_;
636 typedef _Alloc allocator_type;
639 typedef allocator_traits<allocator_type> __alloc_traits;
1058 if (__a == allocator_type(__u.__node_alloc())) {
[all …]
H A Dmemory56 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…
91 … static void deallocate(allocator_type& a, pointer p, size_type n) noexcept; // constexpr in C++20
94 static void construct(allocator_type& a, T* p, Args&&... args); // constexpr in C++20
97 static void destroy(allocator_type& a, T* p); // constexpr in C++20
99 static size_type max_size(const allocator_type& a); // noexcept in C++14, constexpr in C++20
100 …static allocator_type select_on_container_copy_construction(const allocator_type& a); // constexpr…
H A D__tree681 typedef _Allocator allocator_type;
682 typedef allocator_traits<allocator_type> __alloc_traits;
689 allocator_type& __na_;
894 typedef _Allocator allocator_type;
897 typedef allocator_traits<allocator_type> __alloc_traits;
960 …_LIBCPP_HIDE_FROM_ABI allocator_type __alloc() const _NOEXCEPT { return allocator_type(__node_allo…
984 _LIBCPP_HIDE_FROM_ABI explicit __tree(const allocator_type& __a);
985 _LIBCPP_HIDE_FROM_ABI __tree(const value_compare& __comp, const allocator_type& __a);
994 _LIBCPP_HIDE_FROM_ABI __tree(__tree&& __t, const allocator_type& __a);
1339 __tree<_Tp, _Compare, _Allocator>::__tree(const allocator_type& __a)
[all …]
H A Dregex476 typedef Allocator allocator_type;
530 allocator_type get_allocator() const;
4544 typedef _Allocator allocator_type;
4548 typedef vector<value_type, allocator_type> __container_type;
4563 typedef typename allocator_traits<allocator_type>::size_type size_type;
4569 match_results() : match_results(allocator_type()) {}
4570 explicit match_results(const allocator_type& __a);
4572 explicit match_results(const allocator_type& __a = allocator_type());
4657 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return __matches_.get_allocator(); }
4707 match_results<_BidirectionalIterator, _Allocator>::match_results(const allocator_type& __a)
/freebsd-14.2/contrib/llvm-project/libcxx/include/ext/
H A Dhash_set43 const allocator_type& a = allocator_type());
48 const allocator_type& a = allocator_type());
53 allocator_type get_allocator() const;
129 const allocator_type& a = allocator_type());
134 const allocator_type& a = allocator_type());
227 typedef _Alloc allocator_type;
265 const allocator_type& __a);
350 const allocator_type& __a)
406 typedef _Alloc allocator_type;
445 const allocator_type& __a);
[all …]
H A Dhash_map45 const allocator_type& a = allocator_type());
52 const allocator_type& a = allocator_type());
136 const allocator_type& a = allocator_type());
141 const allocator_type& a = allocator_type());
293 typedef _Alloc allocator_type;
304 allocator_type& __na_;
453 typedef _Alloc allocator_type;
598 const allocator_type& __a)
679 typedef _Alloc allocator_type;
731 const allocator_type& __a);
[all …]
/freebsd-14.2/contrib/llvm-project/libcxx/include/experimental/
H A D__memory40 is_convertible<_Alloc, typename _Tp::allocator_type>::value ||
41 is_same<erased_type, typename _Tp::allocator_type>::value > {};
/freebsd-14.2/contrib/llvm-project/libcxx/include/__format/
H A Dformat_arg_store.h129 …, basic_string<typename _Tp::value_type, typename _Tp::traits_type, typename _Tp::allocator_type>>) in requires() argument