| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.promise/ |
| H A D | alloc_ctor.pass.cpp | 31 std::promise<int> p(std::allocator_arg, test_allocator<int>(42, &alloc_stats)); in main() 39 std::promise<int&> p(std::allocator_arg, test_allocator<int>(42, &alloc_stats)); in main() 47 std::promise<void> p(std::allocator_arg, test_allocator<void>(42, &alloc_stats)); in main() 56 std::promise<int> p(std::allocator_arg, bare_allocator<void>()); in main() 61 std::promise<int&> p(std::allocator_arg, bare_allocator<void>()); in main() 66 std::promise<void> p(std::allocator_arg, bare_allocator<void>()); in main() 72 std::promise<int> p(std::allocator_arg, min_allocator<void>()); in main() 77 std::promise<int&> p(std::allocator_arg, min_allocator<void>()); in main() 82 std::promise<void> p(std::allocator_arg, min_allocator<void>()); in main()
|
| H A D | move_assign.pass.cpp | 29 std::promise<int> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 30 std::promise<int> p(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 52 std::promise<int&> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 53 std::promise<int&> p(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 75 std::promise<void> p0(std::allocator_arg, test_allocator<void>(&alloc_stats)); in main() 76 std::promise<void> p(std::allocator_arg, test_allocator<void>(&alloc_stats)); in main()
|
| H A D | swap.pass.cpp | 31 std::promise<int> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 32 std::promise<int> p(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 45 std::promise<int> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 46 std::promise<int> p(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 59 std::promise<int> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 73 std::promise<int> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main()
|
| H A D | move_ctor.pass.cpp | 29 std::promise<int> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 50 std::promise<int&> p0(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 71 std::promise<void> p0(std::allocator_arg, test_allocator<void>(&alloc_stats)); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/ |
| H A D | alloc_const_Types.pass.cpp | 36 return {std::allocator_arg, std::allocator<int>{}, i}; in testImplicitCopy1() 41 return {std::allocator_arg, std::allocator<int>{}, i}; in testImplicitCopy2() 48 std::tuple<int*>{std::allocator_arg, std::allocator<int>{}, 0}; in main() 51 std::tuple<int> t(std::allocator_arg, A1<int>(), 3); in main() 56 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5), alloc_first(3)); in main() 62 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5), alloc_last(3)); in main() 68 std::tuple<int, alloc_first> t(std::allocator_arg, A1<int>(5), in main() 77 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main() 89 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
|
| H A D | alloc.pass.cpp | 42 std::tuple<> t(std::allocator_arg, A1<int>()); in main() 45 std::tuple<int> t(std::allocator_arg, A1<int>()); in main() 49 std::tuple<DefaultOnly> t(std::allocator_arg, A1<int>()); in main() 54 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5)); in main() 60 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5)); in main() 66 std::tuple<DefaultOnly, alloc_first> t(std::allocator_arg, A1<int>(5)); in main() 74 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main() 85 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
|
| H A D | alloc_convert_copy.pass.cpp | 42 std::tuple<int> t2 = {std::allocator_arg, test_allocator<int>{}, t1}; in alloc_copy_constructor_is_constexpr() 54 T1 t1(std::allocator_arg, A1<int>(), t0); in main() 62 T1 t1(std::allocator_arg, A1<int>(5), t0); in main() 72 T1 t1(std::allocator_arg, A1<int>(5), t0); in main() 84 T1 t1(std::allocator_arg, A1<int>(5), t0); in main() 93 std::tuple<Explicit> t2{std::allocator_arg, std::allocator<int>{}, t1}; in main() 98 std::tuple<Implicit> t2 = {std::allocator_arg, std::allocator<int>{}, t1}; in main()
|
| H A D | alloc_copy.pass.cpp | 31 T t(std::allocator_arg, A1<int>(), t0); in main() 36 T t(std::allocator_arg, A1<int>(), t0); in main() 43 T t(std::allocator_arg, A1<int>(5), t0); in main() 51 T t(std::allocator_arg, A1<int>(5), t0); in main() 60 T t(std::allocator_arg, A1<int>(5), t0); in main() 71 T t(std::allocator_arg, A1<int>(5), t0); in main()
|
| H A D | alloc_UTypes.pass.cpp | 84 std::tuple<Explicit> t{std::allocator_arg, std::allocator<int>{}, 42}; in main() 88 std::tuple<MoveOnly> t(std::allocator_arg, A1<int>(), MoveOnly(0)); in main() 93 std::tuple<T> t(std::allocator_arg, A1<int>(), T(42)); in main() 97 std::tuple<MoveOnly, MoveOnly> t(std::allocator_arg, A1<int>(), in main() 104 std::tuple<T, T> t(std::allocator_arg, A1<int>(), T(42), T(43)); in main() 109 std::tuple<MoveOnly, MoveOnly, MoveOnly> t(std::allocator_arg, A1<int>(), in main() 118 std::tuple<T, T, T> t(std::allocator_arg, A1<int>(), T(1), T(2), T(3)); in main() 126 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
|
| H A D | alloc_move.pass.cpp | 32 T t(std::allocator_arg, A1<int>(), std::move(t0)); in main() 37 T t(std::allocator_arg, A1<int>(), std::move(t0)); in main() 44 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main() 52 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main() 60 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main() 70 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
|
| H A D | alloc_convert_move.pass.cpp | 57 std::tuple<int> t2 = {std::allocator_arg, test_allocator<int>{}, std::move(t1)}; in alloc_move_constructor_is_constexpr() 70 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main() 78 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main() 86 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main() 97 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main() 106 std::tuple<Explicit> t2{std::allocator_arg, std::allocator<int>{}, std::move(t1)}; in main() 111 std::tuple<Implicit> t2 = {std::allocator_arg, std::allocator<int>{}, std::move(t1)}; in main()
|
| H A D | PR20855_tuple_ref_binding_diagnostics.pass.cpp | 93 std::tuple<int&> t1(std::allocator_arg, alloc, std::ref(x)); in allocator_tests() 103 std::tuple<int&> t2(std::allocator_arg, alloc, r); in allocator_tests() 105 std::tuple<int&> t3(std::allocator_arg, alloc, cr); in allocator_tests() 113 std::tuple<int const&> t3(std::allocator_arg, alloc, std::ref(x)); in allocator_tests() 115 std::tuple<int const&> t4(std::allocator_arg, alloc, std::cref(x)); in allocator_tests() 125 std::tuple<int const&> t3(std::allocator_arg, alloc, r); in allocator_tests() 127 std::tuple<int const&> t4(std::allocator_arg, alloc, cr); in allocator_tests()
|
| H A D | PR22806_constrain_tuple_like_ctor.pass.cpp | 121 std::tuple< T&& > t2(std::allocator_arg, A, std::move(t1)); in main() 127 std::tuple< T const & > t2(std::allocator_arg, A, t1); in main() 130 std::tuple< T const & > t3(std::allocator_arg, A, static_cast<T const&>(t1)); in main() 136 std::tuple< T & > t2(std::allocator_arg, A, t1); in main() 141 std::tuple< T const && > t2(std::allocator_arg, A, std::move(t1)); in main()
|
| H A D | alloc_const_pair.pass.cpp | 33 T1 t1(std::allocator_arg, A1<int>(5), t0); in main() 42 T1 t1(std::allocator_arg, A1<int>(5), t0); in main() 53 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
|
| H A D | alloc_const_Types.fail.cpp | 29 return {std::allocator_arg, std::allocator<int>{}, e}; in const_explicit_copy_test() 35 return {std::allocator_arg, std::allocator<int>{}, e}; in non_const_explicity_copy_test()
|
| H A D | alloc_convert_copy.fail.cpp | 29 return {std::allocator_arg, std::allocator<int>{}, t1}; in const_explicit_copy_test() 35 return {std::allocator_arg, std::allocator<int>{}, t1}; in non_const_explicit_copy_test()
|
| H A D | alloc_non_const_pair.pass.cpp | 75 …std::tuple<ConvertibleFrom<MutableCopy>, ConvertibleFrom<int>> t = {std::allocator_arg, test_alloc… in test() 85 …tuple<ExplicitConstructibleFrom<MutableCopy>, ExplicitConstructibleFrom<int>> t{std::allocator_arg, in test() 96 …std::tuple<ConvertibleFrom<TracedCopyMove>, TracedCopyMove> t = {std::allocator_arg, test_allocato… in test()
|
| H A D | alloc_const_move_pair.pass.cpp | 76 …std::tuple<ConvertibleFrom<ConstMove>, ConvertibleFrom<int>> t = {std::allocator_arg, test_allocat… in test() 88 std::allocator_arg, test_allocator<int>{}, std::move(p)}; in test() 98 …std::tuple<ConvertibleFrom<TracedCopyMove>, TracedCopyMove> t = {std::allocator_arg, test_allocato… in test()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.task/futures.task.members/ |
| H A D | ctor_func_alloc.pass.cpp | 52 std::packaged_task<double(int, char)> p(std::allocator_arg, in main() 67 std::packaged_task<double(int, char)> p(std::allocator_arg, in main() 82 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(&alloc_stats), &func); in main() 94 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(&alloc_stats), func); in main() 105 std::packaged_task<double(int, char)> p(std::allocator_arg, in main() 117 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.unique_future/ |
| H A D | dtor.pass.cpp | 33 std::promise<T> p(std::allocator_arg, test_allocator<T>(&alloc_stats)); in main() 47 std::promise<T> p(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 61 std::promise<T> p(std::allocator_arg, test_allocator<T>(&alloc_stats)); in main()
|
| /llvm-project-15.0.7/libcxx/test/std/thread/futures/futures.shared_future/ |
| H A D | dtor.pass.cpp | 33 std::promise<T> p(std::allocator_arg, test_allocator<T>(&alloc_stats)); in main() 47 std::promise<T> p(std::allocator_arg, test_allocator<int>(&alloc_stats)); in main() 61 std::promise<T> p(std::allocator_arg, test_allocator<T>(&alloc_stats)); in main()
|
| /llvm-project-15.0.7/libcxx/include/__memory/ |
| H A D | allocator_arg_t.h | 27 extern _LIBCPP_EXPORTED_FROM_ABI const allocator_arg_t allocator_arg; 29 /* inline */ constexpr allocator_arg_t allocator_arg = allocator_arg_t(); variable 63 new (__storage) _Tp (allocator_arg, __a, _VSTD::forward<_Args>(__args)...); in __user_alloc_construct_impl()
|
| /llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/ |
| H A D | alloc_rfunction.pass.cpp | 67 std::function<int(int)> f2(std::allocator_arg, bare_allocator<A>(), in main() 88 std::function<int(int)> f2(std::allocator_arg, std::allocator<int>{}, in main() 104 std::function<int(int)> f2(std::allocator_arg, std::allocator<int>(), in main()
|
| H A D | alloc_function.pass.cpp | 43 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FunctionObject() 67 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FreeFunction() 89 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_MemFunClass()
|
| H A D | alloc_F.pass.cpp | 51 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FunctionObject() 70 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FreeFunction() 89 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_MemFunClass()
|