Home
last modified time | relevance | path

Searched refs:_M_allocator (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/ext/
H A Ddebug_allocator.h89 _Alloc _M_allocator; in _GLIBCXX_VISIBILITY() local
115 : _M_extra(_S_extra()), _M_allocator(__a2._M_allocator) { } in _GLIBCXX_VISIBILITY()
118 : _M_extra(_S_extra()), _M_allocator(__a) { } in _GLIBCXX_VISIBILITY()
123 pointer __res = _M_allocator.allocate(__n + _M_extra); in _GLIBCXX_VISIBILITY()
132 pointer __res = _M_allocator.allocate(__n + _M_extra, __hint); in _GLIBCXX_VISIBILITY()
147 _M_allocator.deallocate(__real_p, __n + _M_extra); in _GLIBCXX_VISIBILITY()
155 { _Traits::construct(_M_allocator, __p, __val); } in _GLIBCXX_VISIBILITY()
162 _Traits::construct(_M_allocator, __p, in _GLIBCXX_VISIBILITY()
170 { _Traits::destroy(_M_allocator, __p); } in _GLIBCXX_VISIBILITY()
174 { return _Traits::max_size(_M_allocator) - _M_extra; } in _GLIBCXX_VISIBILITY()
[all …]
H A Dthrow_allocator.h832 std::allocator<value_type> _M_allocator; in _GLIBCXX_VISIBILITY() local
841 { return traits::max_size(_M_allocator); } in _GLIBCXX_VISIBILITY()
858 pointer const a = traits::allocate(_M_allocator, __n, __hint); in _GLIBCXX_VISIBILITY()
868 traits::construct(_M_allocator, __p, std::forward<_Args>(__args)...); in _GLIBCXX_VISIBILITY()
877 traits::destroy(_M_allocator, __p); in _GLIBCXX_VISIBILITY()
882 { return _M_allocator.construct(__p, __val); } in _GLIBCXX_VISIBILITY()
886 { _M_allocator.destroy(__p); } in _GLIBCXX_VISIBILITY()
893 _M_allocator.deallocate(__p, __n); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/
H A Ddebug_allocator.h89 _Alloc _M_allocator; in _GLIBCXX_VISIBILITY() local
115 : _M_allocator(__a2._M_allocator), _M_extra(_S_extra()) { } in _GLIBCXX_VISIBILITY()
118 : _M_allocator(__a), _M_extra(_S_extra()) { } in _GLIBCXX_VISIBILITY()
123 pointer __res = _M_allocator.allocate(__n + _M_extra); in _GLIBCXX_VISIBILITY()
132 pointer __res = _M_allocator.allocate(__n + _M_extra, __hint); in _GLIBCXX_VISIBILITY()
147 _M_allocator.deallocate(__real_p, __n + _M_extra); in _GLIBCXX_VISIBILITY()
155 { _Traits::construct(_M_allocator, __p, __val); } in _GLIBCXX_VISIBILITY()
162 _Traits::construct(_M_allocator, __p, in _GLIBCXX_VISIBILITY()
170 { _Traits::destroy(_M_allocator, __p); } in _GLIBCXX_VISIBILITY()
174 { return _Traits::max_size(_M_allocator) - _M_extra; } in _GLIBCXX_VISIBILITY()
[all …]
H A Dthrow_allocator.h832 std::allocator<value_type> _M_allocator; in _GLIBCXX_VISIBILITY() local
841 { return traits::max_size(_M_allocator); } in _GLIBCXX_VISIBILITY()
858 pointer const a = traits::allocate(_M_allocator, __n, hint); in _GLIBCXX_VISIBILITY()
868 traits::construct(_M_allocator, __p, std::forward<_Args>(__args)...); in _GLIBCXX_VISIBILITY()
877 traits::destroy(_M_allocator, __p); in _GLIBCXX_VISIBILITY()
882 { return _M_allocator.construct(__p, val); } in _GLIBCXX_VISIBILITY()
886 { _M_allocator.destroy(__p); } in _GLIBCXX_VISIBILITY()
893 _M_allocator.deallocate(__p, __n); in _GLIBCXX_VISIBILITY()
/netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/pstl/
H A Dparallel_backend_tbb.h45 tbb::tbb_allocator<_Tp> _M_allocator; variable
54 __buffer(std::size_t n) : _M_allocator(), _M_ptr(_M_allocator.allocate(n)), _M_buf_size(n) {} in __buffer()
64 ~__buffer() { _M_allocator.deallocate(_M_ptr, _M_buf_size); } in ~__buffer()
518 tbb::detail::d1::small_object_allocator _M_allocator{};
532 __t->_M_allocator = __alloc; in allocate_func_task()
642 auto __alloc = _M_allocator; in finalize()
701 _M_func_task->_M_allocator = __alloc;
/netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/pstl/
H A Dparallel_backend_tbb.h44 tbb::tbb_allocator<_Tp> _M_allocator; variable
53 __buffer(std::size_t n) : _M_allocator(), _M_ptr(_M_allocator.allocate(n)), _M_buf_size(n) {} in __buffer()
63 ~__buffer() { _M_allocator.deallocate(_M_ptr, _M_buf_size); } in ~__buffer()