Home
last modified time | relevance | path

Searched refs:allocator_arg (Results 1 – 25 of 44) sorted by relevance

12

/external/libcxx/test/std/thread/futures/futures.promise/
Dalloc_ctor.pass.cpp30 std::promise<int> p(std::allocator_arg, test_allocator<int>(42)); in main()
38 std::promise<int&> p(std::allocator_arg, test_allocator<int>(42)); in main()
46 std::promise<void> p(std::allocator_arg, test_allocator<void>(42)); in main()
55 std::promise<int> p(std::allocator_arg, bare_allocator<void>()); in main()
60 std::promise<int&> p(std::allocator_arg, bare_allocator<void>()); in main()
65 std::promise<void> p(std::allocator_arg, bare_allocator<void>()); in main()
71 std::promise<int> p(std::allocator_arg, min_allocator<void>()); in main()
76 std::promise<int&> p(std::allocator_arg, min_allocator<void>()); in main()
81 std::promise<void> p(std::allocator_arg, min_allocator<void>()); in main()
Dmove_assign.pass.cpp29 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main()
30 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main()
52 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); in main()
53 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); in main()
75 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); in main()
76 std::promise<void> p(std::allocator_arg, test_allocator<void>()); in main()
Dswap.pass.cpp30 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main()
31 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main()
44 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main()
45 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main()
58 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main()
72 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main()
Dmove_ctor.pass.cpp29 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main()
50 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); in main()
71 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc_const_Types.pass.cpp36 return {std::allocator_arg, std::allocator<void>{}, i}; in testImplicitCopy1()
41 return {std::allocator_arg, std::allocator<void>{}, i}; in testImplicitCopy2()
48 std::tuple<int*> t = {std::allocator_arg, std::allocator<void>{}, 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()
Dalloc.pass.cpp46 std::tuple<> t(std::allocator_arg, A1<int>()); in main()
49 std::tuple<int> t(std::allocator_arg, A1<int>()); in main()
53 std::tuple<DefaultOnly> t(std::allocator_arg, A1<int>()); in main()
58 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5)); in main()
64 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5)); in main()
70 std::tuple<DefaultOnly, alloc_first> t(std::allocator_arg, A1<int>(5)); in main()
78 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
89 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
Dalloc_copy.pass.cpp31 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()
62 T t(std::allocator_arg, A1<int>(5), t0); in main()
73 T t(std::allocator_arg, A1<int>(5), t0); in main()
Dalloc_move.pass.cpp32 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()
62 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
72 T t(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
Dalloc_UTypes.pass.cpp84 std::tuple<Explicit> t{std::allocator_arg, std::allocator<void>{}, 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()
Dalloc_convert_copy.pass.cpp43 T1 t1(std::allocator_arg, A1<int>(), t0); in main()
51 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
61 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
73 T1 t1(std::allocator_arg, A1<int>(5), t0); in main()
82 std::tuple<Explicit> t2{std::allocator_arg, std::allocator<void>{}, t1}; in main()
87 std::tuple<Implicit> t2 = {std::allocator_arg, std::allocator<void>{}, t1}; in main()
Dalloc_convert_move.pass.cpp60 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
68 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
76 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
87 T1 t1(std::allocator_arg, A1<int>(5), std::move(t0)); in main()
96 std::tuple<Explicit> t2{std::allocator_arg, std::allocator<void>{}, std::move(t1)}; in main()
101 std::tuple<Implicit> t2 = {std::allocator_arg, std::allocator<void>{}, std::move(t1)}; in main()
Dalloc_const_pair.pass.cpp33 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()
DPR22806_constrain_tuple_like_ctor.pass.cpp123 std::tuple< T&& > t2(std::allocator_arg, A, std::move(t1)); in main()
129 std::tuple< T const & > t2(std::allocator_arg, A, t1); in main()
132 std::tuple< T const & > t3(std::allocator_arg, A, static_cast<T const&>(t1)); in main()
138 std::tuple< T & > t2(std::allocator_arg, A, t1); in main()
143 std::tuple< T const && > t2(std::allocator_arg, A, std::move(t1)); in main()
Dalloc_const_Types.fail.cpp30 return {std::allocator_arg, std::allocator<void>{}, e}; in const_explicit_copy_test()
36 return {std::allocator_arg, std::allocator<void>{}, e}; in non_const_explicity_copy_test()
Dalloc_convert_copy.fail.cpp30 return {std::allocator_arg, std::allocator<void>{}, t1}; in const_explicit_copy_test()
36 return {std::allocator_arg, std::allocator<void>{}, t1}; in non_const_explicit_copy_test()
/external/libcxx/test/libcxx/utilities/tuple/tuple.tuple/
Ddiagnose_reference_binding.pass.cpp34 std::tuple<int&> t1(std::allocator_arg, alloc, std::ref(x)); in main()
44 std::tuple<int&> t2(std::allocator_arg, alloc, r); in main()
46 std::tuple<int&> t3(std::allocator_arg, alloc, cr); in main()
54 std::tuple<int const&> t3(std::allocator_arg, alloc, std::ref(x)); in main()
56 std::tuple<int const&> t4(std::allocator_arg, alloc, std::cref(x)); in main()
66 std::tuple<int const&> t3(std::allocator_arg, alloc, r); in main()
68 std::tuple<int const&> t4(std::allocator_arg, alloc, cr); in main()
Ddiagnose_reference_binding.fail.cpp29 std::tuple<int const&> t1(std::allocator_arg, alloc, 42); // expected-note {{requested here}} in main()
32 …std::tuple<std::string &&> t3(std::allocator_arg, alloc, "hello"); // expected-note {{requested he… in main()
/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/
Dctor_func_alloc.pass.cpp49 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
64 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
79 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), &func); in main()
91 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), func); in main()
102 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
114 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
/external/libcxx/test/std/thread/futures/futures.unique_future/
Ddtor.pass.cpp32 std::promise<T> p(std::allocator_arg, test_allocator<T>()); in main()
46 std::promise<T> p(std::allocator_arg, test_allocator<int>()); in main()
60 std::promise<T> p(std::allocator_arg, test_allocator<T>()); in main()
/external/libcxx/test/std/thread/futures/futures.shared_future/
Ddtor.pass.cpp32 std::promise<T> p(std::allocator_arg, test_allocator<T>()); in main()
46 std::promise<T> p(std::allocator_arg, test_allocator<int>()); in main()
60 std::promise<T> p(std::allocator_arg, test_allocator<T>()); in main()
/external/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
Dalloc_rfunction.pass.cpp67 std::function<int(int)> f2(std::allocator_arg, bare_allocator<A>(), std::move(f)); in main()
87 std::function<int(int)> f2(std::allocator_arg, std::allocator<void>{}, in main()
103 std::function<int(int)> f2(std::allocator_arg, std::allocator<void>(), in main()
Dalloc_function.pass.cpp41 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FunctionObject()
65 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_FreeFunction()
87 std::function<FuncType> f2(std::allocator_arg, alloc, f); in test_MemFunClass()
Dalloc_F.pass.cpp48 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FunctionObject()
67 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_FreeFunction()
84 std::function<FuncType> f2(std::allocator_arg, alloc, target); in test_MemFunClass()
Dalloc.fail.cpp24 std::function<int(int)> f(std::allocator_arg, std::allocator<int>()); in main()
/external/libcxx/test/std/utilities/memory/allocator.tag/
Dallocator_arg.pass.cpp21 test(std::allocator_arg); in main()

12