Home
last modified time | relevance | path

Searched refs:allocator_type (Results 1 – 25 of 325) sorted by relevance

12345678910>>...13

/external/libcxx/test/std/strings/basic.string/string.cons/
Dalloc.pass.cpp29 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/llvm-project/libcxx/test/std/strings/basic.string/string.cons/
Dalloc.pass.cpp28 static_assert((noexcept(S()) == noexcept(typename S::allocator_type())), "" ); in test()
35 assert(s.get_allocator() == typename S::allocator_type()); in test()
39 static_assert((noexcept(S{typename S::allocator_type{}})), "" ); in test()
41 …tic_assert((noexcept(S(typename S::allocator_type())) == std::is_nothrow_copy_constructible<typena… in test()
43 S s(typename S::allocator_type(5)); in test()
48 assert(s.get_allocator() == typename S::allocator_type(5)); in test()
62 static_assert((noexcept(S()) == noexcept(typename S::allocator_type())), "" ); in test2()
69 assert(s.get_allocator() == typename S::allocator_type()); in test2()
73 static_assert((noexcept(S{typename S::allocator_type{}})), "" ); in test2()
75 …tic_assert((noexcept(S(typename S::allocator_type())) == std::is_nothrow_copy_constructible<typena… in test2()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/container/
Dfixed_array.h97 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptCopyable()
101 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptMovable()
108 using allocator_type = typename AllocatorTraits::allocator_type;
109 using value_type = typename allocator_type::value_type;
110 using pointer = typename allocator_type::pointer;
111 using const_pointer = typename allocator_type::const_pointer;
112 using reference = typename allocator_type::reference;
113 using const_reference = typename allocator_type::const_reference;
114 using size_type = typename allocator_type::size_type;
115 using difference_type = typename allocator_type::difference_type;
[all …]
/external/abseil-cpp/absl/container/
Dfixed_array.h97 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptCopyable()
101 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptMovable()
108 using allocator_type = typename AllocatorTraits::allocator_type;
109 using value_type = typename allocator_type::value_type;
110 using pointer = typename allocator_type::pointer;
111 using const_pointer = typename allocator_type::const_pointer;
112 using reference = typename allocator_type::reference;
113 using const_reference = typename allocator_type::const_reference;
114 using size_type = typename allocator_type::size_type;
115 using difference_type = typename allocator_type::difference_type;
[all …]
/external/llvm-project/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dconstruct.pass.cpp29 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()
[all …]
/external/eigen/Eigen/src/StlSupport/
DStdList.h30 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()) \
DStdDeque.h31 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()) \
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()) : 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/utilities/memory/allocator.uses/allocator.uses.trait/
Duses_allocator.pass.cpp25 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/llvm-project/libcxx/test/std/utilities/memory/allocator.uses/allocator.uses.trait/
Duses_allocator.pass.cpp24 typedef int allocator_type; typedef
28 static int allocator_type; member
32 static int allocator_type() { return 0; } in allocator_type() function
37 typedef int allocator_type; typedef
57 test<false, C, decltype(C::allocator_type)>(); in main()
58 test<false, D, decltype(D::allocator_type)>(); in main()
/external/libcxx/test/std/containers/sequences/vector.bool/
Dconstruct_default.pass.cpp34 LIBCPP_STATIC_ASSERT((noexcept(C()) == noexcept(typename C::allocator_type())), "" ); in test0()
39 assert(c.get_allocator() == typename C::allocator_type()); in test0()
44 assert(c1.get_allocator() == typename C::allocator_type()); in test0()
50 test1(const typename C::allocator_type& a) in test1()
53 LIBCPP_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/llvm-project/libcxx/test/std/containers/sequences/vector.bool/
Dconstruct_default.pass.cpp33 LIBCPP_STATIC_ASSERT((noexcept(C()) == noexcept(typename C::allocator_type())), "" ); in test0()
38 assert(c.get_allocator() == typename C::allocator_type()); in test0()
43 assert(c1.get_allocator() == typename C::allocator_type()); in test0()
49 test1(const typename C::allocator_type& a) in test1()
52 LIBCPP_STATIC_ASSERT((noexcept(C{typename C::allocator_type{}})), "" ); in test1()
54 …TIC_ASSERT((noexcept(C(typename C::allocator_type())) == std::is_nothrow_copy_constructible<typena… in test1()
/external/libtextclassifier/abseil-cpp/absl/container/
Dfixed_array.h98 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptCopyable()
102 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptMovable()
109 using allocator_type = typename AllocatorTraits::allocator_type;
128 const allocator_type& a = allocator_type()) noexcept(NoexceptCopyable()) in noexcept()
133 const allocator_type& a = allocator_type()) noexcept(NoexceptMovable()) in noexcept()
139 explicit FixedArray(size_type n, const allocator_type& a = allocator_type())
149 const allocator_type& a = allocator_type())
157 const allocator_type& a = allocator_type())
165 const allocator_type& a = allocator_type())
458 Storage(size_type n, const allocator_type& a) in Storage()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/
Dfixed_array.h98 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptCopyable()
102 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptMovable()
109 using allocator_type = typename AllocatorTraits::allocator_type;
128 const allocator_type& a = allocator_type()) noexcept(NoexceptCopyable()) in noexcept()
133 const allocator_type& a = allocator_type()) noexcept(NoexceptMovable()) in noexcept()
139 explicit FixedArray(size_type n, const allocator_type& a = allocator_type())
149 const allocator_type& a = allocator_type())
157 const allocator_type& a = allocator_type())
165 const allocator_type& a = allocator_type())
458 Storage(size_type n, const allocator_type& a) in Storage()
[all …]
/external/openscreen/third_party/abseil/src/absl/container/
Dfixed_array.h98 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptCopyable()
102 absl::allocator_is_nothrow<allocator_type>::value; in NoexceptMovable()
109 using allocator_type = typename AllocatorTraits::allocator_type;
128 const allocator_type& a = allocator_type()) noexcept(NoexceptCopyable()) in noexcept()
133 const allocator_type& a = allocator_type()) noexcept(NoexceptMovable()) in noexcept()
139 explicit FixedArray(size_type n, const allocator_type& a = allocator_type())
149 const allocator_type& a = allocator_type())
157 const allocator_type& a = allocator_type())
165 const allocator_type& a = allocator_type())
458 Storage(size_type n, const allocator_type& a) in Storage()
[all …]
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/
Dconstruct.pass.cpp29 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/include/
Dset31 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;
49 is_nothrow_default_constructible<allocator_type>::value &&
53 set(const value_compare& comp, const allocator_type& a);
59 const allocator_type& a);
[all …]
Dunordered_set33 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;
53 is_nothrow_default_constructible<allocator_type>::value);
56 const allocator_type& a = allocator_type());
61 const allocator_type& a = allocator_type());
62 explicit unordered_set(const allocator_type&);
69 is_nothrow_move_constructible<allocator_type>::value);
[all …]
/external/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/
Dctor_rcontainer_alloc.pass.cpp41 typedef test_allocator<MoveOnly> allocator_type; typedef
44 explicit test(const allocator_type& a) : base(a) {} in test()
45 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test()
46 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test()
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
48 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
/external/llvm-project/libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/
Dctor_rcontainer_alloc.pass.cpp41 typedef test_allocator<MoveOnly> allocator_type; typedef
44 explicit test(const allocator_type& a) : base(a) {} in test()
45 test(const container_type& cont, const allocator_type& a) : base(cont, a) {} in test()
46 test(container_type&& cont, const allocator_type& a) : base(std::move(cont), a) {} in test()
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
48 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
Dctor_rqueue_alloc.pass.cpp41 typedef test_allocator<MoveOnly> allocator_type; typedef
44 explicit test(const allocator_type& a) : base(a) {} in test()
45 test(const container_type& cont, const allocator_type& a) : base(cont, a) {} in test()
46 test(container_type&& cont, const allocator_type& a) : base(std::move(cont), a) {} in test()
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
48 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
/external/libcxx/test/std/containers/container.adaptors/stack/stack.cons.alloc/
Dctor_rcontainer_alloc.pass.cpp41 typedef test_allocator<MoveOnly> allocator_type; typedef
44 explicit test(const allocator_type& a) : base(a) {} in test()
45 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test()
46 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test()
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
48 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
Dctor_rqueue_alloc.pass.cpp41 typedef test_allocator<MoveOnly> allocator_type; typedef
44 explicit test(const allocator_type& a) : base(a) {} in test()
45 test(const container_type& c, const allocator_type& a) : base(c, a) {} in test()
46 test(container_type&& c, const allocator_type& a) : base(std::move(c), a) {} in test()
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
48 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
/external/llvm-project/libcxx/test/std/containers/container.adaptors/queue/queue.cons.alloc/
Dctor_rcontainer_alloc.pass.cpp41 typedef test_allocator<MoveOnly> allocator_type; typedef
44 explicit test(const allocator_type& a) : base(a) {} in test()
45 test(const container_type& container, const allocator_type& a) : base(container, a) {} in test()
46 test(container_type&& container, const allocator_type& a) : base(std::move(container), a) {} in test()
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
48 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()
Dctor_rqueue_alloc.pass.cpp41 typedef test_allocator<MoveOnly> allocator_type; typedef
44 explicit test(const allocator_type& a) : base(a) {} in test()
45 test(const container_type& container, const allocator_type& a) : base(container, a) {} in test()
46 test(container_type&& container, const allocator_type& a) : base(std::move(container), a) {} in test()
47 test(test&& q, const allocator_type& a) : base(std::move(q), a) {} in test()
48 allocator_type get_allocator() {return this->c.get_allocator();} in get_allocator()

12345678910>>...13