/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_allocator.cpp | 54 static AsanAllocator &get_allocator(); 224 void *p = get_allocator().GetBlockBegin(m); in Recycle() 228 if (get_allocator().FromPrimary(p)) { in Recycle() 251 get_allocator().Deallocate(cache_, p); in Recycle() 257 if (get_allocator().FromPrimary(m)) { in RecyclePassThrough() 265 void *res = get_allocator().Allocate(cache_, size, 1); in Allocate() 272 void Deallocate(void *p) const { get_allocator().Deallocate(cache_, p); } in Deallocate() 714 !get_allocator().PointerIsMine(ptr)) { in Deallocate() 911 static AsanAllocator &get_allocator() { in get_allocator() function 1125 __asan::get_allocator().ForceLock(); in LockAllocator() [all …]
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | set | 153 allocator_type get_allocator() const noexcept; 398 allocator_type get_allocator() const noexcept; 772 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 777 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 790 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 796 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 802 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 808 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 815 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return __tree_.__alloc(); } 944 if (__a != __s.get_allocator()) { [all …]
|
H A D | unordered_set | 105 allocator_type get_allocator() const noexcept; 353 allocator_type get_allocator() const noexcept; 730 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { 786 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 791 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 805 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 811 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 817 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 823 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1080 if (__a != __u.get_allocator()) { [all …]
|
H A D | map | 192 allocator_type get_allocator() const noexcept; 454 allocator_type get_allocator() const noexcept; 1159 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(__tre… 1317 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1322 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1335 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1341 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1347 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1353 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1503 if (__a != __m.get_allocator()) { [all …]
|
H A D | unordered_map | 111 allocator_type get_allocator() const noexcept; 397 allocator_type get_allocator() const noexcept; 1201 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { 1330 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1335 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1349 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1355 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1361 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1367 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1667 if (__a != __u.get_allocator()) { [all …]
|
H A D | syncstream | 62 allocator_type get_allocator() const noexcept; 300 …aits<_Allocator>::propagate_on_container_swap::value || get_allocator() == __other.get_allocator(), 314 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const noexcept { return __str_.get_allocator(…
|
H A D | __node_handle | 45 allocator_type get_allocator() const; 146 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return *__alloc_; }
|
H A D | sstream | 68 allocator_type get_allocator() const noexcept; // C++20 363 : __str_(__s.get_allocator()), __hm_(nullptr), __mode_(__wch) { 448 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const noexcept { return __str_.get_allocator(… 454 _LIBCPP_HIDE_FROM_ABI string_type str() const& { return str(__str_.get_allocator()); } 459 …n C++23, this is just string_type(std::move(__str_), __pos, __view.size(), __str_.get_allocator()); 461 string_type __result(std::move(__str_), __str_.get_allocator()); 690 return string_type(this->pbase(), __hm_, __str_.get_allocator()); 692 return string_type(this->eback(), this->egptr(), __str_.get_allocator()); 693 return string_type(__str_.get_allocator());
|
H A D | list | 74 allocator_type get_allocator() const noexcept; 754 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT; 1059 if (__a == __c.get_allocator()) 1135 inline _Alloc list<_Tp, _Alloc>::get_allocator() const _NOEXCEPT { 1473 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1493 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1513 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
|
H A D | vector | 67 allocator_type get_allocator() const noexcept; 199 allocator_type get_allocator() const noexcept; 605 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT… 2029 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator_type get_allocator() const _NOEXCEPT… 2581 vector __v(get_allocator()); 2634 vector __v(this->get_allocator()); 2687 vector __v(get_allocator()); 2709 vector __v(get_allocator()); 2738 vector __v(get_allocator()); 2783 vector __v(get_allocator()); [all …]
|
H A D | forward_list | 73 allocator_type get_allocator() const noexcept; 739 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(base:… 1316 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1339 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1363 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing
|
H A D | string | 291 …allocator_type get_allocator() const noexcept; // con… 1712 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator_type get_allocator() const _NOEXCEPT… 3996 … _String::__alloc_traits::select_on_container_copy_construction(__lhs.get_allocator())); 4012 … _String::__alloc_traits::select_on_container_copy_construction(__rhs.get_allocator())); 4027 … _String::__alloc_traits::select_on_container_copy_construction(__rhs.get_allocator())); 4043 … _String::__alloc_traits::select_on_container_copy_construction(__lhs.get_allocator())); 4058 … _String::__alloc_traits::select_on_container_copy_construction(__lhs.get_allocator())); 4125 … _String::__alloc_traits::select_on_container_copy_construction(__lhs.get_allocator())); 4150 … _String::__alloc_traits::select_on_container_copy_construction(__rhs.get_allocator()));
|
H A D | deque | 74 allocator_type get_allocator() const noexcept; 694 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT; 1454 inline _Allocator deque<_Tp, _Allocator>::get_allocator() const _NOEXCEPT {
|
H A D | regex | 530 allocator_type get_allocator() const; 4651 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return __matches_.get_allocator(); }
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
H A D | memprof_allocator.cpp | 110 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/ext/ |
H A D | hash_set | 53 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 D | hash_map | 57 allocator_type get_allocator() const; 147 allocator_type get_allocator() const; 508 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node… 733 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
|
/freebsd/contrib/llvm-project/libcxx/include/experimental/ |
H A D | memory_resource |
|