Home
last modified time | relevance | path

Searched refs:limited_allocator (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.cons/
H A Dconstruct_size_value.pass.cpp37 test<std::vector<int, limited_allocator<int, 50 + 1> > >(0, 5); in tests()
38 test<std::vector<int, limited_allocator<int, 50 + 1> > >(50, 5); in tests()
39 test<std::vector<int, limited_allocator<int, 50 + 1> > >(50, 5); in tests()
H A Dconstruct_iter_iter.pass.cpp60 test<std::vector<int, limited_allocator<int, 63> > >( in basic_test_cases()
63 test<std::vector<int, limited_allocator<int, 18 + 1> > >( in basic_test_cases()
65 test<std::vector<int, limited_allocator<int, 18 + 1> > >( in basic_test_cases()
68 test<std::vector<int, limited_allocator<int, 18 + 1> > >( in basic_test_cases()
71 test<std::vector<int, limited_allocator<int, 18 + 1> > >(a, an); in basic_test_cases()
/llvm-project-15.0.7/libcxx/test/support/
H A Dtest_allocator.h505 class limited_allocator {
507 friend class limited_allocator; variable
522 typedef limited_allocator<U, N> other;
525 TEST_CONSTEXPR_CXX20 limited_allocator() : handle_(detail::make_thread_unsafe_shared<BuffT>()) {} in limited_allocator() function
527 limited_allocator(limited_allocator const&) = default;
530 …TEST_CONSTEXPR explicit limited_allocator(limited_allocator<U, N> const& other) : handle_(other.ha… in limited_allocator() function
532 limited_allocator& operator=(const limited_allocator&) = delete;
541 TEST_CONSTEXPR inline bool operator==(limited_allocator<T, N> const& LHS, limited_allocator<U, N> c…
546 TEST_CONSTEXPR inline bool operator!=(limited_allocator<T, N> const& LHS, limited_allocator<U, N> c…
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/deque/deque.capacity/
H A Dmax_size.pass.cpp23 typedef limited_allocator<int, 10> A; in main()
30 typedef limited_allocator<int, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/list/list.capacity/
H A Dmax_size.pass.cpp23 typedef limited_allocator<int, 10> A; in main()
30 typedef limited_allocator<int, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/forwardlist/
H A Dmax_size.pass.cpp24 typedef limited_allocator<int, 10> A; in main()
31 typedef limited_allocator<int, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/set/
H A Dmax_size.pass.cpp26 typedef limited_allocator<int, 10> A; in main()
33 typedef limited_allocator<int, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multiset/
H A Dmax_size.pass.cpp26 typedef limited_allocator<int, 10> A; in main()
33 typedef limited_allocator<int, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.capacity/
H A Dmax_size.pass.cpp24 typedef limited_allocator<int, 10> A; in test()
31 typedef limited_allocator<int, (size_t)-1> A; in test()
H A Dshrink_to_fit.pass.cpp31 std::vector<int, limited_allocator<int, 401> > v(100); in tests()
41 std::vector<int, limited_allocator<int, 400> > v(100); in tests()
H A Dresize_size.pass.cpp36 std::vector<int, limited_allocator<int, 300 + 1> > v(100); in tests()
60 std::vector<MoveOnly, limited_allocator<MoveOnly, 300 + 1> > v(100); in tests()
H A Dreserve.pass.cpp41 std::vector<int, limited_allocator<int, 250 + 1> > v(100); in tests()
105 std::vector<int, limited_allocator<int, 100> > v; in tests()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multiset/
H A Dmax_size.pass.cpp26 typedef limited_allocator<int, 10> A; in main()
35 typedef limited_allocator<int, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.set/
H A Dmax_size.pass.cpp26 typedef limited_allocator<int, 10> A; in main()
33 typedef limited_allocator<int, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/multimap/
H A Dmax_size.pass.cpp27 typedef limited_allocator<KV, 10> A; in main()
34 typedef limited_allocator<KV, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/associative/map/map.access/
H A Dmax_size.pass.cpp27 typedef limited_allocator<KV, 10> A; in main()
34 typedef limited_allocator<KV, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.multimap/
H A Dmax_size.pass.cpp27 typedef limited_allocator<KV, 10> A; in main()
36 typedef limited_allocator<KV, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/unord/unord.map/
H A Dmax_size.pass.cpp27 typedef limited_allocator<KV, 10> A; in main()
35 typedef limited_allocator<KV, (size_t)-1> A; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/sequences/vector/vector.modifiers/
H A Dinsert_iter_rvalue.pass.cpp40 std::vector<MoveOnly, limited_allocator<MoveOnly, 300> > v(100); in tests()
41 …std::vector<MoveOnly, limited_allocator<MoveOnly, 300> >::iterator i = v.insert(v.cbegin() + 10, M… in tests()
H A Dinsert_iter_size_value.pass.cpp71 std::vector<int, limited_allocator<int, 300> > v(100); in tests()
72 … std::vector<int, limited_allocator<int, 300> >::iterator i = v.insert(v.cbegin() + 10, 5, 1); in tests()
H A Dinsert_iter_lvalue.pass.cpp89 std::vector<int, limited_allocator<int, 300> > v(100); in test()
91 … std::vector<int, limited_allocator<int, 300> >::iterator i = v.insert(v.cbegin() + 10, lvalue); in test()
/llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/
H A Dctor_default.pass.cpp26 typedef std::vector<int, limited_allocator<int, 10> > Container; in main()
H A Dctor_comp.pass.cpp24 typedef std::vector<int, limited_allocator<int, 10> > Container; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/stack/stack.cons/
H A Dctor_default.pass.cpp27 typedef std::vector<int, limited_allocator<int, 10> > Container; in main()
/llvm-project-15.0.7/libcxx/test/std/containers/container.adaptors/queue/queue.cons/
H A Dctor_default.pass.cpp26 typedef std::vector<int, limited_allocator<int, 10> > Container; in main()

12