Searched refs:allocator_type (Results 1 - 25 of 110) sorted by relevance

12345

/external/clang/test/SemaTemplate/
H A Dexception-spec-crash.cpp16 typedef _Allocator allocator_type; typedef in class:basic_string
18 noexcept(is_nothrow_move_constructible<allocator_type>::value);
/external/libcxx/test/containers/container.adaptors/queue/queue.cons.alloc/
H A Dctor_queue_alloc.pass.cpp37 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 Dctor_rcontainer_alloc.pass.cpp40 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 Dctor_rqueue_alloc.pass.cpp40 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/containers/container.adaptors/stack/stack.cons.alloc/
H A Dctor_copy_alloc.pass.cpp37 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 Dctor_rcontainer_alloc.pass.cpp40 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 Dctor_rqueue_alloc.pass.cpp40 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/utilities/memory/allocator.traits/
H A Dallocator_type.pass.cpp15 // typedef Alloc allocator_type;
30 static_assert((std::is_same<std::allocator_traits<A<char> >::allocator_type, A<char> >::value), "");
H A DAndroid.mk23 test_name := utilities/memory/allocator.traits/allocator_type
24 test_src := allocator_type.pass.cpp
/external/clang/test/SemaCXX/
H A DPR9908.cpp13 typedef Alloc allocator_type; typedef in struct:allocator_traits
15 __allocator_traits_rebind<allocator_type, T>::type;
/external/libcxx/test/strings/basic.string/string.cons/
H A Dalloc.pass.cpp30 assert(s.get_allocator() == typename S::allocator_type());
33 S s(typename S::allocator_type(5));
38 assert(s.get_allocator() == typename S::allocator_type(5));
54 assert(s.get_allocator() == typename S::allocator_type());
57 S s(typename S::allocator_type{});
62 assert(s.get_allocator() == typename S::allocator_type());
/external/clang/test/CodeGenCXX/
H A Dlpad-linetable.cpp30 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 Dcanonical.cpp22 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 DStdDeque.h39 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 DStdList.h38 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 DStdVector.h31 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/containers/sequences/vector.bool/
H A Dconstruct_default.pass.cpp28 assert(c.get_allocator() == typename C::allocator_type());
33 assert(c1.get_allocator() == typename C::allocator_type());
39 test1(const typename C::allocator_type& a)
H A Dconstruct_size.pass.cpp23 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());
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/
H A Dconstruct.pass.cpp29 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/stlport/stlport/stl/
H A D_set.h79 typedef typename _Rep_type::allocator_type allocator_type; typedef in class:set
90 const allocator_type& __a = allocator_type())
93 : _M_t(_Compare(), allocator_type()) {}
95 : _M_t(__comp, allocator_type()) {}
96 set(const _Compare& __comp, const allocator_type& __a)
103 : _M_t(_Compare(), allocator_type())
109 : _M_t(__comp, allocator_type()) { _M_t.insert_unique(__first, __last); }
113 const allocator_type
89 set(const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) argument
120 set(const value_type* __first, const value_type* __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
129 set(const_iterator __first, const_iterator __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
250 typedef typename _Rep_type::allocator_type allocator_type; typedef in class:multiset
258 multiset(const _Compare& __comp = _Compare(), const allocator_type& __a = allocator_type()) argument
291 multiset(const value_type* __first, const value_type* __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
300 multiset(const_iterator __first, const_iterator __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
[all...]
H A D_map.h91 typedef typename _Rep_type::allocator_type allocator_type; typedef in class:map
99 map() : _M_t(_Compare(), allocator_type()) {}
102 const allocator_type& __a = allocator_type())
105 : _M_t(__comp, allocator_type()) {}
106 explicit map(const _Compare& __comp, const allocator_type& __a)
113 : _M_t(_Compare(), allocator_type())
118 const allocator_type& __a _STLP_ALLOCATOR_TYPE_DFL)
124 : _M_t(__comp, allocator_type()) { _M_
101 map(const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
132 map(const value_type* __first, const value_type* __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
141 map(const_iterator __first, const_iterator __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
284 typedef typename _Rep_type::allocator_type allocator_type; typedef in class:multimap
293 multimap(const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
317 multimap(const value_type* __first, const value_type* __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
325 multimap(const_iterator __first, const_iterator __last, const _Compare& __comp, const allocator_type& __a = allocator_type()) argument
[all...]
/external/libcxx/test/strings/basic.string/string.capacity/
H A Dcapacity.pass.cpp24 S::allocator_type::throw_after = 0;
35 S::allocator_type::throw_after = INT_MAX;
/external/libcxx/test/utilities/memory/allocator.uses/allocator.uses.trait/
H A Duses_allocator.pass.cpp23 typedef int allocator_type; typedef in struct:B
/external/libcxx/test/containers/sequences/vector/vector.cons/
H A Dconstruct_default.pass.cpp29 assert(c.get_allocator() == typename C::allocator_type());
34 assert(c1.get_allocator() == typename C::allocator_type());
40 test1(const typename C::allocator_type& a)
H A Dconstruct_size.pass.cpp23 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());

Completed in 288 milliseconds

12345