Home
last modified time | relevance | path

Searched defs:test_allocator (Results 1 – 4 of 4) sorted by relevance

/llvm-project/libcxx/test/std/input.output/syncstream/syncbuf/
H A Dhelpers.h34 struct test_allocator : std::allocator<T> { struct
36 test_allocator(int _id = 0) : id(_id) {} in id() argument
/llvm-project/libcxx/test/support/
H A Dtest_allocator.h72 friend class test_allocator; variable
90 TEST_CONSTEXPR_CXX14 explicit test_allocator(test_allocator_statistics* stats) TEST_NOEXCEPT : stats_(stats) { in test_allocator() function
95 TEST_CONSTEXPR explicit test_allocator(int data) TEST_NOEXCEPT : data_(data) {} in test_allocator() function
97 TEST_CONSTEXPR_CXX14 explicit test_allocator(int data, test_allocator_statistics* stats) TEST_NOEXCEPT in test_allocator() function
103 TEST_CONSTEXPR explicit test_allocator(int data, int id) TEST_NOEXCEPT : data_(data), id_(id) {} test_allocator() function
105 TEST_CONSTEXPR_CXX14 explicit test_allocator(int data, int id, test_allocator_statistics* stats) TEST_NOEXCEPT test_allocator() function
111 TEST_CONSTEXPR_CXX14 test_allocator(const test_allocator& a) TEST_NOEXCEPT test_allocator() function
121 TEST_CONSTEXPR_CXX14 test_allocator(test_allocator&& a) TEST_NOEXCEPT : data_(a.data_), id_(a.id_), stats_(a.stats_) { test_allocator() function
133 TEST_CONSTEXPR_CXX14 test_allocator(const test_allocator<U>& a) TEST_NOEXCEPT test_allocator() function
206 friend class test_allocator; global() variable
222 TEST_CONSTEXPR_CXX14 explicit test_allocator(test_allocator_statistics* stats) TEST_NOEXCEPT : stats_(stats) {} test_allocator() function
224 TEST_CONSTEXPR explicit test_allocator(int data) TEST_NOEXCEPT : data_(data) {} test_allocator() function
226 TEST_CONSTEXPR explicit test_allocator(int data, test_allocator_statistics* stats) TEST_NOEXCEPT test_allocator() function
230 TEST_CONSTEXPR explicit test_allocator(int data, int id) : data_(data), id_(id) {} test_allocator() function
232 TEST_CONSTEXPR_CXX14 explicit test_allocator(int data, int id, test_allocator_statistics* stats) TEST_NOEXCEPT test_allocator() function
236 TEST_CONSTEXPR_CXX14 explicit test_allocator(const test_allocator& a) TEST_NOEXCEPT test_allocator() function
241 TEST_CONSTEXPR_CXX14 test_allocator(const test_allocator<U>& a) TEST_NOEXCEPT test_allocator() function
[all...]
/llvm-project/libcxx/test/std/input.output/syncstream/syncbuf/syncstream.syncbuf.assign/
H A Dassign.pass.cpp28 struct test_allocator : std::allocator<T> { struct
33 test_allocator(int _id = -1) : id(_id) {} in test_allocator() function
38 test_allocator& operator=(test_allocator&& other) { in operator =() argument
/llvm-project/libcxx/test/libcxx/diagnostics/
H A Dmemory.nodiscard.verify.cpp32 void test_allocator() { test_allocator() function