/external/libcxx/test/support/ |
D | controlled_allocators.hpp | 32 class CountingAllocator; 220 class CountingAllocator class 227 struct rebind { using other = CountingAllocator<U, ID>; }; 229 CountingAllocator() = delete; 230 explicit CountingAllocator(AllocController& PP) : P(&PP) {} in CountingAllocator() function in CountingAllocator 232 CountingAllocator(CountingAllocator const& other) : P(other.P) { in CountingAllocator() function in CountingAllocator 236 CountingAllocator(CountingAllocator&& other) : P(other.P) { in CountingAllocator() function in CountingAllocator 241 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() function in CountingAllocator 246 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() function in CountingAllocator 279 template <class Tp, size_t XID> friend class CountingAllocator; [all …]
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | construct_type.pass.cpp | 34 using VoidAlloc2 = CountingAllocator<void, 2>; in test_bullet_one() 40 using Outer = CountingAllocator<T, 1>; in test_bullet_one() 41 using Inner = CountingAllocator<T, 2>; in test_bullet_one() 67 using VoidAlloc2 = CountingAllocator<void, 2>; in test_bullet_two() 73 using Outer = CountingAllocator<T, 1>; in test_bullet_two() 74 using Inner = CountingAllocator<T, 2>; in test_bullet_two() 100 using VoidAlloc2 = CountingAllocator<void, 2>; in test_bullet_three() 106 using Outer = CountingAllocator<T, 1>; in test_bullet_three() 107 using Inner = CountingAllocator<T, 2>; in test_bullet_three()
|
D | construct_pair.pass.cpp | 32 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 38 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 40 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 61 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 63 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 82 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 90 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 91 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 117 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 118 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_rvalue.pass.cpp | 32 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 41 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 43 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 68 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 70 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 90 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 101 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 102 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 132 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 133 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_piecewise.pass.cpp | 33 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 41 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 43 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 68 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 70 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 91 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 101 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 102 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 132 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 133 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_const_lvalue_pair.pass.cpp | 32 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 41 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 43 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 68 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 70 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 90 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 101 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 102 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 132 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 133 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_values.pass.cpp | 32 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 40 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 42 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 65 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 67 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 86 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 96 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 97 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 125 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 126 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
D | do_is_equal.pass.cpp | 30 typedef CountingAllocator<char> Alloc1; in main() 31 typedef CountingAllocator<int> RAlloc1; in main()
|
D | do_allocate_and_deallocate.pass.cpp | 112 check_allocate_deallocate<CountingAllocator<char>>(); in main()
|
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/ |
D | default.pass.cpp | 30 typedef CountingAllocator<char> AllocT; // Not default constructible in main()
|
D | alloc_move.pass.cpp | 27 typedef CountingAllocator<char> AllocT; in main()
|
D | alloc_copy.pass.cpp | 27 typedef CountingAllocator<char> AllocT; in main()
|