/external/libcxx/test/std/utilities/memory/allocator.traits/ |
rebind_traits.pass.cpp | 13 // struct allocator_traits 15 // template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; 69 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator_traits<ReboundA<double> > >::value), ""); 70 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allocator_traits<ReboundB<double, char> > >::value), ""); 71 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator_traits<C<double> > >::value), ""); 72 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allocator_traits<D<double, char> > >::value), "") [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/ |
rebind_traits.pass.cpp | 13 // struct allocator_traits 15 // template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; 67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator_traits<ReboundA<double> > >::value), ""); 68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allocator_traits<ReboundB<double, char> > >::value), ""); 69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator_traits<C<double> > >::value), ""); 70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allocator_traits<D<double, char> > >::value), "") [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.traits/ |
rebind_traits.pass.cpp | 13 // struct allocator_traits 15 // template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; 67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator_traits<ReboundA<double> > >::value), ""); 68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allocator_traits<ReboundB<double, char> > >::value), ""); 69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator_traits<C<double> > >::value), ""); 70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allocator_traits<D<double, char> > >::value), "") [all...] |
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
is_always_equal.pass.cpp | 29 std::allocator_traits<A1<int>>::is_always_equal, std::false_type>::value 33 std::allocator_traits<min_allocator<int>>::is_always_equal, std::true_type>::value 40 std::allocator_traits<A1<int>>::is_always_equal 47 std::allocator_traits<min_allocator<int>>::is_always_equal 53 ( std::allocator_traits<A1<int>>::is_always_equal::value && 54 std::allocator_traits<A2<int>>::is_always_equal::value) 60 ( std::allocator_traits<A1<int>>::is_always_equal::value && 61 std::allocator_traits<min_allocator<int>>::is_always_equal::value) 68 ( std::allocator_traits<A1<int>>::is_always_equal::value && 69 std::allocator_traits<A2<int>>::is_always_equal::value & [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
is_always_equal.pass.cpp | 29 std::allocator_traits<A1<int>>::is_always_equal, std::false_type>::value 33 std::allocator_traits<min_allocator<int>>::is_always_equal, std::true_type>::value 40 std::allocator_traits<A1<int>>::is_always_equal 47 std::allocator_traits<min_allocator<int>>::is_always_equal 53 ( std::allocator_traits<A1<int>>::is_always_equal::value && 54 std::allocator_traits<A2<int>>::is_always_equal::value) 60 ( std::allocator_traits<A1<int>>::is_always_equal::value && 61 std::allocator_traits<min_allocator<int>>::is_always_equal::value) 68 ( std::allocator_traits<A1<int>>::is_always_equal::value && 69 std::allocator_traits<A2<int>>::is_always_equal::value && [all...] |
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
is_always_equal.pass.cpp | 13 // struct allocator_traits 45 static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::value), ""); 46 static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::value), ""); 47 static_assert((std::is_same<std::allocator_traits<C<char> >::is_always_equal, std::false_type>::value), ""); 49 static_assert((std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type>::value), ""); 50 static_assert((std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type>::value), ""); 51 static_assert((std::is_same<std::allocator_traits<C<const char> >::is_always_equal, std::false_type>::value), "");
|
pointer.pass.cpp | 13 // struct allocator_traits 49 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), ""); 50 static_assert((std::is_same<std::allocator_traits<B<char> >::pointer, char*>::value), ""); 52 static_assert((std::is_same<std::allocator_traits<C<char> >::pointer, char*>::value), "");
|
propagate_on_container_copy_assignment.pass.cpp | 13 // struct allocator_traits 49 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_copy_assignment, std::true_type>::value), ""); 50 static_assert((std::is_same<std::allocator_traits<B<char> >::propagate_on_container_copy_assignment, std::false_type>::value), ""); 52 static_assert((std::is_same<std::allocator_traits<C<char> >::propagate_on_container_copy_assignment, std::false_type>::value), "");
|
propagate_on_container_move_assignment.pass.cpp | 13 // struct allocator_traits 50 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_move_assignment, std::true_type>::value), ""); 51 static_assert((std::is_same<std::allocator_traits<B<char> >::propagate_on_container_move_assignment, std::false_type>::value), ""); 53 static_assert((std::is_same<std::allocator_traits<C<char> >::propagate_on_container_move_assignment, std::false_type>::value), "");
|
propagate_on_container_swap.pass.cpp | 13 // struct allocator_traits 48 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_swap, std::true_type>::value), ""); 49 static_assert((std::is_same<std::allocator_traits<B<char> >::propagate_on_container_swap, std::false_type>::value), ""); 51 static_assert((std::is_same<std::allocator_traits<C<char> >::propagate_on_container_swap, std::false_type>::value), "");
|
rebind_alloc.pass.cpp | 13 // struct allocator_traits 87 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double> >::value), ""); 88 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<double, char> >::value), ""); 89 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::value), ""); 90 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, char> >::value), ""); 91 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::value), ""); 92 static_assert((std::is_same<std::allocator_traits<F<char> >::rebind_alloc<double>, F<double> >::value), ""); 93 static_assert((std::is_same<std::allocator_traits<G<char> >::rebind_alloc<double>, G<double> >::value), ""); 95 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA<double> >::value), ""); 96 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), "") [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
is_always_equal.pass.cpp | 13 // struct allocator_traits 45 static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::value), ""); 46 static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::value), ""); 47 static_assert((std::is_same<std::allocator_traits<C<char> >::is_always_equal, std::false_type>::value), ""); 49 static_assert((std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type>::value), ""); 50 static_assert((std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type>::value), ""); 51 static_assert((std::is_same<std::allocator_traits<C<const char> >::is_always_equal, std::false_type>::value), "");
|
pointer.pass.cpp | 13 // struct allocator_traits 49 static_assert((std::is_same<std::allocator_traits<A<char> >::pointer, Ptr<char> >::value), ""); 50 static_assert((std::is_same<std::allocator_traits<B<char> >::pointer, char*>::value), ""); 52 static_assert((std::is_same<std::allocator_traits<C<char> >::pointer, char*>::value), "");
|
propagate_on_container_copy_assignment.pass.cpp | 13 // struct allocator_traits 49 static_assert((std::is_same<std::allocator_traits<A<char> >::propagate_on_container_copy_assignment, std::true_type>::value), ""); 50 static_assert((std::is_same<std::allocator_traits<B<char> >::propagate_on_container_copy_assignment, std::false_type>::value), ""); 52 static_assert((std::is_same<std::allocator_traits<C<char> >::propagate_on_container_copy_assignment, std::false_type>::value), "");
|
/external/clang/test/SemaCXX/ |
PR9902.cpp | 17 struct allocator_traits struct 20 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; 28 allocator_traits<allocator<char>>::rebind_alloc<int> a;
|
PR9908.cpp | 11 struct allocator_traits struct 16 template <class T> using rebind_traits = allocator_traits<rebind_alloc<T>>; 32 allocator_traits<A<char> >::rebind_traits<double> a;
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
max_size.pass.cpp | 13 // struct allocator_traits 48 assert(std::allocator_traits<B<int> >::max_size(b) == 100); 52 assert(std::allocator_traits<B<int> >::max_size(b) == 100); 57 assert(std::allocator_traits<A<int> >::max_size(a) == 62 assert(std::allocator_traits<A<int> >::max_size(a) == 67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.members/ |
max_size.pass.cpp | 13 // struct allocator_traits 47 assert(std::allocator_traits<A<int> >::max_size(a) == 52 assert(std::allocator_traits<A<int> >::max_size(a) == 58 assert(std::allocator_traits<B<int> >::max_size(b) == 100); 62 assert(std::allocator_traits<B<int> >::max_size(b) == 100); 67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
|
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
max_size.pass.cpp | 13 // struct allocator_traits 47 assert(std::allocator_traits<A<int> >::max_size(a) == 52 assert(std::allocator_traits<A<int> >::max_size(a) == 58 assert(std::allocator_traits<B<int> >::max_size(b) == 100); 62 assert(std::allocator_traits<B<int> >::max_size(b) == 100); 67 static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, "");
|
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/allocator.traits/allocator.traits.types/ |
rebind_alloc.pass.cpp | 13 // struct allocator_traits 67 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double> >::value), ""); 68 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<double, char> >::value), ""); 69 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::value), ""); 70 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, char> >::value), ""); 71 static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::value), ""); 73 static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA<double> >::value), ""); 74 static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, ReboundB<double, char> >::value), ""); 75 static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double> >::value), ""); 76 static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>::other, D<double, char> >::value), "") [all...] |
const_pointer.pass.cpp | 13 // struct allocator_traits 52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_pointer, Ptr<const char> >::value), ""); 53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_pointer, const char*>::value), ""); 54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_pointer, CPtr<const char> >::value), "");
|
const_void_pointer.pass.cpp | 13 // struct allocator_traits 52 static_assert((std::is_same<std::allocator_traits<A<char> >::const_void_pointer, Ptr<const void> >::value), ""); 53 static_assert((std::is_same<std::allocator_traits<B<char> >::const_void_pointer, const void*>::value), ""); 54 static_assert((std::is_same<std::allocator_traits<C<char> >::const_void_pointer, CPtr<const void> >::value), "");
|
difference_type.pass.cpp | 13 // struct allocator_traits 59 static_assert((std::is_same<std::allocator_traits<A<char> >::difference_type, short>::value), ""); 60 static_assert((std::is_same<std::allocator_traits<B<char> >::difference_type, std::ptrdiff_t>::value), ""); 61 static_assert((std::is_same<std::allocator_traits<C<char> >::difference_type, signed char>::value), "");
|
size_type.pass.cpp | 13 // struct allocator_traits 58 static_assert((std::is_same<std::allocator_traits<A<char> >::size_type, unsigned short>::value), ""); 59 static_assert((std::is_same<std::allocator_traits<B<char> >::size_type, 61 static_assert((std::is_same<std::allocator_traits<C<char> >::size_type,
|
void_pointer.pass.cpp | 13 // struct allocator_traits 52 static_assert((std::is_same<std::allocator_traits<A<char> >::void_pointer, Ptr<void> >::value), ""); 53 static_assert((std::is_same<std::allocator_traits<B<char> >::void_pointer, void*>::value), ""); 54 static_assert((std::is_same<std::allocator_traits<C<char> >::void_pointer, CPtr<void> >::value), "");
|