/external/libcxx/test/std/strings/basic.string/string.cons/ |
D | alloc.pass.cpp | 29 static_assert((noexcept(S()) == noexcept(typename S::allocator_type())), "" ); in test() 36 assert(s.get_allocator() == typename S::allocator_type()); in test() 40 static_assert((noexcept(S{typename S::allocator_type{}})), "" ); in test() 42 …tic_assert((noexcept(S(typename S::allocator_type())) == std::is_nothrow_copy_constructible<typena… in test() 44 S s(typename S::allocator_type(5)); in test() 49 assert(s.get_allocator() == typename S::allocator_type(5)); in test() 63 static_assert((noexcept(S()) == noexcept(typename S::allocator_type())), "" ); in test2() 70 assert(s.get_allocator() == typename S::allocator_type()); in test2() 74 static_assert((noexcept(S{typename S::allocator_type{}})), "" ); in test2() 76 …tic_assert((noexcept(S(typename S::allocator_type())) == std::is_nothrow_copy_constructible<typena… in test2() [all …]
|
/external/eigen/Eigen/src/StlSupport/ |
D | StdList.h | 30 typedef list_base::allocator_type allocator_type; \ 33 explicit list(const allocator_type& a = allocator_type()) : list_base(a) {} \ 35 …list(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : list_b… 55 typedef typename list_base::allocator_type allocator_type; \ 59 explicit list(const allocator_type& a = allocator_type()) : list_base(a) {} \ 61 list(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) \
|
D | StdDeque.h | 31 typedef deque_base::allocator_type allocator_type; \ 34 explicit deque(const allocator_type& a = allocator_type()) : deque_base(a) {} \ 36 …deque(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) : deque… 55 typedef typename deque_base::allocator_type allocator_type; \ 59 explicit deque(const allocator_type& a = allocator_type()) : deque_base(a) {} \ 61 deque(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) \
|
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()) : vect… 55 typedef typename vector_base::allocator_type allocator_type; \ 59 explicit vector(const allocator_type& a = allocator_type()) : vector_base(a) {} \ 61 vector(InputIterator first, InputIterator last, const allocator_type& a = allocator_type()) \
|
/external/libcxx/test/std/containers/sequences/vector.bool/ |
D | construct_default.pass.cpp | 29 static_assert((noexcept(C()) == noexcept(typename C::allocator_type())), "" ); in test0() 34 assert(c.get_allocator() == typename C::allocator_type()); in test0() 39 assert(c1.get_allocator() == typename C::allocator_type()); in test0() 45 test1(const typename C::allocator_type& a) in test1() 48 static_assert((noexcept(C{typename C::allocator_type{}})), "" ); in test1() 50 …tic_assert((noexcept(C(typename C::allocator_type())) == std::is_nothrow_copy_constructible<typena… in test1()
|
/external/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.trait/ |
D | uses_allocator.pass.cpp | 25 typedef int allocator_type; typedef 29 static int allocator_type; member 33 static int allocator_type() { return 0; } in allocator_type() function 38 typedef int allocator_type; typedef 58 test<false, C, decltype(C::allocator_type)>(); in main() 59 test<false, D, decltype(D::allocator_type)>(); in main()
|
/external/libcxx/include/ |
D | unordered_set | 33 typedef Alloc allocator_type; 36 typedef typename allocator_traits<allocator_type>::pointer pointer; 37 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 38 typedef typename allocator_traits<allocator_type>::size_type size_type; 39 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 50 is_nothrow_default_constructible<allocator_type>::value); 53 const allocator_type& a = allocator_type()); 58 const allocator_type& a = allocator_type()); 59 explicit unordered_set(const allocator_type&); 66 is_nothrow_move_constructible<allocator_type>::value); [all …]
|
D | set | 31 typedef Allocator allocator_type; 32 typedef typename allocator_type::reference reference; 33 typedef typename allocator_type::const_reference const_reference; 34 typedef typename allocator_type::size_type size_type; 35 typedef typename allocator_type::difference_type difference_type; 36 typedef typename allocator_type::pointer pointer; 37 typedef typename allocator_type::const_pointer const_pointer; 47 is_nothrow_default_constructible<allocator_type>::value && 51 set(const value_compare& comp, const allocator_type& a); 57 const allocator_type& a); [all …]
|
D | unordered_map | 33 typedef Alloc allocator_type; 37 typedef typename allocator_traits<allocator_type>::pointer pointer; 38 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 39 typedef typename allocator_traits<allocator_type>::size_type size_type; 40 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 51 is_nothrow_default_constructible<allocator_type>::value); 54 const allocator_type& a = allocator_type()); 59 const allocator_type& a = allocator_type()); 60 explicit unordered_map(const allocator_type&); 67 is_nothrow_move_constructible<allocator_type>::value); [all …]
|
D | vector | 25 typedef Allocator allocator_type; 26 typedef typename allocator_type::reference reference; 27 typedef typename allocator_type::const_reference const_reference; 30 typedef typename allocator_type::size_type size_type; 31 typedef typename allocator_type::difference_type difference_type; 32 typedef typename allocator_type::pointer pointer; 33 typedef typename allocator_type::const_pointer const_pointer; 38 noexcept(is_nothrow_default_constructible<allocator_type>::value); 39 explicit vector(const allocator_type&); 41 explicit vector(size_type n, const allocator_type&); // C++14 [all …]
|
D | map | 31 typedef Allocator allocator_type; 32 typedef typename allocator_type::reference reference; 33 typedef typename allocator_type::const_reference const_reference; 34 typedef typename allocator_type::pointer pointer; 35 typedef typename allocator_type::const_pointer const_pointer; 36 typedef typename allocator_type::size_type size_type; 37 typedef typename allocator_type::difference_type difference_type; 59 is_nothrow_default_constructible<allocator_type>::value && 63 map(const key_compare& comp, const allocator_type& a); 69 const key_compare& comp, const allocator_type& a); [all …]
|
D | sstream | 27 typedef Allocator allocator_type; 31 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& str, 40 basic_string<char_type, traits_type, allocator_type> str() const; 41 void str(const basic_string<char_type, traits_type, allocator_type>& s); 72 typedef Allocator allocator_type; 76 explicit basic_istringstream(const basic_string<char_type, traits_type,allocator_type>& str, 85 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const; 86 basic_string<char_type, traits_type, allocator_type> str() const; 87 void str(const basic_string<char_type, traits_type, allocator_type>& s); 108 typedef Allocator allocator_type; [all …]
|
D | forward_list | 25 typedef Allocator allocator_type; 29 typedef typename allocator_traits<allocator_type>::pointer pointer; 30 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 31 typedef typename allocator_traits<allocator_type>::size_type size_type; 32 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 38 noexcept(is_nothrow_default_constructible<allocator_type>::value); 39 explicit forward_list(const allocator_type& a); 41 explicit forward_list(size_type n, const allocator_type& a); // C++14 43 forward_list(size_type n, const value_type& v, const allocator_type& a); 47 forward_list(InputIterator first, InputIterator last, const allocator_type& a); [all …]
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | construct.pass.cpp | 29 typedef A1<B> allocator_type; typedef 31 explicit B(std::allocator_arg_t, const allocator_type& a, int i) in B() 45 typedef std::scoped_allocator_adaptor<A2<C>> allocator_type; typedef 47 explicit C(std::allocator_arg_t, const allocator_type& a, int i) in C() 61 typedef std::scoped_allocator_adaptor<A2<D>> allocator_type; typedef 63 explicit D(int i, int j, const allocator_type& a) in D() 78 typedef std::scoped_allocator_adaptor<A1<E>> allocator_type; typedef 80 explicit E(int i, int j, const allocator_type& a) in E() 95 typedef std::scoped_allocator_adaptor<A2<F>> allocator_type; typedef 103 explicit F(int i, int j, const allocator_type& a) in F()
|
/external/libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/ |
D | ctor_rcontainer_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef 43 explicit test(const allocator_type& a) : base(a) {} in test() 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() 47 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
|
D | ctor_rqueue_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef 43 explicit test(const allocator_type& a) : base(a) {} in test() 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() 47 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
|
D | ctor_copy_alloc.pass.cpp | 37 typedef test_allocator<int> allocator_type; typedef 40 explicit test(const allocator_type& a) : base(a) {} in test() 41 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() 42 test(const test& q, const allocator_type& a) : base(q, a) {} in test() 43 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
|
/external/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/ |
D | ctor_rcontainer_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef 43 explicit test(const allocator_type& a) : base(a) {} in test() 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() 47 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
|
D | ctor_rqueue_alloc.pass.cpp | 40 typedef test_allocator<MoveOnly> allocator_type; typedef 43 explicit test(const allocator_type& a) : base(a) {} in test() 44 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() 45 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test() 46 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test() 47 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
|
D | ctor_queue_alloc.pass.cpp | 37 typedef test_allocator<int> allocator_type; typedef 40 explicit test(const allocator_type& a) : base(a) {} in test() 41 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test() 42 test(const test& q, const allocator_type& a) : base(q, a) {} in test() 43 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
|
/external/libcxx/test/std/containers/sequences/vector/vector.cons/ |
D | construct_default.pass.cpp | 32 static_assert((noexcept(C()) == noexcept(typename C::allocator_type())), "" ); in test0() 37 assert(c.get_allocator() == typename C::allocator_type()); in test0() 43 assert(c1.get_allocator() == typename C::allocator_type()); in test0() 50 test1(const typename C::allocator_type& a) in test1() 53 static_assert((noexcept(C{typename C::allocator_type{}})), "" ); in test1() 55 …tic_assert((noexcept(C(typename C::allocator_type())) == std::is_nothrow_copy_constructible<typena… in test1()
|
/external/libcxx/include/ext/ |
D | hash_set | 31 typedef Alloc allocator_type; 34 typedef typename allocator_traits<allocator_type>::pointer pointer; 35 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 36 typedef typename allocator_traits<allocator_type>::size_type size_type; 37 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 44 const allocator_type& a = allocator_type()); 49 const allocator_type& a = allocator_type()); 54 allocator_type get_allocator() const; 117 typedef Alloc allocator_type; 120 typedef typename allocator_traits<allocator_type>::pointer pointer; [all …]
|
D | hash_map | 31 typedef Alloc allocator_type; 35 typedef typename allocator_traits<allocator_type>::pointer pointer; 36 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 37 typedef typename allocator_traits<allocator_type>::size_type size_type; 38 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 45 const allocator_type& a = allocator_type()); 50 const allocator_type& a = allocator_type()); 55 allocator_type get_allocator() const; 120 typedef Alloc allocator_type; 124 typedef typename allocator_traits<allocator_type>::pointer pointer; [all …]
|
/external/clang/test/CodeGenCXX/ |
D | lpad-linetable.cpp | 30 typedef _Alloc allocator_type; typedef 31 _Vector_base(const allocator_type& __a) in _Vector_base() 45 typedef _Alloc allocator_type; typedef in std::vector 46 vector(const allocator_type& __a = allocator_type()) in vector()
|
/external/libcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_piecewise_pair.pass.cpp | 82 typedef ex::memory_resource* allocator_type; typedef 83 allocator_type alloc; 86 CountCopiesAllocV1(std::allocator_arg_t, allocator_type const& a, in CountCopiesAllocV1() 95 typedef ex::memory_resource* allocator_type; typedef 96 allocator_type alloc; 99 CountCopiesAllocV2(CountCopiesAllocV2 const& o, allocator_type const& a) in CountCopiesAllocV2()
|