| /freebsd-14.2/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() 714 !get_allocator().PointerIsMine(ptr)) { in Deallocate() 903 static AsanAllocator &get_allocator() { in get_allocator() function 1117 __asan::get_allocator().ForceLock(); in LockAllocator() 1121 __asan::get_allocator().ForceUnlock(); in UnlockAllocator() 1125 *begin = (uptr)&__asan::get_allocator(); in GetAllocatorGlobalRange() [all …]
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | set | 775 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 780 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 793 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 799 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 805 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 811 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 947 if (__a != __s.get_allocator()) { 1233 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1238 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1251 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); [all …]
|
| H A D | unordered_set | 790 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 795 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 809 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 815 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 821 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 827 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1090 if (__a != __u.get_allocator()) { 1386 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1391 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1405 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); [all …]
|
| H A D | map | 1322 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1327 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1340 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1346 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1352 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1358 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1509 if (__a != __m.get_allocator()) { 1912 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1917 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1930 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); [all …]
|
| H A D | unordered_map | 1335 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1340 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 1354 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1360 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1366 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1372 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); 1678 if (__a != __u.get_allocator()) { 2086 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 2091 _LIBCPP_ASSERT_COMPATIBLE_ALLOCATOR(__nh.empty() || __nh.get_allocator() == get_allocator(), 2105 … __source.get_allocator() == get_allocator(), "merging container with incompatible allocator"); [all …]
|
| H A D | syncstream | 62 allocator_type get_allocator() const noexcept; 298 …aits<_Allocator>::propagate_on_container_swap::value || get_allocator() == __other.get_allocator(), 312 …_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 | 59 allocator_type get_allocator() const noexcept; // C++20 329 : __str_(__s.get_allocator()), __hm_(nullptr), __mode_(__wch) { 388 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const noexcept { return __str_.get_allocator(… 394 _LIBCPP_HIDE_FROM_ABI_SSTREAM string_type str() const& { return str(__str_.get_allocator()); } 399 …n C++23, this is just string_type(std::move(__str_), __pos, __view.size(), __str_.get_allocator()); 401 string_type __result(std::move(__str_), __str_.get_allocator()); 618 return string_type(this->pbase(), __hm_, __str_.get_allocator()); 620 return string_type(this->eback(), this->egptr(), __str_.get_allocator()); 621 return string_type(__str_.get_allocator());
|
| H A D | list | 74 allocator_type get_allocator() const noexcept; 766 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT; 1079 if (__a == __c.get_allocator()) 1156 inline _Alloc list<_Tp, _Alloc>::get_allocator() const _NOEXCEPT { 1495 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1515 list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1535 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; 565 …_LIBCPP_CONSTEXPR_SINCE_CXX20 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT… 1983 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator_type get_allocator() const _NOEXCEPT… 2535 vector __v(get_allocator()); 2588 vector __v(this->get_allocator()); 2641 vector __v(get_allocator()); 2663 vector __v(get_allocator()); 2692 vector __v(get_allocator()); 2737 vector __v(get_allocator()); [all …]
|
| H A D | forward_list | 73 allocator_type get_allocator() const noexcept; 752 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT { return allocator_type(base:… 1335 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1358 forward_list<_Tp, _Alloc> __deleted_nodes(get_allocator()); // collect the nodes we're removing 1382 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… 1605 …_LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 allocator_type get_allocator() const _NOEXCEPT… 3872 … _String::__alloc_traits::select_on_container_copy_construction(__lhs.get_allocator())); 3888 … _String::__alloc_traits::select_on_container_copy_construction(__rhs.get_allocator())); 3903 … _String::__alloc_traits::select_on_container_copy_construction(__rhs.get_allocator())); 3919 … _String::__alloc_traits::select_on_container_copy_construction(__lhs.get_allocator())); 3934 … _String::__alloc_traits::select_on_container_copy_construction(__lhs.get_allocator()));
|
| H A D | deque | 74 allocator_type get_allocator() const noexcept; 662 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const _NOEXCEPT; 1451 inline _Allocator deque<_Tp, _Allocator>::get_allocator() const _NOEXCEPT {
|
| H A D | regex | 530 allocator_type get_allocator() const; 4657 _LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return __matches_.get_allocator(); }
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_allocator.cpp | 98 static MemprofAllocator &get_allocator(); 148 return get_allocator().GetBlockBegin(reinterpret_cast<void *>(this)); in AllocBeg() 581 static MemprofAllocator &get_allocator() { return instance.allocator; } in get_allocator() function
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ext/ |
| H A D | hash_set | 53 allocator_type get_allocator() const; 139 allocator_type get_allocator() const; 268 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node… 448 …_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; 509 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node… 734 …_LIBCPP_HIDE_FROM_ABI allocator_type get_allocator() const { return allocator_type(__table_.__node…
|