Home
last modified time | relevance | path

Searched refs:alloc_first (Results 1 – 10 of 10) sorted by relevance

/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc_const_Types.pass.cpp55 assert(!alloc_first::allocator_constructed); in main()
56 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5), alloc_first(3)); in main()
57 assert(alloc_first::allocator_constructed); in main()
58 assert(std::get<0>(t) == alloc_first(3)); in main()
67 alloc_first::allocator_constructed = false; in main()
68 std::tuple<int, alloc_first> t(std::allocator_arg, A1<int>(5), in main()
69 10, alloc_first(15)); in main()
71 assert(alloc_first::allocator_constructed); in main()
72 assert(std::get<1>(t) == alloc_first(15)); in main()
75 alloc_first::allocator_constructed = false; in main()
[all …]
Dalloc.pass.cpp57 assert(!alloc_first::allocator_constructed); in main()
58 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5)); in main()
59 assert(alloc_first::allocator_constructed); in main()
60 assert(std::get<0>(t) == alloc_first()); in main()
69 alloc_first::allocator_constructed = false; in main()
70 std::tuple<DefaultOnly, alloc_first> t(std::allocator_arg, A1<int>(5)); in main()
72 assert(alloc_first::allocator_constructed); in main()
73 assert(std::get<1>(t) == alloc_first()); in main()
76 alloc_first::allocator_constructed = false; in main()
78 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
[all …]
Dalloc_copy.pass.cpp40 typedef std::tuple<alloc_first> T; in main()
42 alloc_first::allocator_constructed = false; in main()
44 assert(alloc_first::allocator_constructed); in main()
58 typedef std::tuple<alloc_first, alloc_last> T; in main()
60 alloc_first::allocator_constructed = false; in main()
63 assert(alloc_first::allocator_constructed); in main()
69 typedef std::tuple<int, alloc_first, alloc_last> T; in main()
71 alloc_first::allocator_constructed = false; in main()
74 assert(alloc_first::allocator_constructed); in main()
Dalloc_move.pass.cpp41 typedef std::tuple<alloc_first> T; in main()
43 alloc_first::allocator_constructed = false; in main()
45 assert(alloc_first::allocator_constructed); in main()
59 typedef std::tuple<MoveOnly, alloc_first> T; in main()
61 alloc_first::allocator_constructed = false; in main()
63 assert(alloc_first::allocator_constructed); in main()
68 typedef std::tuple<MoveOnly, alloc_first, alloc_last> T; in main()
70 alloc_first::allocator_constructed = false; in main()
73 assert(alloc_first::allocator_constructed); in main()
Dalloc_convert_copy.pass.cpp48 typedef std::tuple<alloc_first> T1; in main()
50 alloc_first::allocator_constructed = false; in main()
52 assert(alloc_first::allocator_constructed); in main()
57 typedef std::tuple<alloc_first, alloc_last> T1; in main()
59 alloc_first::allocator_constructed = false; in main()
62 assert(alloc_first::allocator_constructed); in main()
69 typedef std::tuple<long long, alloc_first, alloc_last> T1; in main()
71 alloc_first::allocator_constructed = false; in main()
74 assert(alloc_first::allocator_constructed); in main()
Dalloc_convert_move.pass.cpp57 typedef std::tuple<alloc_first> T1; in main()
59 alloc_first::allocator_constructed = false; in main()
61 assert(alloc_first::allocator_constructed); in main()
73 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1; in main()
75 alloc_first::allocator_constructed = false; in main()
77 assert(alloc_first::allocator_constructed); in main()
83 typedef std::tuple<alloc_last, alloc_first, std::unique_ptr<B>> T1; in main()
85 alloc_first::allocator_constructed = false; in main()
88 assert(alloc_first::allocator_constructed); in main()
Dalloc_const_pair.pass.cpp39 typedef std::tuple<alloc_first, double> T1; in main()
41 alloc_first::allocator_constructed = false; in main()
43 assert(alloc_first::allocator_constructed); in main()
49 typedef std::tuple<alloc_first, alloc_last> T1; in main()
51 alloc_first::allocator_constructed = false; in main()
54 assert(alloc_first::allocator_constructed); in main()
Dalloc_UTypes.pass.cpp124 alloc_first::allocator_constructed = false; in main()
126 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
129 assert(alloc_first::allocator_constructed); in main()
130 assert(std::get<1>(t) == alloc_first(2)); in main()
138 alloc_first::allocator_constructed = false; in main()
140 std::tuple<int, alloc_first, alloc_last> t(tag, in main()
143 assert(alloc_first::allocator_constructed); in main()
144 assert(std::get<1>(t) == alloc_first(2)); in main()
Dalloc_move_pair.pass.cpp47 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1; in main()
49 alloc_first::allocator_constructed = false; in main()
51 assert(alloc_first::allocator_constructed); in main()
/external/libcxx/test/std/utilities/tuple/tuple.tuple/
Dalloc_first.h17 struct alloc_first struct
25 alloc_first() : data_(0) {} in alloc_first() function
26 alloc_first(int d) : data_(d) {} in alloc_first() argument
27 alloc_first(std::allocator_arg_t, const A1<int>& a) in alloc_first() argument
34 alloc_first(std::allocator_arg_t, const A1<int>& a, int d) in alloc_first() function
41 alloc_first(std::allocator_arg_t, const A1<int>& a, const alloc_first& d) in alloc_first() function
48 ~alloc_first() {data_ = -1;} in ~alloc_first() argument
50 friend bool operator==(const alloc_first& x, const alloc_first& y)
52 friend bool operator< (const alloc_first& x, const alloc_first& y)
56 bool alloc_first::allocator_constructed = false;