Home
last modified time | relevance | path

Searched refs:get_allocator (Results 1 – 25 of 72) sorted by relevance

123

/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.other/
H A Dcrash15.C20 { fee (this->get_allocator()); } in ~basic_string()
22 AA get_allocator();
/openbsd-src/gnu/llvm/libcxx/include/
H A Dset146 allocator_type get_allocator() const noexcept;
370 allocator_type get_allocator() const noexcept;
774 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
782 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
801 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
809 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
817 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
825 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
836 allocator_type get_allocator() const _NOEXCEPT {return __tree_.__alloc();}
966 if (__a != __s.get_allocator())
[all …]
H A Dunordered_set93 allocator_type get_allocator() const noexcept;
307 allocator_type get_allocator() const noexcept;
634 allocator_type get_allocator() const _NOEXCEPT
718 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
726 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
746 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
754 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
762 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
770 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1040 if (__a != __u.get_allocator())
[all …]
H A Dmap185 allocator_type get_allocator() const noexcept;
425 allocator_type get_allocator() const noexcept;
1212 allocator_type get_allocator() const _NOEXCEPT {return allocator_type(__tree_.__alloc());}
1389 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
1397 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
1416 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1424 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1432 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1440 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1586 if (__a != __m.get_allocator())
[all …]
H A Dunordered_map100 allocator_type get_allocator() const noexcept;
352 allocator_type get_allocator() const noexcept;
1181 allocator_type get_allocator() const _NOEXCEPT
1371 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
1379 _LIBCPP_ASSERT(__nh.empty() || __nh.get_allocator() == get_allocator(),
1400 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1408 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1416 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1424 _LIBCPP_ASSERT(__source.get_allocator() == get_allocator(),
1723 if (__a != __u.get_allocator())
[all …]
H A D__node_handle45 allocator_type get_allocator() const;
170 allocator_type get_allocator() const { return *__alloc_; }
/openbsd-src/gnu/gcc/libstdc++-v3/include/ext/
H A Dropeimpl.h350 _Destroy(__cstr, __cstr + __size, get_allocator()); in _M_free_c_string()
445 __r->get_allocator()); in _S_leaf_concat_char_iter()
450 __r->get_allocator()); in _S_leaf_concat_char_iter()
501 get_allocator()); in _S_tree_concat()
543 __r->get_allocator()); in _S_concat_char_iter()
573 __STL_ROPE_FROM_UNOWNED_CHAR_PTR(__s, __slen, __r->get_allocator()); in _S_concat_char_iter()
597 __r->get_allocator()); in _S_destr_concat_char_iter()
639 __STL_ROPE_FROM_UNOWNED_CHAR_PTR(__s, __slen, __r->get_allocator()); in _S_destr_concat_char_iter()
778 __base->get_allocator()); in _S_substring()
785 get_allocator()); in _S_substring()
[all …]
H A Dslist238 get_allocator() const
265 get_allocator().destroy(&__next->_M_data);
282 get_allocator().destroy(&__tmp->_M_data);
318 get_allocator() const
319 { return _Base::get_allocator(); }
332 get_allocator().construct(&__node->_M_data, __x);
349 get_allocator().construct(&__node->_M_data, value_type());
384 : _Base(__x.get_allocator())
495 get_allocator().destroy(&__node->_M_data);
H A Dhashtable.h284 get_allocator() const in get_allocator() function
340 : _M_node_allocator(__ht.get_allocator()), _M_hash(__ht._M_hash),
342 _M_buckets(__ht.get_allocator()), _M_num_elements(0)
608 this->get_allocator().construct(&__n->_M_val, __obj);
621 this->get_allocator().destroy(&__n->_M_val);
997 _Vector_type __tmp(__n, (_Node*)(0), _M_buckets.get_allocator());
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.dg/opt/
H A Dnoreturn-1.C51 _M_rep()->_M_dispose(this->get_allocator()); in ~basic_string()
53 allocator_type get_allocator() const { return _M_dataplus; } in get_allocator() function
/openbsd-src/gnu/llvm/compiler-rt/lib/asan/
H A Dasan_allocator.cpp52 static AsanAllocator &get_allocator();
200 void *p = get_allocator().GetBlockBegin(m); in Recycle()
221 get_allocator().Deallocate(cache_, p); in Recycle()
225 void *res = get_allocator().Allocate(cache_, size, 1); in Allocate()
233 get_allocator().Deallocate(cache_, p); in Deallocate()
675 !get_allocator().PointerIsMine(ptr)) { in Deallocate()
856 static AsanAllocator &get_allocator() { in get_allocator() function
1070 __asan::get_allocator().ForceLock(); in LockAllocator()
1074 __asan::get_allocator().ForceUnlock(); in UnlockAllocator()
1078 *begin = (uptr)&__asan::get_allocator(); in GetAllocatorGlobalRange()
[all …]
/openbsd-src/gnu/gcc/libstdc++-v3/include/bits/
H A Dbasic_string.tcc184 : _M_dataplus(__str._M_rep()->_M_grab(_Alloc(__str.get_allocator()), in basic_string()
185 __str.get_allocator()), in basic_string()
186 __str.get_allocator()) in basic_string()
253 const allocator_type __a = this->get_allocator(); in assign()
254 _CharT* __tmp = __str._M_rep()->_M_grab(__a, __str.get_allocator()); in assign()
460 const allocator_type __a = get_allocator(); in _M_mutate()
491 const allocator_type __a = get_allocator(); in reserve()
507 if (this->get_allocator() == __s.get_allocator()) in swap()
517 __s.get_allocator()); in swap()
519 this->get_allocator()); in swap()
H A Dstl_multiset.h212 get_allocator() const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
213 { return _M_t.get_allocator(); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
H A Dstl_set.h222 get_allocator() const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
223 { return _M_t.get_allocator(); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
H A Dstl_multimap.h233 get_allocator() const in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
234 { return _M_t.get_allocator(); } in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/bits/
H A Dbasic_string.tcc192 : _M_dataplus(__str._M_rep()->_M_grab(_Alloc(), __str.get_allocator()), in basic_string()
193 __str.get_allocator()) in basic_string()
250 allocator_type __a = this->get_allocator(); in assign()
251 _CharT* __tmp = __str._M_rep()->_M_grab(__a, __str.get_allocator()); in assign()
406 allocator_type __a = get_allocator(); in _M_mutate()
432 __r->_M_dispose(get_allocator()); in _M_mutate()
460 allocator_type __a = get_allocator(); in reserve()
474 if (this->get_allocator() == __s.get_allocator()) in swap()
483 basic_string __tmp1(_M_ibegin(), _M_iend(), __s.get_allocator()); in swap()
485 this->get_allocator()); in swap()
H A Dstl_vector.h84 get_allocator() const { return _M_data_allocator; } in get_allocator() function
113 get_allocator() const { return allocator_type(); } in get_allocator() function
265 : _Base(__x.size(), __x.get_allocator()) in vector()
347 get_allocator() const { return _Base::get_allocator(); } in get_allocator() function
H A Dstl_list.h220 get_allocator() const { return _M_node_allocator; } in get_allocator() function
262 get_allocator() const { return allocator_type(); } in get_allocator() function
486 : _Base(__x.get_allocator()) in list()
561 get_allocator() const { return _Base::get_allocator(); } in get_allocator() function
H A Dstl_bvector.h273 allocator_type get_allocator() const { return _M_data_allocator; } in get_allocator() function
300 allocator_type get_allocator() const { return allocator_type(); } in get_allocator() function
363 allocator_type get_allocator() const { in get_allocator() function
364 return _Bvector_base<_Alloc>::get_allocator(); in get_allocator()
507 vector(const vector& __x) : _Bvector_base<_Alloc>(__x.get_allocator()) { in vector()
H A Dstl_deque.h353 allocator_type get_allocator() const { return _M_node_allocator; } in get_allocator() function
396 allocator_type get_allocator() const { return allocator_type(); } in get_allocator() function
724 : _Base(__x.get_allocator(), __x.size()) in deque()
802 get_allocator() const { return _Base::get_allocator(); } in get_allocator() function
H A Dstl_set.h142 allocator_type get_allocator() const { return _M_t.get_allocator(); } in get_allocator() function
H A Dstl_multimap.h234 get_allocator() const { return _M_t.get_allocator(); } in get_allocator() function
H A Dstl_map.h220 get_allocator() const { return _M_t.get_allocator(); } in get_allocator() function
H A Dstl_multiset.h145 allocator_type get_allocator() const { return _M_t.get_allocator(); } in get_allocator() function
/openbsd-src/gnu/lib/libstdc++/libstdc++/include/ext/
H A Dropeimpl.h418 __r->get_allocator()); in _S_leaf_concat_char_iter()
423 __r->get_allocator()); in _S_leaf_concat_char_iter()
467 __left->get_allocator()); in _S_tree_concat()
507 __r->get_allocator()); in _S_concat_char_iter()
535 __STL_ROPE_FROM_UNOWNED_CHAR_PTR(__s, __slen, __r->get_allocator()); in _S_concat_char_iter()
558 __r->get_allocator()); in _S_destr_concat_char_iter()
592 __STL_ROPE_FROM_UNOWNED_CHAR_PTR(__s, __slen, __r->get_allocator()); in _S_destr_concat_char_iter()
715 __base->get_allocator()); in _S_substring()
721 __base->get_allocator()); in _S_substring()
737 __base->get_allocator()); in _S_substring()
[all …]

123