Home
last modified time | relevance | path

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

1234

/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()
/external/llvm-project/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.cpp28 std::promise<int> p0(std::allocator_arg, test_allocator<int>()); in main()
29 std::promise<int> p(std::allocator_arg, test_allocator<int>()); in main()
51 std::promise<int&> p0(std::allocator_arg, test_allocator<int>()); in main()
52 std::promise<int&> p(std::allocator_arg, test_allocator<int>()); in main()
74 std::promise<void> p0(std::allocator_arg, test_allocator<void>()); in main()
75 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()
/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_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_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_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()
DPR20855_tuple_ref_binding_diagnostics.pass.cpp95 std::tuple<int&> t1(std::allocator_arg, alloc, std::ref(x)); in allocator_tests()
105 std::tuple<int&> t2(std::allocator_arg, alloc, r); in allocator_tests()
107 std::tuple<int&> t3(std::allocator_arg, alloc, cr); in allocator_tests()
115 std::tuple<int const&> t3(std::allocator_arg, alloc, std::ref(x)); in allocator_tests()
117 std::tuple<int const&> t4(std::allocator_arg, alloc, std::cref(x)); in allocator_tests()
127 std::tuple<int const&> t3(std::allocator_arg, alloc, r); in allocator_tests()
129 std::tuple<int const&> t4(std::allocator_arg, alloc, cr); in allocator_tests()
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()
/external/llvm-project/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc_const_Types.pass.cpp36 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()
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_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<int>{}, t1}; in main()
87 std::tuple<Implicit> t2 = {std::allocator_arg, std::allocator<int>{}, t1}; in main()
Dalloc_UTypes.pass.cpp84 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()
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<int>{}, std::move(t1)}; in main()
101 std::tuple<Implicit> t2 = {std::allocator_arg, std::allocator<int>{}, std::move(t1)}; in main()
DPR20855_tuple_ref_binding_diagnostics.pass.cpp94 std::tuple<int&> t1(std::allocator_arg, alloc, std::ref(x)); in allocator_tests()
104 std::tuple<int&> t2(std::allocator_arg, alloc, r); in allocator_tests()
106 std::tuple<int&> t3(std::allocator_arg, alloc, cr); in allocator_tests()
114 std::tuple<int const&> t3(std::allocator_arg, alloc, std::ref(x)); in allocator_tests()
116 std::tuple<int const&> t4(std::allocator_arg, alloc, std::cref(x)); in allocator_tests()
126 std::tuple<int const&> t3(std::allocator_arg, alloc, r); in allocator_tests()
128 std::tuple<int const&> t4(std::allocator_arg, alloc, cr); in allocator_tests()
/external/libcxx/test/std/thread/futures/futures.task/futures.task.members/
Dctor_func_alloc.pass.cpp51 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
66 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
81 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), &func); in main()
93 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), func); in main()
104 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
116 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
/external/llvm-project/libcxx/test/std/thread/futures/futures.task/futures.task.members/
Dctor_func_alloc.pass.cpp51 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
66 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
81 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), &func); in main()
93 std::packaged_task<int(int)> p(std::allocator_arg, test_allocator<A>(), func); in main()
104 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()
116 std::packaged_task<double(int, char)> p(std::allocator_arg, in main()

1234