Home
last modified time | relevance | path

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

12

/external/libcxx/test/support/
Dtest_allocator.h399 class limited_allocator
401 template <class U, std::size_t UN> friend class limited_allocator; variable
413 template <class U> struct rebind { typedef limited_allocator<U, N> other; };
415 limited_allocator() : handle_(new BuffT) {} in limited_allocator() function
417 limited_allocator(limited_allocator const& other) : handle_(other.handle_) {} in limited_allocator() function
420 explicit limited_allocator(limited_allocator<U, N> const& other) in limited_allocator() function
424 limited_allocator& operator=(const limited_allocator&);// = delete;
435 inline bool operator==(limited_allocator<T, N> const& LHS,
436 limited_allocator<U, N> const& RHS) {
441 inline bool operator!=(limited_allocator<T, N> const& LHS,
[all …]
/external/libcxx/test/std/containers/sequences/vector/vector.cons/
Dconstruct_iter_iter.pass.cpp52 test<std::vector<int, limited_allocator<int, 63> > >( in basic_test_cases()
55 test<std::vector<int, limited_allocator<int, 18 + 1> > >( in basic_test_cases()
57 test<std::vector<int, limited_allocator<int, 18 + 1> > >( in basic_test_cases()
60 test<std::vector<int, limited_allocator<int, 18 + 1> > >( in basic_test_cases()
63 test<std::vector<int, limited_allocator<int, 18 + 1> > >(a, an); in basic_test_cases()
/external/libcxx/test/std/containers/sequences/vector/vector.capacity/
Dmax_size.pass.cpp25 typedef limited_allocator<int, 10> A; in main()
32 typedef limited_allocator<int, (size_t)-1> A; in main()
Dshrink_to_fit.pass.cpp32 std::vector<int, limited_allocator<int, 401> > v(100); in main()
42 std::vector<int, limited_allocator<int, 400> > v(100); in main()
Dresize_size.pass.cpp38 std::vector<int, limited_allocator<int, 300 + 1> > v(100); in main()
62 std::vector<MoveOnly, limited_allocator<MoveOnly, 300 + 1> > v(100); in main()
/external/libcxx/test/std/containers/sequences/list/list.capacity/
Dmax_size.pass.cpp24 typedef limited_allocator<int, 10> A; in main()
31 typedef limited_allocator<int, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/sequences/deque/deque.capacity/
Dmax_size.pass.cpp24 typedef limited_allocator<int, 10> A; in main()
31 typedef limited_allocator<int, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/sequences/forwardlist/
Dmax_size.pass.cpp25 typedef limited_allocator<int, 10> A; in main()
32 typedef limited_allocator<int, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/associative/set/
Dmax_size.pass.cpp27 typedef limited_allocator<int, 10> A; in main()
34 typedef limited_allocator<int, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/associative/multiset/
Dmax_size.pass.cpp27 typedef limited_allocator<int, 10> A; in main()
34 typedef limited_allocator<int, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/unord/unord.multiset/
Dmax_size.pass.cpp27 typedef limited_allocator<int, 10> A; in main()
36 typedef limited_allocator<int, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/unord/unord.set/
Dmax_size.pass.cpp27 typedef limited_allocator<int, 10> A; in main()
34 typedef limited_allocator<int, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/associative/map/map.access/
Dmax_size.pass.cpp28 typedef limited_allocator<KV, 10> A; in main()
35 typedef limited_allocator<KV, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/associative/multimap/
Dmax_size.pass.cpp28 typedef limited_allocator<KV, 10> A; in main()
35 typedef limited_allocator<KV, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/unord/unord.map/
Dmax_size.pass.cpp28 typedef limited_allocator<KV, 10> A; in main()
36 typedef limited_allocator<KV, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/unord/unord.multimap/
Dmax_size.pass.cpp28 typedef limited_allocator<KV, 10> A; in main()
37 typedef limited_allocator<KV, (size_t)-1> A; in main()
/external/libcxx/test/std/containers/sequences/vector/vector.modifiers/
Dinsert_iter_rvalue.pass.cpp41 std::vector<MoveOnly, limited_allocator<MoveOnly, 300> > v(100); in main()
42 …std::vector<MoveOnly, limited_allocator<MoveOnly, 300> >::iterator i = v.insert(v.cbegin() + 10, M… in main()
Dinsert_iter_value.pass.cpp70 std::vector<int, limited_allocator<int, 300> > v(100); in main()
71 std::vector<int, limited_allocator<int, 300> >::iterator i = v.insert(v.cbegin() + 10, 1); in main()
Dinsert_iter_size_value.pass.cpp72 std::vector<int, limited_allocator<int, 300> > v(100); in main()
73 … std::vector<int, limited_allocator<int, 300> >::iterator i = v.insert(v.cbegin() + 10, 5, 1); in main()
Demplace.pass.cpp86 std::vector<A, limited_allocator<A, 7> > c; in main()
87 std::vector<A, limited_allocator<A, 7> >::iterator i = c.emplace(c.cbegin(), 2, 3.5); in main()
/external/libcxx/test/std/containers/container.adaptors/priority.queue/priqueue.cons/
Dctor_default.pass.cpp21 std::priority_queue<int, std::vector<int, limited_allocator<int, 10> > > q; in main()
Dctor_comp.pass.cpp21 std::priority_queue<int, std::vector<int, limited_allocator<int, 10> > > q((std::less<int>())); in main()
/external/libcxx/test/std/containers/container.adaptors/stack/stack.cons/
Dctor_default.pass.cpp22 std::stack<int, std::vector<int, limited_allocator<int, 10> > > q; in main()
/external/libcxx/test/std/containers/container.adaptors/queue/queue.cons/
Dctor_default.pass.cpp21 std::queue<int, std::vector<int, limited_allocator<int, 10> > > q; in main()
/external/libcxx/test/std/strings/basic.string/string.cons/
Ddefault_noexcept.pass.cpp36 typedef std::basic_string<char, std::char_traits<char>, limited_allocator<char, 10>> C; in main()

12