Home
last modified time | relevance | path

Searched refs:alloc_last (Results 1 – 9 of 9) sorted by relevance

/external/libcxx/test/std/utilities/tuple/tuple.tuple/
Dalloc_last.h17 struct alloc_last struct
25 alloc_last() : data_(0) {} in alloc_last() function
26 alloc_last(int d) : data_(d) {} in alloc_last() function
27 alloc_last(const A1<int>& a) in alloc_last() argument
34 alloc_last(int d, const A1<int>& a) in alloc_last() function
41 alloc_last(const alloc_last& d, const A1<int>& a) in alloc_last() argument
48 ~alloc_last() {data_ = -1;} in ~alloc_last() argument
50 friend bool operator==(const alloc_last& x, const alloc_last& y)
52 friend bool operator< (const alloc_last& x, const alloc_last& y)
56 bool alloc_last::allocator_constructed = false;
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc_const_Types.pass.cpp61 assert(!alloc_last::allocator_constructed); in main()
62 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5), alloc_last(3)); in main()
63 assert(alloc_last::allocator_constructed); in main()
64 assert(std::get<0>(t) == alloc_last(3)); in main()
76 alloc_last::allocator_constructed = false; in main()
77 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
79 alloc_last(3)); in main()
83 assert(alloc_last::allocator_constructed); in main()
84 assert(std::get<2>(t) == alloc_last(3)); in main()
88 alloc_last::allocator_constructed = false; in main()
[all …]
Dalloc.pass.cpp63 assert(!alloc_last::allocator_constructed); in main()
64 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5)); in main()
65 assert(alloc_last::allocator_constructed); in main()
66 assert(std::get<0>(t) == alloc_last()); in main()
77 alloc_last::allocator_constructed = false; in main()
78 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
83 assert(alloc_last::allocator_constructed); in main()
84 assert(std::get<2>(t) == alloc_last()); in main()
88 alloc_last::allocator_constructed = false; in main()
89 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
[all …]
Dalloc_copy.pass.cpp48 typedef std::tuple<alloc_last> T; in main()
50 alloc_last::allocator_constructed = false; in main()
52 assert(alloc_last::allocator_constructed); in main()
58 typedef std::tuple<alloc_first, alloc_last> T; in main()
61 alloc_last::allocator_constructed = false; in main()
64 assert(alloc_last::allocator_constructed); in main()
69 typedef std::tuple<int, alloc_first, alloc_last> T; in main()
72 alloc_last::allocator_constructed = false; in main()
75 assert(alloc_last::allocator_constructed); in main()
Dalloc_move.pass.cpp49 typedef std::tuple<alloc_last> T; in main()
51 alloc_last::allocator_constructed = false; in main()
53 assert(alloc_last::allocator_constructed); in main()
68 typedef std::tuple<MoveOnly, alloc_first, alloc_last> T; in main()
71 alloc_last::allocator_constructed = false; in main()
74 assert(alloc_last::allocator_constructed); in main()
Dalloc_UTypes.pass.cpp125 alloc_last::allocator_constructed = false; in main()
126 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
131 assert(alloc_last::allocator_constructed); in main()
132 assert(std::get<2>(t) == alloc_last(3)); in main()
139 alloc_last::allocator_constructed = false; in main()
140 std::tuple<int, alloc_first, alloc_last> t(tag, in main()
145 assert(alloc_last::allocator_constructed); in main()
146 assert(std::get<2>(t) == alloc_last(3)); in main()
Dalloc_convert_copy.pass.cpp57 typedef std::tuple<alloc_first, alloc_last> T1; in main()
60 alloc_last::allocator_constructed = false; in main()
63 assert(alloc_last::allocator_constructed); in main()
69 typedef std::tuple<long long, alloc_first, alloc_last> T1; in main()
72 alloc_last::allocator_constructed = false; in main()
75 assert(alloc_last::allocator_constructed); in main()
Dalloc_const_pair.pass.cpp49 typedef std::tuple<alloc_first, alloc_last> T1; in main()
52 alloc_last::allocator_constructed = false; in main()
55 assert(alloc_last::allocator_constructed); in main()
Dalloc_convert_move.pass.cpp83 typedef std::tuple<alloc_last, alloc_first, std::unique_ptr<B>> T1; in main()
86 alloc_last::allocator_constructed = false; in main()
89 assert(alloc_last::allocator_constructed); in main()