/llvm-project/clang/test/Analysis/ |
H A D | malloc-annotations.cpp | 26 void af1(MemoryAllocator &Alloc) { in af1() 31 void af1_b(MemoryAllocator &Alloc) { in af1_b() 35 void af1_c(MemoryAllocator &Alloc) { in af1_c() 40 void af1_e(MemoryAllocator &Alloc, void **pp) { in af1_e() 44 void af1_f(MemoryAllocator &Alloc, struct stuff *somestuff) { in af1_f() 49 void af1_g(MemoryAllocator &Alloc, struct stuff **pps) { in af1_g() 54 void af2(MemoryAllocator &Alloc) { in af2() 60 void af2b(MemoryAllocator &Alloc) { in af2b() 66 void af2c(MemoryAllocator &Alloc) { in af2c() 73 void af2e(MemoryAllocator &Alloc) { in af2e() [all …]
|
/llvm-project/libcxx/test/libcxx/memory/ |
H A D | swap_allocator.pass.cpp | 27 Alloc() = default; in Alloc() argument 24 struct Alloc { global() struct 26 iAlloc global() argument 32 propagate_on_container_swapAlloc swap() argument
|
/llvm-project/libcxx/test/std/containers/associative/ |
H A D | iterator_types.pass.cpp | 61 typedef test_allocator<ValueTp> Alloc; in main() typedef 68 typedef min_allocator<ValueTp> Alloc; in main() typedef 80 typedef test_allocator<ValueTp> Alloc; in main() typedef 87 typedef min_allocator<ValueTp> Alloc; in main() typedef 99 typedef test_allocator<ValueTp> Alloc; in main() typedef 106 typedef min_allocator<ValueTp> Alloc; in main() typedef 118 typedef test_allocator<ValueTp> Alloc; in main() typedef 125 typedef min_allocator<ValueTp> Alloc; in main() typedef
|
/llvm-project/libcxx/test/std/containers/unord/ |
H A D | iterator_difference_type.pass.cpp | 84 typedef test_allocator<ValueTp> Alloc; in main() typedef 91 typedef min_allocator<ValueTp> Alloc; in main() typedef 103 typedef test_allocator<ValueTp> Alloc; in main() typedef 110 typedef min_allocator<ValueTp> Alloc; in main() typedef 122 typedef test_allocator<ValueTp> Alloc; in main() typedef 129 typedef min_allocator<ValueTp> Alloc; in main() typedef 141 typedef test_allocator<ValueTp> Alloc; in main() typedef 148 typedef min_allocator<ValueTp> Alloc; in main() typedef
|
/llvm-project/llvm/unittests/Support/ |
H A D | AllocatorTest.cpp | 18 BumpPtrAllocator Alloc; in TEST() local 50 BumpPtrAllocator Alloc; in TEST() local 62 BumpPtrAllocator Alloc; TEST() local 84 BumpPtrAllocator Alloc; TEST() local 107 BumpPtrAllocator Alloc; TEST() local 131 BumpPtrAllocator Alloc; TEST() local 144 BumpPtrAllocator Alloc; TEST() local 152 BumpPtrAllocator Alloc; TEST() local 168 BumpPtrAllocatorImpl<MallocAllocator, SlabSize, SlabSize, GrowthDelay> Alloc; TEST() local 195 BumpPtrAllocatorImpl<MallocAllocator, SlabSize, SlabSize, GrowthDelay> Alloc; TEST() local 248 BumpPtrAllocatorImpl<MockSlabAllocator> Alloc; TEST() local [all...] |
H A D | ThreadSafeAllocatorTest.cpp | 75 ThreadSafeAllocator<MockAllocator> Alloc; in TEST() local 79 [&](MockAllocator &Alloc) { C = &Alloc.getAllocCondition(); }); in TEST() 106 ThreadSafeAllocator<BumpPtrAllocator> Alloc; in TEST() local 119 Alloc.applyLocked([](BumpPtrAllocator &Alloc) { in TEST() 125 ThreadSafeAllocator<SpecificBumpPtrAllocator<int>> Alloc; in TEST() local
|
/llvm-project/libcxx/test/std/containers/unord/unord.set/unord.set.swap/ |
H A D | swap_non_member.pass.cpp | 32 typedef test_allocator<int> Alloc; in main() typedef 60 typedef test_allocator<int> Alloc; in main() typedef 110 typedef test_allocator<int> Alloc; in main() typedef 154 typedef test_allocator<int> Alloc; in main() typedef 220 typedef other_allocator<int> Alloc; in main() typedef 248 typedef other_allocator<int> Alloc; in main() typedef 296 typedef other_allocator<int> Alloc; in main() typedef 338 typedef other_allocator<int> Alloc; in main() typedef 400 typedef min_allocator<int> Alloc; in main() typedef 428 typedef min_allocator<int> Alloc; in main() typedef [all …]
|
/llvm-project/libcxx/test/std/containers/unord/unord.multiset/unord.multiset.swap/ |
H A D | swap_non_member.pass.cpp | 32 typedef test_allocator<int> Alloc; in main() typedef 60 typedef test_allocator<int> Alloc; in main() typedef 110 typedef test_allocator<int> Alloc; in main() typedef 154 typedef test_allocator<int> Alloc; in main() typedef 220 typedef other_allocator<int> Alloc; in main() typedef 248 typedef other_allocator<int> Alloc; in main() typedef 296 typedef other_allocator<int> Alloc; in main() typedef 338 typedef other_allocator<int> Alloc; in main() typedef 400 typedef min_allocator<int> Alloc; in main() typedef 428 typedef min_allocator<int> Alloc; in main() typedef [all …]
|
/llvm-project/libcxx/test/std/containers/unord/unord.map/ |
H A D | swap_member.pass.cpp | 34 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 62 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 110 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 152 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 214 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 242 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 290 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 332 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 394 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 422 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef [all …]
|
/llvm-project/libcxx/test/std/containers/unord/unord.set/ |
H A D | swap_member.pass.cpp | 32 typedef test_allocator<int> Alloc; in main() typedef 60 typedef test_allocator<int> Alloc; in main() typedef 108 typedef test_allocator<int> Alloc; in main() typedef 150 typedef test_allocator<int> Alloc; in main() typedef 212 typedef other_allocator<int> Alloc; in main() typedef 240 typedef other_allocator<int> Alloc; in main() typedef 288 typedef other_allocator<int> Alloc; in main() typedef 330 typedef other_allocator<int> Alloc; in main() typedef 392 typedef min_allocator<int> Alloc; in main() typedef 420 typedef min_allocator<int> Alloc; in main() typedef [all …]
|
/llvm-project/libcxx/test/std/containers/unord/unord.map/unord.map.swap/ |
H A D | swap_non_member.pass.cpp | 33 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 61 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 111 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 155 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 221 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 249 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 297 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 339 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 401 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 429 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef [all …]
|
/llvm-project/libcxx/test/std/containers/unord/unord.multiset/ |
H A D | swap_member.pass.cpp | 32 typedef test_allocator<int> Alloc; in main() typedef 60 typedef test_allocator<int> Alloc; in main() typedef 108 typedef test_allocator<int> Alloc; in main() typedef 150 typedef test_allocator<int> Alloc; in main() typedef 212 typedef other_allocator<int> Alloc; in main() typedef 240 typedef other_allocator<int> Alloc; in main() typedef 288 typedef other_allocator<int> Alloc; in main() typedef 330 typedef other_allocator<int> Alloc; in main() typedef 392 typedef min_allocator<int> Alloc; in main() typedef 420 typedef min_allocator<int> Alloc; in main() typedef [all …]
|
/llvm-project/libcxx/test/std/containers/unord/unord.multimap/unord.multimap.swap/ |
H A D | swap_non_member.pass.cpp | 36 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 64 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 114 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 163 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 234 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 262 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 310 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 357 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 424 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 452 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef [all …]
|
/llvm-project/libcxx/test/std/containers/unord/unord.multimap/ |
H A D | swap_member.pass.cpp | 36 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 64 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 112 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 168 typedef test_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 244 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 272 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 320 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 376 typedef other_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 452 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef 480 typedef min_allocator<std::pair<const int, std::string> > Alloc; in main() typedef [all …]
|
/llvm-project/llvm/unittests/ADT/ |
H A D | CoalescingBitVectorTest.cpp | 21 UBitVec::Allocator Alloc; in elementsMatch() local 40 UBitVec::Allocator Alloc; in TEST() local 53 UBitVec::Allocator Alloc; in TEST() local 63 UBitVec::Allocator Alloc; in TEST() local 73 UBitVec::Allocator Alloc; in TEST() local 86 UBitVec::Allocator Alloc; in TEST() local 135 UBitVec::Allocator Alloc; in TEST() local 160 UBitVec::Allocator Alloc; in TEST() local 200 UBitVec::Allocator Alloc; in TEST() local 292 UBitVec::Allocator Alloc; in TEST() local [all …]
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | StringSaver.h | 22 BumpPtrAllocator &Alloc; variable 25 StringSaver(BumpPtrAllocator &Alloc) : Alloc(Alloc) {} in StringSaver() 49 UniqueStringSaver(BumpPtrAllocator &Alloc) : Strings(Alloc) {} in UniqueStringSaver()
|
/llvm-project/clang/unittests/Basic/ |
H A D | LineOffsetMappingTest.cpp | 28 BumpPtrAllocator Alloc; in TEST() local 43 BumpPtrAllocator Alloc; in TEST() local 59 BumpPtrAllocator Alloc; in TEST() local 70 BumpPtrAllocator Alloc; in TEST() local
|
/llvm-project/libcxx/test/std/containers/sequences/vector/vector.cons/ |
H A D | assign_copy.pass.cpp | 38 using Alloc = NonPOCCAAllocator<int>; in tests() typedef 51 using Alloc = POCCAAllocator<int>; in tests() typedef 64 using Alloc = POCCAAllocator<int>; in tests() typedef
|
/llvm-project/libcxx/test/support/ |
H A D | asan_testing.h | 31 TEST_CONSTEXPR bool is_contiguous_container_asan_correct(const std::vector<T, Alloc>&) { in is_contiguous_container_asan_correct() argument 53 TEST_CONSTEXPR bool is_double_ended_contiguous_container_asan_correct(const std::deque<T, Alloc>&) { in is_double_ended_contiguous_container_asan_correct() argument 73 TEST_CONSTEXPR bool is_string_asan_correct(const std::basic_string<ChrT, TraitsT, Alloc>&) { in is_string_asan_correct() argument
|
H A D | deduction_guides_sfinae_checks.h | 68 using Alloc = std::allocator<T>; in SequenceContainerDeductionGuidesSfinaeAway() local 120 using Alloc [[maybe_unused]] = std::allocator<T>; in ContainerAdaptorDeductionGuidesSfinaeAway() local 171 using Alloc = std::allocator<ValueType>; in AssociativeContainerDeductionGuidesSfinaeAway() local 280 using Alloc = std::allocator<ValueType>; in UnorderedContainerDeductionGuidesSfinaeAway() local
|
/llvm-project/libcxx/test/std/containers/container.adaptors/queue/queue.cons/ |
H A D | deduct.pass.cpp | 79 typedef test_allocator<T> Alloc; in main() typedef 112 typedef test_allocator<T> Alloc; in main() typedef 146 typedef test_allocator<T> Alloc; in main() typedef 165 using Alloc = test_allocator<int>; in main() typedef
|
/llvm-project/libcxx/test/std/containers/container.adaptors/stack/stack.cons/ |
H A D | deduct.pass.cpp | 83 typedef test_allocator<T> Alloc; in main() typedef 116 typedef test_allocator<T> Alloc; in main() typedef 150 typedef test_allocator<T> Alloc; in main() typedef 169 using Alloc = test_allocator<int>; in main() typedef
|
/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
H A D | destroy_at.pass.cpp | 45 using Alloc = std::allocator<Array>; in test_arrays() typedef 63 using Alloc = std::allocator<Array>; in test_arrays() typedef 86 using Alloc = std::allocator<Counted>; in test() typedef 107 using Alloc = std::allocator<DerivedCounted>; in test() typedef
|
/llvm-project/libcxx/test/libcxx/containers/sequences/vector/vector.cons/ |
H A D | construct_iter_iter.pass.cpp | 24 typedef C::allocator_type Alloc; in test_ctor_under_alloc() typedef 38 typedef C::allocator_type Alloc; in test_ctor_under_alloc() typedef
|
H A D | construct_iter_iter_alloc.pass.cpp | 25 typedef C::allocator_type Alloc; in test_ctor_under_alloc() typedef 40 typedef C::allocator_type Alloc; in test_ctor_under_alloc() typedef
|