/external/clang/test/SemaTemplate/ |
H A D | exception-spec-crash.cpp | 16 typedef _Allocator allocator_type; typedef in class:basic_string 18 noexcept(is_nothrow_move_constructible<allocator_type>::value);
|
/external/libcxx/test/std/strings/basic.string/string.cons/ |
H A D | alloc.pass.cpp | 29 static_assert((noexcept(S()) == noexcept(typename S::allocator_type())), "" ); 36 assert(s.get_allocator() == typename S::allocator_type()); 40 static_assert((noexcept(S{typename S::allocator_type{}})), "" ); 42 static_assert((noexcept(S(typename S::allocator_type())) == std::is_nothrow_copy_constructible<typename S::allocator_type>::value), "" ); 44 S s(typename S::allocator_type(5)); 49 assert(s.get_allocator() == typename S::allocator_type(5)); 63 static_assert((noexcept(S()) == noexcept(typename S::allocator_type())), "" ); 70 assert(s.get_allocator() == typename S::allocator_type()); 74 static_assert((noexcept(S{typename S::allocator_type{}})), "" ); [all...] |
/external/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/ |
H A D | ctor_queue_alloc.pass.cpp | 37 typedef test_allocator<int> allocator_type; typedef in struct:test 40 explicit test(const allocator_type& a) : base(a) {} 41 test(const container_type& c, const allocator_type& a) : base(c, a) {} 42 test(const test& q, const allocator_type& a) : base(q, a) {} 43 allocator_type get_allocator() {return this->c.get_allocator();}
|
H A D | ctor_rcontainer_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef in struct:test 43 explicit test(const allocator_type& a) : base(a) {} 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} 47 allocator_type get_allocator() {return this->c.get_allocator();}
|
H A D | ctor_rqueue_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef in struct:test 43 explicit test(const allocator_type& a) : base(a) {} 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} 47 allocator_type get_allocator() {return this->c.get_allocator();}
|
/external/libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/ |
H A D | ctor_copy_alloc.pass.cpp | 37 typedef test_allocator<int> allocator_type; typedef in struct:test 40 explicit test(const allocator_type& a) : base(a) {} 41 test(const container_type& c, const allocator_type& a) : base(c, a) {} 42 test(const test& q, const allocator_type& a) : base(q, a) {} 43 allocator_type get_allocator() {return this->c.get_allocator();}
|
H A D | ctor_rcontainer_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef in struct:test 43 explicit test(const allocator_type& a) : base(a) {} 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} 47 allocator_type get_allocator() {return this->c.get_allocator();}
|
H A D | ctor_rqueue_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef in struct:test 43 explicit test(const allocator_type& a) : base(a) {} 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} 47 allocator_type get_allocator() {return this->c.get_allocator();}
|
/external/libcxx/test/std/containers/sequences/vector.bool/ |
H A D | construct_default.pass.cpp | 29 static_assert((noexcept(C()) == noexcept(typename C::allocator_type())), "" ); 34 assert(c.get_allocator() == typename C::allocator_type()); 39 assert(c1.get_allocator() == typename C::allocator_type()); 45 test1(const typename C::allocator_type& a) 48 static_assert((noexcept(C{typename C::allocator_type{}})), "" ); 50 static_assert((noexcept(C(typename C::allocator_type())) == std::is_nothrow_copy_constructible<typename C::allocator_type>::value), "" );
|
H A D | construct_size.pass.cpp | 23 test2(typename C::size_type n, typename C::allocator_type const& a = typename C::allocator_type ()) 44 assert(c.get_allocator() == typename C::allocator_type());
|
H A D | construct_size_value_alloc.pass.cpp | 13 // vector(size_type n, const value_type& x, const allocator_type& a); 23 const typename C::allocator_type& a)
|
/external/libcxx/test/std/utilities/memory/allocator.traits/ |
H A D | allocator_type.pass.cpp | 15 // typedef Alloc allocator_type; 30 static_assert((std::is_same<std::allocator_traits<A<char> >::allocator_type, A<char> >::value), "");
|
/external/clang/test/SemaCXX/ |
H A D | PR9908.cpp | 13 typedef Alloc allocator_type; typedef in struct:allocator_traits 15 __allocator_traits_rebind<allocator_type, T>::type;
|
/external/libcxx/test/std/containers/sequences/vector/vector.cons/ |
H A D | construct_default.pass.cpp | 32 static_assert((noexcept(C()) == noexcept(typename C::allocator_type())), "" ); 37 assert(c.get_allocator() == typename C::allocator_type()); 43 assert(c1.get_allocator() == typename C::allocator_type()); 50 test1(const typename C::allocator_type& a) 53 static_assert((noexcept(C{typename C::allocator_type{}})), "" ); 55 static_assert((noexcept(C(typename C::allocator_type())) == std::is_nothrow_copy_constructible<typename C::allocator_type>::value), "" );
|
H A D | construct_size.pass.cpp | 24 test2(typename C::size_type n, typename C::allocator_type const& a = typename C::allocator_type ()) 46 assert(c.get_allocator() == typename C::allocator_type());
|
/external/clang/test/CodeGenCXX/ |
H A D | lpad-linetable.cpp | 30 typedef _Alloc allocator_type; typedef in struct:std::_Vector_base 31 _Vector_base(const allocator_type& __a) 45 typedef _Alloc allocator_type; typedef in class:std::vector 46 vector(const allocator_type& __a = allocator_type()) argument
|
/external/clang/test/CXX/except/except.spec/ |
H A D | canonical.cpp | 22 typedef _Allocator allocator_type; typedef in class:std::basic_string 25 noexcept(_is_nothrow_constructible<allocator_type>::value); 48 basic_string<T, _Traits, _Allocator>::basic_string() noexcept(_is_nothrow_constructible<allocator_type>::value) {}
|
/external/eigen/Eigen/src/StlSupport/ |
H A D | StdDeque.h | 39 typedef typename deque_base::allocator_type allocator_type; \ 42 explicit deque(const allocator_type& a = allocator_type()) : deque_base(a) {} \ 44 deque(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : deque_base(first, last, a) {} \ 63 typedef typename deque_base::allocator_type allocator_type; \ 67 explicit deque(const allocator_type& a = allocator_type()) [all...] |
H A D | StdList.h | 38 typedef typename list_base::allocator_type allocator_type; \ 41 explicit list(const allocator_type& a = allocator_type()) : list_base(a) {} \ 43 list(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : list_base(first, last, a) {} \ 63 typedef typename list_base::allocator_type allocator_type; \ 67 explicit list(const allocator_type& a = allocator_type()) [all...] |
H A D | StdVector.h | 31 typedef vector_base::allocator_type allocator_type; \ 34 explicit vector(const allocator_type& a = allocator_type()) : vector_base(a) {} \ 36 vector(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : vector_base(first, last, a) {} \ 52 typedef typename vector_base::allocator_type allocator_type; \ 56 explicit vector(const allocator_type& a = allocator_type()) [all...] |
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
H A D | construct.pass.cpp | 29 typedef A1<B> allocator_type; typedef in struct:B 31 explicit B(std::allocator_arg_t, const allocator_type& a, int i) 45 typedef std::scoped_allocator_adaptor<A2<C>> allocator_type; typedef in struct:C 47 explicit C(std::allocator_arg_t, const allocator_type& a, int i) 61 typedef std::scoped_allocator_adaptor<A2<D>> allocator_type; typedef in struct:D 63 explicit D(int i, int j, const allocator_type& a) 78 typedef std::scoped_allocator_adaptor<A1<E>> allocator_type; typedef in struct:E 80 explicit E(int i, int j, const allocator_type& a) 95 typedef std::scoped_allocator_adaptor<A2<F>> allocator_type; typedef in struct:F 103 explicit F(int i, int j, const allocator_type [all...] |
/external/libcxx/test/std/strings/basic.string/string.capacity/ |
H A D | capacity.pass.cpp | 24 S::allocator_type::throw_after = 0; 35 S::allocator_type::throw_after = INT_MAX;
|
/external/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.trait/ |
H A D | uses_allocator.pass.cpp | 23 typedef int allocator_type; typedef in struct:B
|
/external/libcxx/test/std/strings/basic.string/string.nonmembers/string.io/ |
H A D | stream_insert.pass.cpp | 58 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; 66 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; 75 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out; 83 std::basic_ostringstream<S::value_type, S::traits_type, S::allocator_type> out;
|
/external/libcxx/test/std/containers/sequences/list/ |
H A D | types.pass.cpp | 19 // typedef Alloc allocator_type; 20 // typedef typename allocator_type::reference reference; 21 // typedef typename allocator_type::const_reference const_reference; 22 // typedef typename allocator_type::pointer pointer; 23 // typedef typename allocator_type::const_pointer const_pointer; 35 static_assert((std::is_same<std::list<int>::allocator_type, std::allocator<int> >::value), ""); 42 static_assert((std::is_same<std::list<int, min_allocator<int>>::allocator_type, min_allocator<int> >::value), "");
|