Home
last modified time | relevance | path

Searched refs:_Alloc (Results 1 – 17 of 17) sorted by relevance

/haiku/headers/cpp/
H A Dstl_rope.h220 template<class _CharT, class _Alloc=__STL_DEFAULT_ALLOCATOR(_CharT)> class rope;
221 template<class _CharT, class _Alloc> struct _Rope_RopeConcatenation;
222 template<class _CharT, class _Alloc> struct _Rope_RopeLeaf;
223 template<class _CharT, class _Alloc> struct _Rope_RopeFunction;
224 template<class _CharT, class _Alloc> struct _Rope_RopeSubstring;
225 template<class _CharT, class _Alloc> class _Rope_iterator;
226 template<class _CharT, class _Alloc> class _Rope_const_iterator;
227 template<class _CharT, class _Alloc> class _Rope_char_ref_proxy;
228 template<class _CharT, class _Alloc> class _Rope_char_ptr_proxy;
331 template <class _CharT, class _Alloc>
[all …]
H A Dropeimpl.h31 template <class _CharT, class _Alloc>
32 void _Rope_iterator_base<_CharT,_Alloc>::_S_setbuf( in _S_setbuf()
33 _Rope_iterator_base<_CharT,_Alloc>& __x) in _S_setbuf()
42 ((_Rope_RopeLeaf<_CharT,_Alloc>*)__leaf)->_M_data; in _S_setbuf()
53 ((_Rope_RopeFunction<_CharT,_Alloc>*)__leaf)->_M_fn; in _S_setbuf()
77 template <class _CharT, class _Alloc>
78 void _Rope_iterator_base<_CharT,_Alloc>::_S_setcache in _S_setcache()
79 (_Rope_iterator_base<_CharT,_Alloc>& __x) in _S_setcache()
116 _Rope_RopeConcatenation<_CharT,_Alloc>* __c = in _S_setcache()
117 (_Rope_RopeConcatenation<_CharT,_Alloc>*)__curr_rope; in _S_setcache()
[all …]
H A Dstl_list.h175 template <class _Tp, class _Alloc>
177 : public _List_alloc_base<_Tp, _Alloc,
178 _Alloc_traits<_Tp, _Alloc>::_S_instanceless>
181 typedef _List_alloc_base<_Tp, _Alloc,
182 _Alloc_traits<_Tp, _Alloc>::_S_instanceless>
201 template <class _Tp, class _Alloc>
205 typedef _Alloc allocator_type;
221 typedef simple_alloc<_List_node<_Tp>, _Alloc> _Alloc_type;
231 template <class _Tp, class _Alloc>
233 _List_base<_Tp,_Alloc>::clear() in clear()
[all …]
H A Dstl_tree.h439 template <class _Tp, class _Alloc, bool _S_instanceless>
442 typedef typename _Alloc_traits<_Tp, _Alloc>::allocator_type allocator_type;
449 typename _Alloc_traits<_Rb_tree_node<_Tp>, _Alloc>::allocator_type
460 template <class _Tp, class _Alloc>
461 class _Rb_tree_alloc_base<_Tp, _Alloc, true> {
463 typedef typename _Alloc_traits<_Tp, _Alloc>::allocator_type allocator_type;
471 typedef typename _Alloc_traits<_Rb_tree_node<_Tp>, _Alloc>::_Alloc_type
480 template <class _Tp, class _Alloc>
482 : public _Rb_tree_alloc_base<_Tp, _Alloc,
483 _Alloc_traits<_Tp, _Alloc>::_S_instanceless>
[all …]
H A Dstl_alloc.h227 template<class _Tp, class _Alloc>
232 { return 0 == __n ? 0 : (_Tp*) _Alloc::allocate(__n * sizeof (_Tp)); } in allocate()
234 { return (_Tp*) _Alloc::allocate(sizeof (_Tp)); } in allocate()
236 { if (0 != __n) _Alloc::deallocate(__p, __n * sizeof (_Tp)); } in deallocate()
238 { _Alloc::deallocate(__p, sizeof (_Tp)); } in deallocate()
246 template <class _Alloc>
259 char* __result = (char*)_Alloc::allocate(__n + _S_extra); in allocate()
268 _Alloc::deallocate(__real_p, __n + _S_extra); in deallocate()
276 _Alloc::reallocate(__real_p, __old_sz + _S_extra, __new_sz + _S_extra); in reallocate()
734 typedef alloc _Alloc; // The underlying allocator. typedef
[all …]
H A Dstl_set.h43 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Key) >
46 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Key) >
58 _Identity<value_type>, key_compare, _Alloc> _Rep_type;
109 set(const set<_Key,_Compare,_Alloc>& __x) : _M_t(__x._M_t) {} in set()
110 set<_Key,_Compare,_Alloc>& operator=(const set<_Key, _Compare, _Alloc>& __x)
129 void swap(set<_Key,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); } in swap()
183 template <class _Key, class _Compare, class _Alloc>
184 inline bool operator==(const set<_Key,_Compare,_Alloc>& __x,
185 const set<_Key,_Compare,_Alloc>& __y) {
189 template <class _Key, class _Compare, class _Alloc>
[all …]
H A Dstl_multiset.h43 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Key) >
46 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Key) >
58 _Identity<value_type>, key_compare, _Alloc> _Rep_type;
115 multiset(const multiset<_Key,_Compare,_Alloc>& __x) : _M_t(__x._M_t) {} in multiset()
116 multiset<_Key,_Compare,_Alloc>&
117 operator=(const multiset<_Key,_Compare,_Alloc>& __x) {
135 void swap(multiset<_Key,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); } in swap()
191 template <class _Key, class _Compare, class _Alloc>
192 inline bool operator==(const multiset<_Key,_Compare,_Alloc>& __x,
193 const multiset<_Key,_Compare,_Alloc>& __y) {
[all …]
H A Dstl_slist.h225 template <class _Tp, class _Alloc>
227 : public _Slist_alloc_base<_Tp, _Alloc,
228 _Alloc_traits<_Tp, _Alloc>::_S_instanceless>
230 typedef _Slist_alloc_base<_Tp, _Alloc,
231 _Alloc_traits<_Tp, _Alloc>::_S_instanceless>
254 template <class _Tp, class _Alloc>
256 typedef _Alloc allocator_type;
263 typedef simple_alloc<_Slist_node<_Tp>, _Alloc> _Alloc_type;
284 template <class _Tp, class _Alloc>
286 _Slist_base<_Tp,_Alloc>::_M_erase_after(_Slist_node_base* __before_first, in _M_erase_after()
[all …]
H A Dstl_multimap.h43 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
46 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
60 friend class multimap<_Key,_Tp,_Compare,_Alloc>;
72 _Select1st<value_type>, key_compare, _Alloc> _Rep_type;
123 multimap(const multimap<_Key,_Tp,_Compare,_Alloc>& __x) : _M_t(__x._M_t) { } in multimap()
124 multimap<_Key,_Tp,_Compare,_Alloc>&
125 operator=(const multimap<_Key,_Tp,_Compare,_Alloc>& __x) {
147 void swap(multimap<_Key,_Tp,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); } in swap()
199 template <class _Key, class _Tp, class _Compare, class _Alloc>
200 inline bool operator==(const multimap<_Key,_Tp,_Compare,_Alloc>& __x,
[all …]
H A Dstl_deque.h273 template <class _Tp, class _Alloc, size_t __bufsiz, bool __is_static>
276 typedef typename _Alloc_traits<_Tp,_Alloc>::allocator_type allocator_type;
284 typedef typename _Alloc_traits<_Tp*, _Alloc>::allocator_type
306 template <class _Tp, class _Alloc, size_t __bufsiz>
307 class _Deque_alloc_base<_Tp, _Alloc, __bufsiz, true>
310 typedef typename _Alloc_traits<_Tp,_Alloc>::allocator_type allocator_type;
316 typedef typename _Alloc_traits<_Tp, _Alloc>::_Alloc_type _Node_alloc_type;
317 typedef typename _Alloc_traits<_Tp*, _Alloc>::_Alloc_type _Map_alloc_type;
334 template <class _Tp, class _Alloc, size_t __bufsiz>
336 : public _Deque_alloc_base<_Tp,_Alloc,__bufsiz,
[all …]
H A Dstl_vector.h100 template <class _Tp, class _Alloc>
102 : public _Vector_alloc_base<_Tp, _Alloc,
103 _Alloc_traits<_Tp, _Alloc>::_S_instanceless>
105 typedef _Vector_alloc_base<_Tp, _Alloc,
106 _Alloc_traits<_Tp, _Alloc>::_S_instanceless>
122 template <class _Tp, class _Alloc>
125 typedef _Alloc allocator_type;
128 _Vector_base(const _Alloc&)
130 _Vector_base(size_t __n, const _Alloc&)
145 typedef simple_alloc<_Tp, _Alloc> _M_data_allocator;
[all …]
H A Dstl_map.h43 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
46 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
61 friend class map<_Key,_Tp,_Compare,_Alloc>;
73 _Select1st<value_type>, key_compare, _Alloc> _Rep_type;
125 map(const map<_Key,_Tp,_Compare,_Alloc>& __x) : _M_t(__x._M_t) {} in map()
126 map<_Key,_Tp,_Compare,_Alloc>&
127 operator=(const map<_Key, _Tp, _Compare, _Alloc>& __x)
157 void swap(map<_Key,_Tp,_Compare,_Alloc>& __x) { _M_t.swap(__x._M_t); } in swap()
209 template <class _Key, class _Tp, class _Compare, class _Alloc>
210 inline bool operator==(const map<_Key,_Tp,_Compare,_Alloc>& __x,
[all …]
H A Dstl_hash_map.h45 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
48 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
54 _Select1st<pair<const _Key,_Tp> >,_EqualKey,_Alloc> _Ht;
204 template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
206 operator==(const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1,
207 const hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2)
214 template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc>
216 swap(hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm1, in swap()
217 hash_map<_Key,_Tp,_HashFcn,_EqlKey,_Alloc>& __hm2) in swap()
227 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Tp) >
[all …]
H A Dstl_hash_set.h44 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Value) >
47 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Value) >
53 _EqualKey, _Alloc> _Ht;
199 template <class _Value, class _HashFcn, class _EqualKey, class _Alloc>
201 operator==(const hash_set<_Value,_HashFcn,_EqualKey,_Alloc>& __hs1,
202 const hash_set<_Value,_HashFcn,_EqualKey,_Alloc>& __hs2)
209 template <class _Val, class _HashFcn, class _EqualKey, class _Alloc>
211 swap(hash_set<_Val,_HashFcn,_EqualKey,_Alloc>& __hs1, in swap()
212 hash_set<_Val,_HashFcn,_EqualKey,_Alloc>& __hs2) in swap()
223 class _Alloc = __STL_DEFAULT_ALLOCATOR(_Value) >
[all …]
H A Dstl_hashtable.h57 class _ExtractKey, class _EqualKey, class _Alloc = alloc>
61 class _ExtractKey, class _EqualKey, class _Alloc>
65 class _ExtractKey, class _EqualKey, class _Alloc>
69 class _ExtractKey, class _EqualKey, class _Alloc>
71 typedef hashtable<_Val,_Key,_HashFcn,_ExtractKey,_EqualKey,_Alloc>
74 _ExtractKey, _EqualKey, _Alloc>
77 _ExtractKey, _EqualKey, _Alloc>
108 class _ExtractKey, class _EqualKey, class _Alloc>
110 typedef hashtable<_Val,_Key,_HashFcn,_ExtractKey,_EqualKey,_Alloc>
113 _ExtractKey,_EqualKey,_Alloc>
[all …]
H A Dstl_bvector.h304 template <class _Alloc>
306 : public _Bvector_alloc_base<_Alloc,
307 _Alloc_traits<bool, _Alloc>::_S_instanceless>
309 typedef _Bvector_alloc_base<_Alloc,
310 _Alloc_traits<bool, _Alloc>::_S_instanceless>
321 template <class _Alloc>
325 typedef _Alloc allocator_type;
333 typedef simple_alloc<unsigned int, _Alloc> _Alloc_type;
367 template<class _Alloc> class vector<bool,_Alloc>
368 : public _Bvector_base<_Alloc>
[all …]
H A Dbitset629 template<class _CharT, class _Traits, class _Alloc>
630 explicit bitset(const basic_string<_CharT,_Traits,_Alloc>& __s,
632 size_t __n = size_t(basic_string<_CharT,_Traits,_Alloc>::npos))
760 template <class _CharT, class _Traits, class _Alloc>
761 basic_string<_CharT, _Traits, _Alloc> to_string() const {
762 basic_string<_CharT, _Traits, _Alloc> __result;
769 template<class _CharT, class _Traits, class _Alloc>
770 void _M_copy_from_string(const basic_string<_CharT,_Traits,_Alloc>& __s,
775 template<class _CharT, class _Traits, class _Alloc>
776 void _M_copy_to_string(basic_string<_CharT,_Traits,_Alloc>&) const;
[all …]