Home
last modified time | relevance | path

Searched refs:__alloc (Results 1 – 19 of 19) sorted by relevance

/NextBSD/contrib/libstdc++/include/bits/
Dstl_uninitialized.h233 _Allocator __alloc) in __uninitialized_copy_a() argument
239 __alloc.construct(&*__cur, *__first); in __uninitialized_copy_a()
244 std::_Destroy(__result, __cur, __alloc); in __uninitialized_copy_a()
259 const _Tp& __x, _Allocator __alloc) in __uninitialized_fill_a() argument
265 __alloc.construct(&*__cur, __x); in __uninitialized_fill_a()
269 std::_Destroy(__first, __cur, __alloc); in __uninitialized_fill_a()
285 _Allocator __alloc) in __uninitialized_fill_n_a() argument
291 __alloc.construct(&*__cur, __x); in __uninitialized_fill_n_a()
295 std::_Destroy(__first, __cur, __alloc); in __uninitialized_fill_n_a()
326 _Allocator __alloc) in __uninitialized_copy_copy() argument
[all …]
Dstl_construct.h171 _Allocator __alloc) in _Destroy() argument
174 __alloc.destroy(&*__first); in _Destroy()
Dbasic_string.tcc529 const _Alloc& __alloc) in _S_create() argument
589 void* __place = _Raw_bytes_alloc(__alloc).allocate(__size); in _S_create()
606 _M_clone(const _Alloc& __alloc, size_type __res)
611 __alloc);
/NextBSD/contrib/libc++/include/
D__split_buffer54 …_LIBCPP_INLINE_VISIBILITY __alloc_rr& __alloc() _NOEXCEPT {return __end_cap_.sec…
55 …_LIBCPP_INLINE_VISIBILITY const __alloc_rr& __alloc() const _NOEXCEPT {return __end_cap_.sec…
153 __alloc() = _VSTD::move(__c.__alloc());
195 __alloc_rr& __a = this->__alloc();
214 __alloc_rr& __a = this->__alloc();
233 __alloc_rr& __a = this->__alloc();
242 __alloc_traits::construct(__buf.__alloc(),
260 __alloc_rr& __a = this->__alloc();
274 __alloc_traits::destroy(__alloc(), __to_raw_pointer(__begin_++));
291 __alloc_traits::destroy(__alloc(), __to_raw_pointer(--__end_));
[all …]
Dvector349 allocator_type& __alloc() _NOEXCEPT
352 const allocator_type& __alloc() const _NOEXCEPT
392 if (__alloc() != __c.__alloc())
395 __alloc_traits::deallocate(__alloc(), __begin_, capacity());
398 __alloc() = __c.__alloc();
409 __alloc() = _VSTD::move(__c.__alloc());
424 __alloc_traits::destroy(__alloc(), _VSTD::__to_raw_pointer(--__end_));
452 __alloc_traits::deallocate(__alloc(), __begin_, capacity());
606 {return this->__alloc();}
889 … __alloc_traits::__construct_backward(this->__alloc(), this->__begin_, this->__end_, __v.__begin_);
[all …]
Dforward_list387 __node_allocator& __alloc() _NOEXCEPT
390 const __node_allocator& __alloc() const _NOEXCEPT
448 if (__alloc() != __x.__alloc())
450 __alloc() = __x.__alloc();
459 {__alloc() = _VSTD::move(__x.__alloc());}
479 if (__alloc() == __x.__alloc())
505 __swap_allocator(__alloc(), __x.__alloc(),
515 __node_allocator& __a = __alloc();
613 {return allocator_type(base::__alloc());}
772 __node_allocator& __a = base::__alloc();
[all …]
Ddeque938 _LIBCPP_INLINE_VISIBILITY allocator_type& __alloc() {return __size_.second();}
940 const allocator_type& __alloc() const _NOEXCEPT {return __size_.second();}
991 __alloc() = _VSTD::move(__c.__alloc());
1080 __alloc_traits::deallocate(__alloc(), *__i, __block_size);
1102 if (__a == __c.__alloc())
1130 __swap_allocator(__alloc(), __c.__alloc());
1137 allocator_type& __a = __alloc();
1278 {return __alloc_traits::max_size(__base::__alloc());}
1397 if (__base::__alloc() != __c.__alloc())
1402 __base::__alloc() = __c.__alloc();
[all …]
Dstring1620 allocator_type get_allocator() const _NOEXCEPT {return __alloc();}
1694 allocator_type& __alloc() _NOEXCEPT
1697 const allocator_type& __alloc() const _NOEXCEPT
1834 if (__alloc() != __str.__alloc())
1839 __alloc() = __str.__alloc();
1867 __alloc() = _VSTD::move(__c.__alloc());
1967 __p = __alloc_traits::allocate(__alloc(), __cap+1);
1991 __p = __alloc_traits::allocate(__alloc(), __cap+1);
2048 : __r_(__alloc_traits::select_on_container_copy_construction(__str.__alloc()))
2097 if (__str.__is_long() && __a != __str.__alloc()) // copy, not move
[all …]
D__hash_table708 allocator_type& __alloc() _NOEXCEPT {return __data_.second();}
710 const allocator_type& __alloc() const _NOEXCEPT {return __data_.second();}
715 __alloc_traits::deallocate(__alloc(), __p, size());
882 __bucket_list_.get_deleter().__alloc());
1001 {return __pointer_alloc_traits::max_size(__bucket_list_.get_deleter().__alloc());}
1118 __bucket_list_.get_deleter().__alloc() =
1119 _VSTD::move(__u.__bucket_list_.get_deleter().__alloc());
1181 __u.__bucket_list_.get_deleter().__alloc()), 0)),
1269 __bucket_list_.get_deleter().__alloc() = __u.__bucket_list_.get_deleter().__alloc();
1960 __pointer_allocator& __npa = __bucket_list_.get_deleter().__alloc();
[all …]
Dset643 allocator_type get_allocator() const _NOEXCEPT {return __tree_.__alloc();}
886 __alloc_traits::select_on_container_copy_construction(__s.__tree_.__alloc()))
1052 allocator_type get_allocator() const _NOEXCEPT {return __tree_.__alloc();}
Dmap1057 allocator_type get_allocator() const _NOEXCEPT {return __tree_.__alloc();}
1783 __alloc_traits::select_on_container_copy_construction(__m.__tree_.__alloc()))
1906 allocator_type get_allocator() const _NOEXCEPT {return __tree_.__alloc();}
D__tree861 allocator_type __alloc() const _NOEXCEPT
1311 if (__a == __t.__alloc())
/NextBSD/contrib/libstdc++/include/ext/
Drc_string_base.h198 _M_grab(const _Alloc& __alloc) const in _GLIBCXX_BEGIN_NAMESPACE()
200 return (!_M_is_leaked() && _M_get_allocator() == __alloc) in _GLIBCXX_BEGIN_NAMESPACE()
201 ? _M_rep()->_M_refcopy() : _M_rep()->_M_clone(__alloc); in _GLIBCXX_BEGIN_NAMESPACE()
358 const _Alloc& __alloc) in _S_create() argument
422 _Rep* __place = _Rep_alloc_type(__alloc).allocate(__size / sizeof(_Rep)); in _S_create()
441 _M_clone(const _Alloc& __alloc, size_type __res) in _M_clone() argument
446 __alloc); in _M_clone()
Dmemory138 _Allocator __alloc)
144 __alloc.construct(&*__cur, *__first);
149 std::_Destroy(__result, __cur, __alloc);
/NextBSD/contrib/libc++/include/experimental/
Ddynarray170 // dynarray(allocator_arg_t, const _Alloc& __alloc, size_type __c);
172 // dynarray(allocator_arg_t, const _Alloc& __alloc, size_type __c, const value_type& __v);
174 // dynarray(allocator_arg_t, const _Alloc& __alloc, const dynarray& __d);
176 // dynarray(allocator_arg_t, const _Alloc& __alloc, initializer_list<value_type>);
/NextBSD/contrib/libstdc++/libsupc++/
Dcxxabi.h72 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
78 __cxa_cdtor_type destructor, void *(*__alloc) (size_t),
/NextBSD/contrib/libstdc++/include/backward/
Dstrstream72 strstreambuf(void* (*__alloc)(size_t), void (*__free)(void*));
/NextBSD/contrib/libstdc++/include/tr1/
Dhashtable511 _Bucket_allocator_type __alloc(_M_node_allocator);
515 _Node** __p = __alloc.allocate(__n + 1);
530 _Bucket_allocator_type __alloc(_M_node_allocator);
531 __alloc.deallocate(__p, __n + 1);
/NextBSD/contrib/libstdc++/
DChangeLog-20045881 * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using
5882 declaration. Switch __alloc to _Alloc.
5883 * include/ext/hashtable.h: Remove __alloc.