/external/libcxx/test/support/ |
D | test_allocator.h | 399 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/ |
D | construct_iter_iter.pass.cpp | 52 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/ |
D | max_size.pass.cpp | 25 typedef limited_allocator<int, 10> A; in main() 32 typedef limited_allocator<int, (size_t)-1> A; in main()
|
D | shrink_to_fit.pass.cpp | 32 std::vector<int, limited_allocator<int, 401> > v(100); in main() 42 std::vector<int, limited_allocator<int, 400> > v(100); in main()
|
D | resize_size.pass.cpp | 38 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/ |
D | max_size.pass.cpp | 24 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/ |
D | max_size.pass.cpp | 24 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/ |
D | max_size.pass.cpp | 25 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/ |
D | max_size.pass.cpp | 27 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/ |
D | max_size.pass.cpp | 27 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/ |
D | max_size.pass.cpp | 27 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/ |
D | max_size.pass.cpp | 27 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/ |
D | max_size.pass.cpp | 28 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/ |
D | max_size.pass.cpp | 28 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/ |
D | max_size.pass.cpp | 28 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/ |
D | max_size.pass.cpp | 28 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/ |
D | insert_iter_rvalue.pass.cpp | 41 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()
|
D | insert_iter_value.pass.cpp | 70 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()
|
D | insert_iter_size_value.pass.cpp | 72 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()
|
D | emplace.pass.cpp | 86 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/ |
D | ctor_default.pass.cpp | 21 std::priority_queue<int, std::vector<int, limited_allocator<int, 10> > > q; in main()
|
D | ctor_comp.pass.cpp | 21 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/ |
D | ctor_default.pass.cpp | 22 std::stack<int, std::vector<int, limited_allocator<int, 10> > > q; in main()
|
/external/libcxx/test/std/containers/container.adaptors/queue/queue.cons/ |
D | ctor_default.pass.cpp | 21 std::queue<int, std::vector<int, limited_allocator<int, 10> > > q; in main()
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
D | default_noexcept.pass.cpp | 36 typedef std::basic_string<char, std::char_traits<char>, limited_allocator<char, 10>> C; in main()
|