Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/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;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc_const_Types.pass.cpp37 assert(!alloc_last::allocator_constructed); in main()
38 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5), alloc_last(3)); in main()
39 assert(alloc_last::allocator_constructed); in main()
40 assert(std::get<0>(t) == alloc_last(3)); in main()
52 alloc_last::allocator_constructed = false; in main()
53 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
55 alloc_last(3)); in main()
59 assert(alloc_last::allocator_constructed); in main()
60 assert(std::get<2>(t) == alloc_last(3)); in main()
64 alloc_last::allocator_constructed = false; in main()
[all …]
Dalloc.pass.cpp45 assert(!alloc_last::allocator_constructed); in main()
46 std::tuple<alloc_last> t(std::allocator_arg, A1<int>(5)); in main()
47 assert(alloc_last::allocator_constructed); in main()
48 assert(std::get<0>(t) == alloc_last()); in main()
59 alloc_last::allocator_constructed = false; in main()
60 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
65 assert(alloc_last::allocator_constructed); in main()
66 assert(std::get<2>(t) == alloc_last()); in main()
70 alloc_last::allocator_constructed = false; in main()
71 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
[all …]
Dalloc_copy.pass.cpp46 typedef std::tuple<alloc_last> T; in main()
48 alloc_last::allocator_constructed = false; in main()
50 assert(alloc_last::allocator_constructed); in main()
54 typedef std::tuple<alloc_first, alloc_last> T; in main()
57 alloc_last::allocator_constructed = false; in main()
60 assert(alloc_last::allocator_constructed); in main()
65 typedef std::tuple<int, alloc_first, alloc_last> T; in main()
68 alloc_last::allocator_constructed = false; in main()
71 assert(alloc_last::allocator_constructed); in main()
Dalloc_convert_copy.pass.cpp44 typedef std::tuple<alloc_first, alloc_last> T1; in main()
47 alloc_last::allocator_constructed = false; in main()
50 assert(alloc_last::allocator_constructed); in main()
56 typedef std::tuple<int, alloc_first, alloc_last> T1; in main()
59 alloc_last::allocator_constructed = false; in main()
62 assert(alloc_last::allocator_constructed); in main()
Dalloc_move.pass.cpp47 typedef std::tuple<alloc_last> T; in main()
49 alloc_last::allocator_constructed = false; in main()
51 assert(alloc_last::allocator_constructed); in main()
64 typedef std::tuple<MoveOnly, alloc_first, alloc_last> T; in main()
67 alloc_last::allocator_constructed = false; in main()
70 assert(alloc_last::allocator_constructed); in main()
Dalloc_UTypes.pass.cpp47 alloc_last::allocator_constructed = false; in main()
48 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
53 assert(alloc_last::allocator_constructed); in main()
54 assert(std::get<2>(t) == alloc_last(3)); in main()
Dalloc_const_pair.pass.cpp47 typedef std::tuple<alloc_first, alloc_last> T1; in main()
50 alloc_last::allocator_constructed = false; in main()
53 assert(alloc_last::allocator_constructed); in main()
Dalloc_convert_move.pass.cpp71 typedef std::tuple<alloc_last, alloc_first, std::unique_ptr<B>> T1; in main()
74 alloc_last::allocator_constructed = false; in main()
77 assert(alloc_last::allocator_constructed); in main()