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() argument
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() argument
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.cpp39 assert(!alloc_last::allocator_constructed); in main()
40 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5), alloc_last(3)); in main()
41 assert(alloc_last::allocator_constructed); in main()
42 assert(std::get<0>(t) == alloc_last(3)); in main()
54 alloc_last::allocator_constructed = false; in main()
55 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
57 alloc_last(3)); in main()
61 assert(alloc_last::allocator_constructed); in main()
62 assert(std::get<2>(t) == alloc_last(3)); in main()
66 alloc_last::allocator_constructed = false; in main()
[all …]
Dalloc.pass.cpp47 assert(!alloc_last::allocator_constructed); in main()
48 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5)); in main()
49 assert(alloc_last::allocator_constructed); in main()
50 assert(std::get<0>(t) == alloc_last()); in main()
61 alloc_last::allocator_constructed = false; in main()
62 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
67 assert(alloc_last::allocator_constructed); in main()
68 assert(std::get<2>(t) == alloc_last()); in main()
72 alloc_last::allocator_constructed = false; in main()
73 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()
56 typedef std::tuple<alloc_first, alloc_last> T; in main()
59 alloc_last::allocator_constructed = false; in main()
62 assert(alloc_last::allocator_constructed); in main()
67 typedef std::tuple<int, alloc_first, alloc_last> T; in main()
70 alloc_last::allocator_constructed = false; in main()
73 assert(alloc_last::allocator_constructed); in main()
Dalloc_convert_copy.pass.cpp46 typedef std::tuple<alloc_first, alloc_last> T1; in main()
49 alloc_last::allocator_constructed = false; in main()
52 assert(alloc_last::allocator_constructed); in main()
58 typedef std::tuple<int, alloc_first, alloc_last> T1; in main()
61 alloc_last::allocator_constructed = false; in main()
64 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()
66 typedef std::tuple<MoveOnly, alloc_first, alloc_last> T; in main()
69 alloc_last::allocator_constructed = false; in main()
72 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_UTypes.pass.cpp114 alloc_last::allocator_constructed = false; in main()
115 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
120 assert(alloc_last::allocator_constructed); in main()
121 assert(std::get<2>(t) == alloc_last(3)); in main()
Dalloc_convert_move.pass.cpp73 typedef std::tuple<alloc_last, alloc_first, std::unique_ptr<B>> T1; in main()
76 alloc_last::allocator_constructed = false; in main()
79 assert(alloc_last::allocator_constructed); in main()