/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/abseil-cpp/absl/container/internal/ |
D | counting_allocator.h | 34 class CountingAllocator : public std::allocator<T> { 40 CountingAllocator() : bytes_used_(nullptr) {} in CountingAllocator() function 41 explicit CountingAllocator(int64_t* b) : bytes_used_(b) {} in CountingAllocator() function 44 CountingAllocator(const CountingAllocator<U>& x) in CountingAllocator() function 63 using other = CountingAllocator<U>; 66 friend bool operator==(const CountingAllocator& a, 67 const CountingAllocator& b) { 71 friend bool operator!=(const CountingAllocator& a, 72 const CountingAllocator& b) {
|
/external/webrtc/third_party/abseil-cpp/absl/container/internal/ |
D | counting_allocator.h | 34 class CountingAllocator : public std::allocator<T> { 40 CountingAllocator() : bytes_used_(nullptr) {} in CountingAllocator() function 41 explicit CountingAllocator(int64_t* b) : bytes_used_(b) {} in CountingAllocator() function 44 CountingAllocator(const CountingAllocator<U>& x) in CountingAllocator() function 63 using other = CountingAllocator<U>; 66 friend bool operator==(const CountingAllocator& a, 67 const CountingAllocator& b) { 71 friend bool operator!=(const CountingAllocator& a, 72 const CountingAllocator& b) {
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | counting_allocator.h | 33 class CountingAllocator { 43 CountingAllocator() = default; 44 explicit CountingAllocator(int64_t* bytes_used) : bytes_used_(bytes_used) {} in CountingAllocator() function 45 CountingAllocator(int64_t* bytes_used, int64_t* instance_count) in CountingAllocator() function 49 CountingAllocator(const CountingAllocator<U>& x) in CountingAllocator() function 92 using other = CountingAllocator<U>; 95 friend bool operator==(const CountingAllocator& a, 96 const CountingAllocator& b) { 101 friend bool operator!=(const CountingAllocator& a, 102 const CountingAllocator& b) {
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | counting_allocator.h | 33 class CountingAllocator { 43 CountingAllocator() = default; 44 explicit CountingAllocator(int64_t* bytes_used) : bytes_used_(bytes_used) {} in CountingAllocator() function 45 CountingAllocator(int64_t* bytes_used, int64_t* instance_count) in CountingAllocator() function 49 CountingAllocator(const CountingAllocator<U>& x) in CountingAllocator() function 92 using other = CountingAllocator<U>; 95 friend bool operator==(const CountingAllocator& a, 96 const CountingAllocator& b) { 101 friend bool operator!=(const CountingAllocator& a, 102 const CountingAllocator& b) {
|
/external/libtextclassifier/abseil-cpp/absl/container/internal/ |
D | counting_allocator.h | 33 class CountingAllocator { 43 CountingAllocator() = default; 44 explicit CountingAllocator(int64_t* bytes_used) : bytes_used_(bytes_used) {} in CountingAllocator() function 45 CountingAllocator(int64_t* bytes_used, int64_t* instance_count) in CountingAllocator() function 49 CountingAllocator(const CountingAllocator<U>& x) in CountingAllocator() function 92 using other = CountingAllocator<U>; 95 friend bool operator==(const CountingAllocator& a, 96 const CountingAllocator& b) { 101 friend bool operator!=(const CountingAllocator& a, 102 const CountingAllocator& b) {
|
/external/llvm-project/libcxx/test/support/ |
D | controlled_allocators.h | 31 class CountingAllocator; variable 219 class CountingAllocator 226 struct rebind { using other = CountingAllocator<U, ID>; }; 228 CountingAllocator() = delete; 229 explicit CountingAllocator(AllocController& PP) : P(&PP) {} in CountingAllocator() function 231 CountingAllocator(CountingAllocator const& other) : P(other.P) { in CountingAllocator() function 235 CountingAllocator(CountingAllocator&& other) : P(other.P) { in CountingAllocator() function 240 CountingAllocator(CountingAllocator<U, ID> const& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() function 245 CountingAllocator(CountingAllocator<U, ID>&& other) TEST_NOEXCEPT : P(other.P) { in CountingAllocator() function 278 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_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_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_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/llvm-project/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | construct_type.pass.cpp | 35 using VoidAlloc2 = CountingAllocator<void, 2>; in test_bullet_one() 41 using Outer = CountingAllocator<T, 1>; in test_bullet_one() 42 using Inner = CountingAllocator<T, 2>; in test_bullet_one() 68 using VoidAlloc2 = CountingAllocator<void, 2>; in test_bullet_two() 74 using Outer = CountingAllocator<T, 1>; in test_bullet_two() 75 using Inner = CountingAllocator<T, 2>; in test_bullet_two() 101 using VoidAlloc2 = CountingAllocator<void, 2>; in test_bullet_three() 107 using Outer = CountingAllocator<T, 1>; in test_bullet_three() 108 using Inner = CountingAllocator<T, 2>; in test_bullet_three()
|
D | construct_pair.pass.cpp | 33 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 39 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 41 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 62 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 64 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 83 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 91 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 92 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 118 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 119 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_const_lvalue_pair.pass.cpp | 33 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 42 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 44 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 69 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 71 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() 102 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 103 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 133 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 134 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_values.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() 66 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 68 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 87 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 97 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 98 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 126 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 127 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_rvalue.pass.cpp | 33 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 42 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 44 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 69 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 71 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() 102 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 103 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 133 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 134 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
D | construct_pair_piecewise.pass.cpp | 34 using VoidAlloc = CountingAllocator<void>; in test_no_inner_alloc() 42 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 44 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 69 using Alloc = CountingAllocator<Pair>; in test_no_inner_alloc() 71 static_assert(std::uses_allocator<T, CountingAllocator<T> >::value, ""); in test_no_inner_alloc() 92 using VoidAlloc2 = CountingAllocator<void, 2>; in test_with_inner_alloc() 102 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 103 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc() 133 using Outer = CountingAllocator<Pair, 1>; in test_with_inner_alloc() 134 using Inner = CountingAllocator<Pair, 2>; in test_with_inner_alloc()
|
/external/abseil-cpp/absl/container/ |
D | fixed_array_test.cc | 631 class CountingAllocator : public std::allocator<T> { class 637 CountingAllocator() : bytes_used_(nullptr), instance_count_(nullptr) {} in CountingAllocator() function in __anon4d9680240111::CountingAllocator 638 explicit CountingAllocator(int64_t* b) in CountingAllocator() function in __anon4d9680240111::CountingAllocator 640 CountingAllocator(int64_t* b, int64_t* a) in CountingAllocator() function in __anon4d9680240111::CountingAllocator 644 explicit CountingAllocator(const CountingAllocator<U>& x) in CountingAllocator() function in __anon4d9680240111::CountingAllocator 679 using other = CountingAllocator<U>; 688 using Alloc = CountingAllocator<int>; in TEST() 709 using Alloc = CountingAllocator<int>; in TEST() 730 using Alloc = CountingAllocator<int>; in TEST() 758 using Alloc = CountingAllocator<int>; in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/container/ |
D | fixed_array_test.cc | 631 class CountingAllocator : public std::allocator<T> { class 637 CountingAllocator() : bytes_used_(nullptr), instance_count_(nullptr) {} in CountingAllocator() function in __anon24a5a0b30111::CountingAllocator 638 explicit CountingAllocator(int64_t* b) in CountingAllocator() function in __anon24a5a0b30111::CountingAllocator 640 CountingAllocator(int64_t* b, int64_t* a) in CountingAllocator() function in __anon24a5a0b30111::CountingAllocator 644 explicit CountingAllocator(const CountingAllocator<U>& x) in CountingAllocator() function in __anon24a5a0b30111::CountingAllocator 679 using other = CountingAllocator<U>; 688 using Alloc = CountingAllocator<int>; in TEST() 709 using Alloc = CountingAllocator<int>; in TEST() 730 using Alloc = CountingAllocator<int>; in TEST() 758 using Alloc = CountingAllocator<int>; in TEST() [all …]
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/ |
D | do_is_equal.pass.cpp | 31 typedef CountingAllocator<char> Alloc1; in main() 32 typedef CountingAllocator<int> RAlloc1; in main()
|
/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()
|
/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()
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/ |
D | default.pass.cpp | 31 typedef CountingAllocator<char> AllocT; // Not default constructible in main()
|