/external/llvm-project/libcxx/test/std/utilities/memory/allocator.traits/ |
D | rebind_traits.pass.cpp | 68 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator… in main() 69 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allo… in main() 70 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator… in main() 71 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allo… in main() 72 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>, std::allocator… in main() 74 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>::other, std::al… in main() 75 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>::other, st… in main() 76 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>::other, std::al… in main() 77 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>::other, st… in main() 78 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>::other, std::al… in main()
|
/external/libcxx/test/std/utilities/memory/allocator.traits/ |
D | rebind_traits.pass.cpp | 69 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>, std::allocator… in main() 70 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>, std::allo… in main() 71 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>, std::allocator… in main() 72 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>, std::allo… in main() 73 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>, std::allocator… in main() 75 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_traits<double>::other, std::al… in main() 76 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_traits<double>::other, st… in main() 77 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_traits<double>::other, std::al… in main() 78 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_traits<double>::other, st… in main() 79 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_traits<double>::other, std::al… in main()
|
/external/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | is_always_equal.pass.cpp | 29 std::allocator_traits<A1<int>>::is_always_equal, std::false_type>::value in main() 33 std::allocator_traits<min_allocator<int>>::is_always_equal, std::true_type>::value in main() 40 std::allocator_traits<A1<int>>::is_always_equal in main() 47 std::allocator_traits<min_allocator<int>>::is_always_equal in main() 53 ( std::allocator_traits<A1<int>>::is_always_equal::value && in main() 54 std::allocator_traits<A2<int>>::is_always_equal::value) in main() 60 ( std::allocator_traits<A1<int>>::is_always_equal::value && in main() 61 std::allocator_traits<min_allocator<int>>::is_always_equal::value) in main() 68 ( std::allocator_traits<A1<int>>::is_always_equal::value && in main() 69 std::allocator_traits<A2<int>>::is_always_equal::value && in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.types/ |
D | is_always_equal.pass.cpp | 29 std::allocator_traits<A1<int>>::is_always_equal, std::false_type>::value in main() 33 std::allocator_traits<min_allocator<int>>::is_always_equal, std::true_type>::value in main() 40 std::allocator_traits<A1<int>>::is_always_equal in main() 47 std::allocator_traits<min_allocator<int>>::is_always_equal in main() 53 ( std::allocator_traits<A1<int>>::is_always_equal::value && in main() 54 std::allocator_traits<A2<int>>::is_always_equal::value) in main() 60 ( std::allocator_traits<A1<int>>::is_always_equal::value && in main() 61 std::allocator_traits<min_allocator<int>>::is_always_equal::value) in main() 68 ( std::allocator_traits<A1<int>>::is_always_equal::value && in main() 69 std::allocator_traits<A2<int>>::is_always_equal::value && in main() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.destroy/ |
D | destroy_at.pass.cpp | 50 Counted* ptr1 = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() 51 Counted* ptr2 = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() 54 std::allocator_traits<Alloc>::construct(alloc, ptr1, &counter); in test() 55 std::allocator_traits<Alloc>::construct(alloc, ptr2, &counter); in test() 64 std::allocator_traits<Alloc>::deallocate(alloc, ptr1, 1); in test() 65 std::allocator_traits<Alloc>::deallocate(alloc, ptr2, 1); in test() 70 DerivedCounted* ptr1 = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() 71 DerivedCounted* ptr2 = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() 74 std::allocator_traits<Alloc>::construct(alloc, ptr1, &counter); in test() 75 std::allocator_traits<Alloc>::construct(alloc, ptr2, &counter); in test() [all …]
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
D | rebind_alloc.pass.cpp | 87 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double… in main() 88 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<d… in main() 89 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::va… in main() 90 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, … in main() 91 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::va… in main() 92 …static_assert((std::is_same<std::allocator_traits<F<char> >::rebind_alloc<double>, F<double> >::va… in main() 93 …static_assert((std::is_same<std::allocator_traits<G<char> >::rebind_alloc<double>, G<double> >::va… in main() 95 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA… in main() 96 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, Reb… in main() 97 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double… in main() [all …]
|
D | is_always_equal.pass.cpp | 45 …static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::val… in main() 46 …static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::val… in main() 47 …static_assert((std::is_same<std::allocator_traits<C<char> >::is_always_equal, std::false_type>::va… in main() 49 …static_assert((std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type… in main() 50 …static_assert((std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type… in main() 51 …static_assert((std::is_same<std::allocator_traits<C<const char> >::is_always_equal, std::false_typ… in main()
|
/external/llvm-project/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.types/ |
D | rebind_alloc.pass.cpp | 86 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>, ReboundA<double… in main() 87 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>, ReboundB<d… in main() 88 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>, C<double> >::va… in main() 89 …static_assert((std::is_same<std::allocator_traits<D<int, char> >::rebind_alloc<double>, D<double, … in main() 90 …static_assert((std::is_same<std::allocator_traits<E<char> >::rebind_alloc<double>, E<double> >::va… in main() 91 …static_assert((std::is_same<std::allocator_traits<F<char> >::rebind_alloc<double>, F<double> >::va… in main() 92 …static_assert((std::is_same<std::allocator_traits<G<char> >::rebind_alloc<double>, G<double> >::va… in main() 94 …static_assert((std::is_same<std::allocator_traits<A<char> >::rebind_alloc<double>::other, ReboundA… in main() 95 …static_assert((std::is_same<std::allocator_traits<B<int, char> >::rebind_alloc<double>::other, Reb… in main() 96 …static_assert((std::is_same<std::allocator_traits<C<char> >::rebind_alloc<double>::other, C<double… in main() [all …]
|
D | is_always_equal.pass.cpp | 46 …static_assert((std::is_same<std::allocator_traits<A<char> >::is_always_equal, std::true_type>::val… in main() 47 …static_assert((std::is_same<std::allocator_traits<B<char> >::is_always_equal, std::true_type>::val… in main() 48 …static_assert((std::is_same<std::allocator_traits<C<char> >::is_always_equal, std::false_type>::va… in main() 50 …static_assert((std::is_same<std::allocator_traits<A<const char> >::is_always_equal, std::true_type… in main() 51 …static_assert((std::is_same<std::allocator_traits<B<const char> >::is_always_equal, std::true_type… in main() 52 …static_assert((std::is_same<std::allocator_traits<C<const char> >::is_always_equal, std::false_typ… in main()
|
/external/llvm-project/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
D | destroy.pass.cpp | 92 CountDestructor* pool = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() 94 std::allocator_traits<Alloc>::construct(alloc, pool, &destructors); in test() 97 std::allocator_traits<Alloc>::destroy(alloc, pool); in test() 100 std::allocator_traits<Alloc>::deallocate(alloc, pool, 1); in test() 106 T* pool = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() 107 std::allocator_traits<Alloc>::construct(alloc, pool, nullptr); in test() 108 std::allocator_traits<Alloc>::destroy(alloc, pool); in test() 109 std::allocator_traits<Alloc>::deallocate(alloc, pool, 1); in test() 117 CountDestructor* pool = std::allocator_traits<Alloc>::allocate(alloc, 1); in test() 118 std::allocator_traits<Alloc>::construct(alloc, pool, &destructors_called); in test() [all …]
|
D | max_size.pass.cpp | 49 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in test() 53 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in test() 59 assert(std::allocator_traits<Alloc >::max_size(a) == 100); in test() 64 assert(std::allocator_traits<A<int> >::max_size(a) == in test() 69 assert(std::allocator_traits<A<int> >::max_size(a) == in test() 74 … static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, ""); in test()
|
D | select_on_container_copy_construction.pass.cpp | 54 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0); in test() 58 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0); in test() 64 assert(std::allocator_traits<Alloc>::select_on_container_copy_construction(a).id == 0); in test() 69 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100); in test() 73 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100); in test()
|
/external/webrtc/third_party/abseil-cpp/absl/memory/ |
D | memory_test.cc | 351 typename absl::allocator_traits<A>::allocator_type>::value)); in TEST() 354 typename absl::allocator_traits<A>::value_type>::value)); in TEST() 361 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 365 typename absl::allocator_traits<A>::pointer>::value)); in TEST() 370 typename absl::allocator_traits<HasPointer>::const_pointer>::value)); in TEST() 373 typename absl::allocator_traits<A>::const_pointer>::value)); in TEST() 381 typename absl::allocator_traits< in TEST() 384 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 394 typename absl::allocator_traits< in TEST() 397 typename absl::allocator_traits< in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/memory/ |
D | memory_test.cc | 349 typename absl::allocator_traits<A>::allocator_type>::value)); in TEST() 352 typename absl::allocator_traits<A>::value_type>::value)); in TEST() 359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 363 typename absl::allocator_traits<A>::pointer>::value)); in TEST() 368 typename absl::allocator_traits<HasPointer>::const_pointer>::value)); in TEST() 371 typename absl::allocator_traits<A>::const_pointer>::value)); in TEST() 379 typename absl::allocator_traits< in TEST() 382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 392 typename absl::allocator_traits< in TEST() 395 typename absl::allocator_traits< in TEST() [all …]
|
/external/abseil-cpp/absl/memory/ |
D | memory_test.cc | 351 typename absl::allocator_traits<A>::allocator_type>::value)); in TEST() 354 typename absl::allocator_traits<A>::value_type>::value)); in TEST() 361 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 365 typename absl::allocator_traits<A>::pointer>::value)); in TEST() 370 typename absl::allocator_traits<HasPointer>::const_pointer>::value)); in TEST() 373 typename absl::allocator_traits<A>::const_pointer>::value)); in TEST() 381 typename absl::allocator_traits< in TEST() 384 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 394 typename absl::allocator_traits< in TEST() 397 typename absl::allocator_traits< in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/memory/ |
D | memory_test.cc | 349 typename absl::allocator_traits<A>::allocator_type>::value)); in TEST() 352 typename absl::allocator_traits<A>::value_type>::value)); in TEST() 359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 363 typename absl::allocator_traits<A>::pointer>::value)); in TEST() 368 typename absl::allocator_traits<HasPointer>::const_pointer>::value)); in TEST() 371 typename absl::allocator_traits<A>::const_pointer>::value)); in TEST() 379 typename absl::allocator_traits< in TEST() 382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 392 typename absl::allocator_traits< in TEST() 395 typename absl::allocator_traits< in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/memory/ |
D | memory_test.cc | 349 typename absl::allocator_traits<A>::allocator_type>::value)); in TEST() 352 typename absl::allocator_traits<A>::value_type>::value)); in TEST() 359 EXPECT_TRUE((std::is_same<SmartPointer<X>, typename absl::allocator_traits< in TEST() 363 typename absl::allocator_traits<A>::pointer>::value)); in TEST() 368 typename absl::allocator_traits<HasPointer>::const_pointer>::value)); in TEST() 371 typename absl::allocator_traits<A>::const_pointer>::value)); in TEST() 379 typename absl::allocator_traits< in TEST() 382 (std::is_same<SmartPointer<void>, typename absl::allocator_traits< in TEST() 392 typename absl::allocator_traits< in TEST() 395 typename absl::allocator_traits< in TEST() [all …]
|
/external/libcxx/test/std/utilities/memory/allocator.traits/allocator.traits.members/ |
D | max_size.pass.cpp | 50 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main() 54 assert(std::allocator_traits<B<int> >::max_size(b) == 100); in main() 60 assert(std::allocator_traits<Alloc >::max_size(a) == 100); in main() 65 assert(std::allocator_traits<A<int> >::max_size(a) == in main() 70 assert(std::allocator_traits<A<int> >::max_size(a) == in main() 75 … static_assert(noexcept(std::allocator_traits<std::allocator<int>>::max_size(a)) == true, ""); in main()
|
D | select_on_container_copy_construction.pass.cpp | 55 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0); in main() 59 assert(std::allocator_traits<A<int> >::select_on_container_copy_construction(a).id == 0); in main() 65 assert(std::allocator_traits<Alloc>::select_on_container_copy_construction(a).id == 0); in main() 70 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100); in main() 74 assert(std::allocator_traits<B<int> >::select_on_container_copy_construction(b).id == 100); in main()
|
D | construct.pass.cpp | 92 std::allocator_traits<A<int> >::construct(a, (A0*)&a0); in main() 100 std::allocator_traits<A<int> >::construct(a, (A1*)&a1, 'c'); in main() 108 std::allocator_traits<A<int> >::construct(a, (A2*)&a2, 'd', 5); in main() 116 std::allocator_traits<Alloc>::construct(a, (VT*)&store, nullptr); in main() 126 std::allocator_traits<B<int> >::construct(b, (A0*)&a0); in main() 137 std::allocator_traits<B<int> >::construct(b, (A1*)&a1, 'c'); in main() 148 std::allocator_traits<B<int> >::construct(b, (A2*)&a2, 'd', 5); in main()
|
D | destroy.pass.cpp | 64 std::allocator_traits<A<int> >::construct(a, (A0*)&a0); in main() 66 std::allocator_traits<A<int> >::destroy(a, (A0*)&a0); in main() 74 std::allocator_traits<Alloc>::destroy(a, (VT*)&store); in main() 82 std::allocator_traits<B<int> >::construct(b, (A0*)&a0); in main() 85 std::allocator_traits<B<int> >::destroy(b, (A0*)&a0); in main()
|
/external/abseil-cpp/absl/container/internal/ |
D | container_memory.h | 52 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Allocate() 53 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Allocate() 68 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Deallocate() 69 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Deallocate() 82 absl::allocator_traits<Alloc>::construct( in ConstructFromTupleImpl() 357 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value, 360 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 370 absl::allocator_traits<Allocator>::construct( 373 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 381 absl::allocator_traits<Allocator>::destroy(*alloc, &slot->mutable_value); [all …]
|
/external/openscreen/third_party/abseil/src/absl/container/internal/ |
D | container_memory.h | 58 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Allocate() 59 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Allocate() 77 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Deallocate() 78 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Deallocate() 94 absl::allocator_traits<Alloc>::construct( in ConstructFromTupleImpl() 384 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value, 387 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 397 absl::allocator_traits<Allocator>::construct( 400 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 408 absl::allocator_traits<Allocator>::destroy(*alloc, &slot->mutable_value); [all …]
|
/external/libtextclassifier/abseil-cpp/absl/container/internal/ |
D | container_memory.h | 58 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Allocate() 59 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Allocate() 77 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Deallocate() 78 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Deallocate() 94 absl::allocator_traits<Alloc>::construct( in ConstructFromTupleImpl() 384 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value, 387 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 397 absl::allocator_traits<Allocator>::construct( 400 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 408 absl::allocator_traits<Allocator>::destroy(*alloc, &slot->mutable_value); [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/container/internal/ |
D | container_memory.h | 58 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Allocate() 59 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Allocate() 77 using A = typename absl::allocator_traits<Alloc>::template rebind_alloc<M>; in Deallocate() 78 using AT = typename absl::allocator_traits<Alloc>::template rebind_traits<M>; in Deallocate() 94 absl::allocator_traits<Alloc>::construct( in ConstructFromTupleImpl() 384 absl::allocator_traits<Allocator>::construct(*alloc, &slot->mutable_value, 387 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 397 absl::allocator_traits<Allocator>::construct( 400 absl::allocator_traits<Allocator>::construct(*alloc, &slot->value, 408 absl::allocator_traits<Allocator>::destroy(*alloc, &slot->mutable_value); [all …]
|