Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_allocator.cpp55 static AsanAllocator &get_allocator();
225 void *p = get_allocator().GetBlockBegin(m); in Recycle()
229 if (get_allocator().FromPrimary(p)) { in Recycle()
252 get_allocator().Deallocate(cache_, p); in Recycle()
258 if (get_allocator().FromPrimary(m)) { in RecyclePassThrough()
266 void *res = get_allocator().Allocate(cache_, size, 1); in Allocate()
273 void Deallocate(void *p) const { get_allocator().Deallocate(cache_, p); } in Deallocate()
720 !get_allocator().PointerIsMine(ptr)) { in Deallocate()
918 static AsanAllocator &get_allocator() { in get_allocator() function
1137 __asan::get_allocator().ForceLock(); in LockAllocator()
[all …]
/freebsd/contrib/llvm-project/libcxx/include/
H A Dset153 allocator_type get_allocator() const noexcept;
398 allocator_type get_allocator() const noexcept;
779 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
784 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
797 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
803 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
809 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
815 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
822 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return __tree_.__alloc(); }
951 if (__a != __s.get_allocator()) {
[all …]
H A Dunordered_set105 allocator_type get_allocator() const noexcept;
353 allocator_type get_allocator() const noexcept;
746 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT {
802 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
807 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
821 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
827 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
833 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
839 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1096 if (__a != __u.get_allocator()) {
[all …]
H A Dmap192 allocator_type get_allocator() const noexcept;
454 allocator_type get_allocator() const noexcept;
1043 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(__tre…
1201 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
1206 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
1219 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1225 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1231 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1237 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1387 if (__a != __m.get_allocator()) {
[all …]
H A Dunordered_map111 allocator_type get_allocator() const noexcept;
397 allocator_type get_allocator() const noexcept;
1123 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT {
1252 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
1257 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(),
1271 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1277 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1283 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1289 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator");
1589 if (__a != __u.get_allocator()) {
[all …]
H A Dsyncstream64 allocator_type get_allocator() const noexcept;
308 …aits<_Allocator>::propagate_on_container_swap::value || get_allocator() == __other.get_allocator(),
322 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const noexcept { return __str_.get_allocator(…
H A D__node_handle45 allocator_type get_allocator() const;
147 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return *__alloc_; }
H A Dsstream68 allocator_type get_allocator() const noexcept; // C++20
377 : __str_(__s.get_allocator()), __hm_(nullptr), __mode_(__wch) {
464 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const noexcept { return __str_.get_allocator(…
470 _LIBCPP_HIDE_FROM_ABI string_type str() const& { return str(__str_.get_allocator()); }
475 …n C++23, this is just string_type(std::move(__str_), __pos, __view.size(), __str_.get_allocator());
477 string_type __result(std::move(__str_), __str_.get_allocator());
706 return string_type(this->pbase(), __hm_, __str_.get_allocator());
708 return string_type(this->eback(), this->egptr(), __str_.get_allocator());
709 return string_type(__str_.get_allocator());
H A Dvector67 allocator_type get_allocator() const noexcept;
198 allocator_type get_allocator() const noexcept;
H A Dlist74 allocator_type get_allocator() const noexcept;
789 …_LIBCPP_CONSTEXPR_SINCE_CXX26 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT;
1135 if (__a == __c.get_allocator())
1213 _LIBCPP_CONSTEXPR_SINCE_CXX26 inline _Alloc list<_Tp, _Alloc>::get_allocator() const _NOEXCEPT {
1560 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1581 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1602 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
H A Dforward_list73 allocator_type get_allocator() const noexcept;
747 …_LIBCPP_CONSTEXPR_SINCE_CXX26 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT…
1367 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1391 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1415 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
/freebsd/contrib/llvm-project/libcxx/include/__vector/
H A Dvector_bool.h237 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator_type get_allocator() const _NOEXCEPT…
797 vector __v(get_allocator());
850 vector __v(this->get_allocator());
906 vector __v(get_allocator());
928 vector __v(get_allocator());
957 vector __v(get_allocator());
1002 vector __v(get_allocator());
1061 vector __v(get_allocator());
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_allocator.cpp110 static MemprofAllocator &get_allocator();
160 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg()
642 static MemprofAllocator &get_allocator() { return instance.allocator; } in get_allocator() function
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/ext/
H A Dhash_set53 allocator_type get_allocator() const;
139 allocator_type get_allocator() const;
267 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
447 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
H A Dhash_map57 allocator_type get_allocator() const;
147 allocator_type get_allocator() const;
501 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
726 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
/freebsd/contrib/llvm-project/libcxx/include/ext/
H A Dhash_set53 allocator_type get_allocator() const;
139 allocator_type get_allocator() const;
270 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
450 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
H A Dhash_map57 allocator_type get_allocator() const;
147 allocator_type get_allocator() const;
511 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
736 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dsstream68 allocator_type get_allocator() const noexcept; // C++20
363 : __str_(__s.get_allocator()), __hm_(nullptr), __mode_(__wch) {
554 return string_type(this->pbase(), __hm_, __str_.get_allocator());
556 return string_type(this->eback(), this->egptr(), __str_.get_allocator());
557 return string_type(__str_.get_allocator());
H A Dvector67 allocator_type get_allocator() const noexcept;
199 allocator_type get_allocator() const noexcept;
509 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return this->__alloc(); }
1685 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(this-…
2084 vector __v(get_allocator());
2136 vector __v(this->get_allocator());
2189 vector __v(get_allocator());
2211 vector __v(get_allocator());
2240 vector __v(get_allocator());
2284 vector __v(get_allocator());
[all …]
H A Dforward_list73 allocator_type get_allocator() const noexcept;
633 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(base:…
1020 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1043 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1067 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
H A Dlist74 allocator_type get_allocator() const noexcept;
667 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT;
882 inline _Alloc list<_Tp, _Alloc>::get_allocator() const _NOEXCEPT {
1144 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1164 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
1184 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
H A Dset153 allocator_type get_allocator() const noexcept;
398 allocator_type get_allocator() const noexcept;
655 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return __tree_.__alloc(); }
836 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return __tree_.__alloc(); }
H A Dunordered_set105 allocator_type get_allocator() const noexcept;
353 allocator_type get_allocator() const noexcept;
638 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT {
866 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT {
H A Dmap192 allocator_type get_allocator() const noexcept;
454 allocator_type get_allocator() const noexcept;
963 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(__tre…
1224 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(__tre…
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dmemory_resource

12