/external/libcxx/test/utilities/memory/allocator.traits/ |
D | rebind_traits.pass.cpp | 67 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator… in main() 68 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allo… in main() 69 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator… in main() 70 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allo… in main() 71 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>, std::allocator… in main() 73 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>::other, std::al… in main() 74 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>::other, st… in main() 75 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>::other, std::al… in main() 76 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>::other, st… in main() 77 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>::other, std::al… in main()
|
D | value_type.pass.cpp | 30 static_assert((std::is_same<std::allocator_traits<A<char> >::value_type, char>::value), ""); in main()
|
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/ |
D | rebind_alloc.pass.cpp | 67 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double… in main() 68 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<d… in main() 69 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::va… in main() 70 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, … in main() 71 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::va… in main() 73 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA… in main() 74 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, Reb… in main() 75 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double… in main() 76 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<d… in main() 77 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>::other, E<double… in main()
|
D | const_void_pointer.pass.cpp | 52 …static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >… in main() 53 …static_assert((std::is_same<std::allocator_traits<B<char> >::const_void_pointer, const void*>::val… in main() 54 …static_assert((std::is_same<std::allocator_traits<C<char> >::const_void_pointer, CPtr<const void> … in main()
|
D | difference_type.pass.cpp | 59 … static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), ""); in main() 60 …static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::val… in main() 61 …static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value)… in main()
|
D | void_pointer.pass.cpp | 52 …static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), ""… in main() 53 static_assert((std::is_same<std::allocator_traits<B<char> >::void_pointer, void*>::value), ""); in main() 54 …static_assert((std::is_same<std::allocator_traits<C<char> >::void_pointer, CPtr<void> >::value), "… in main()
|
D | size_type.pass.cpp | 58 …static_assert((std::is_same<std::allocator_traits<A<char> >::size_type, unsigned short>::value), "… in main() 59 static_assert((std::is_same<std::allocator_traits<B<char> >::size_type, in main() 61 static_assert((std::is_same<std::allocator_traits<C<char> >::size_type, in main()
|
D | const_pointer.pass.cpp | 52 …static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::val… in main() 53 …static_assert((std::is_same<std::allocator_traits<B<char> >::const_pointer, const char*>::value), … in main() 54 …static_assert((std::is_same<std::allocator_traits<C<char> >::const_pointer, CPtr<const char> >::va… in main()
|
D | pointer.pass.cpp | 40 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), ""); in main() 41 static_assert((std::is_same<std::allocator_traits<B<char> >::pointer, char*>::value), ""); in main()
|
D | propagate_on_container_move_assignment.pass.cpp | 38 …static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_move_assignmen… in main() 39 …static_assert((std::is_same<std::allocator_traits<B<char> >::propagate_on_container_move_assignmen… in main()
|
D | propagate_on_container_copy_assignment.pass.cpp | 38 …static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_copy_assignmen… in main() 39 …static_assert((std::is_same<std::allocator_traits<B<char> >::propagate_on_container_copy_assignmen… in main()
|
D | propagate_on_container_swap.pass.cpp | 38 …static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_swap, std::tru… in main() 39 …static_assert((std::is_same<std::allocator_traits<B<char> >::propagate_on_container_swap, std::fal… in main()
|
/external/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/ |
D | max_size.pass.cpp | 47 assert(std::allocator_traits<A<int> >::max_size(a) == in main() 52 assert(std::allocator_traits<A<int> >::max_size(a) == in main() 58 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main() 62 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main() 67 … static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, ""); in main()
|
D | select_on_container_copy_construction.pass.cpp | 52 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0); in main() 56 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0); in main() 61 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100); in main() 65 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100); in main()
|
D | construct.pass.cpp | 89 std::allocator_traits<A<int> >::construct(a, (A0*)&a0); in main() 97 std::allocator_traits<A<int> >::construct(a, (A1*)&a1, 'c'); in main() 105 std::allocator_traits<A<int> >::construct(a, (A2*)&a2, 'd', 5); in main() 116 std::allocator_traits<B<int> >::construct(b, (A0*)&a0); in main() 127 std::allocator_traits<B<int> >::construct(b, (A1*)&a1, 'c'); in main() 138 std::allocator_traits<B<int> >::construct(b, (A2*)&a2, 'd', 5); in main()
|
D | destroy.pass.cpp | 61 std::allocator_traits<A<int> >::construct(a, (A0*)&a0); in main() 63 std::allocator_traits<A<int> >::destroy(a, (A0*)&a0); in main() 72 std::allocator_traits<B<int> >::construct(b, (A0*)&a0); in main() 75 std::allocator_traits<B<int> >::destroy(b, (A0*)&a0); in main()
|
D | allocate_hint.pass.cpp | 56 assert(std::allocator_traits<A<int> >::allocate(a, 10, nullptr) == (int*)0xDEADBEEF); in main() 59 assert(std::allocator_traits<B<int> >::allocate(b, 11, nullptr) == (int*)0xFEADBEEF); in main()
|
/external/clang/test/SemaCXX/ |
D | PR9902.cpp | 17 struct allocator_traits struct 20 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; argument 28 allocator_traits<allocator<char>>::rebind_alloc<int> a; in main()
|
D | PR9908.cpp | 11 struct allocator_traits struct 16 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; argument 32 allocator_traits<A<char> >::rebind_traits<double> a; in main()
|
/external/libcxx/include/ |
D | scoped_allocator | 23 typedef allocator_traits<OuterAlloc> OuterTraits; // exposition only 127 static const bool value = allocator_traits<_A0>:: 135 allocator_traits<_A0>::propagate_on_container_copy_assignment::value || 144 static const bool value = allocator_traits<_A0>:: 152 allocator_traits<_A0>::propagate_on_container_move_assignment::value || 161 static const bool value = allocator_traits<_A0>:: 169 allocator_traits<_A0>::propagate_on_container_swap::value || 252 allocator_traits<outer_allocator_type>:: 254 allocator_traits<inner_allocator_type>:: 317 allocator_traits<outer_allocator_type>:: [all …]
|
/external/libcxx/test/strings/basic.string/ |
D | types.pass.cpp | 53 …static_assert((std::is_same<typename S::size_type, typename std::allocator_traits<Allocator>::size… in test() 54 …static_assert((std::is_same<typename S::difference_type, typename std::allocator_traits<Allocator>… in test() 57 …static_assert((std::is_same<typename S::pointer, typename std::allocator_traits<Allocator>::pointe… in test() 58 …static_assert((std::is_same<typename S::const_pointer, typename std::allocator_traits<Allocator>::… in test()
|
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.members/ |
D | select_on_container_copy_construction.pass.cpp | 30 A a2 = std::allocator_traits<A>::select_on_container_copy_construction(a1); in main() 38 A a2 = std::allocator_traits<A>::select_on_container_copy_construction(a1); in main() 48 A a2 = std::allocator_traits<A>::select_on_container_copy_construction(a1); in main()
|
/external/libcxx/test/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | allocator_pointers.pass.cpp | 37 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() 38 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer() 71 typename std::allocator_traits<Alloc>::void_pointer vp; in test_void_pointer() 72 typename std::allocator_traits<Alloc>::const_void_pointer cvp; in test_void_pointer()
|
/external/libcxx/test/utilities/memory/default.allocator/ |
D | allocator_pointers.pass.cpp | 37 typename std::allocator_traits<Alloc>::pointer vp; in test_pointer() 38 typename std::allocator_traits<Alloc>::const_pointer cvp; in test_pointer() 71 typename std::allocator_traits<Alloc>::void_pointer vp; in test_void_pointer() 72 typename std::allocator_traits<Alloc>::const_void_pointer cvp; in test_void_pointer()
|
/external/libcxx/test/containers/sequences/vector.bool/ |
D | types.pass.cpp | 47 …static_assert((std::is_same<typename C::size_type, typename std::allocator_traits<Allocator>::size… in test() 48 …static_assert((std::is_same<typename C::difference_type, typename std::allocator_traits<Allocator>… in test()
|