Home
last modified time | relevance | path

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

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/tuple.cnstr/
Dalloc_const_Types.pass.cpp31 assert(!alloc_first::allocator_constructed); in main()
32 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5), alloc_first(3)); in main()
33 assert(alloc_first::allocator_constructed); in main()
34 assert(std::get<0>(t) == alloc_first(3)); in main()
43 alloc_first::allocator_constructed = false; in main()
44 std::tuple<int, alloc_first> t(std::allocator_arg, A1<int>(5), in main()
45 10, alloc_first(15)); in main()
47 assert(alloc_first::allocator_constructed); in main()
48 assert(std::get<1>(t) == alloc_first(15)); in main()
51 alloc_first::allocator_constructed = false; in main()
[all …]
Dalloc.pass.cpp39 assert(!alloc_first::allocator_constructed); in main()
40 std::tuple<alloc_first> t(std::allocator_arg, A1<int>(5)); in main()
41 assert(alloc_first::allocator_constructed); in main()
42 assert(std::get<0>(t) == alloc_first()); in main()
51 alloc_first::allocator_constructed = false; in main()
52 std::tuple<DefaultOnly, alloc_first> t(std::allocator_arg, A1<int>(5)); in main()
54 assert(alloc_first::allocator_constructed); in main()
55 assert(std::get<1>(t) == alloc_first()); in main()
58 alloc_first::allocator_constructed = false; in main()
60 std::tuple<DefaultOnly, alloc_first, alloc_last> t(std::allocator_arg, in main()
[all …]
Dalloc_convert_copy.pass.cpp35 typedef std::tuple<alloc_first> T1; in main()
37 alloc_first::allocator_constructed = false; in main()
39 assert(alloc_first::allocator_constructed); in main()
44 typedef std::tuple<alloc_first, alloc_last> T1; in main()
46 alloc_first::allocator_constructed = false; in main()
49 assert(alloc_first::allocator_constructed); in main()
56 typedef std::tuple<int, alloc_first, alloc_last> T1; in main()
58 alloc_first::allocator_constructed = false; in main()
61 assert(alloc_first::allocator_constructed); in main()
Dalloc_copy.pass.cpp38 typedef std::tuple<alloc_first> T; in main()
40 alloc_first::allocator_constructed = false; in main()
42 assert(alloc_first::allocator_constructed); in main()
54 typedef std::tuple<alloc_first, alloc_last> T; in main()
56 alloc_first::allocator_constructed = false; in main()
59 assert(alloc_first::allocator_constructed); in main()
65 typedef std::tuple<int, alloc_first, alloc_last> T; in main()
67 alloc_first::allocator_constructed = false; in main()
70 assert(alloc_first::allocator_constructed); in main()
Dalloc_move.pass.cpp39 typedef std::tuple<alloc_first> T; in main()
41 alloc_first::allocator_constructed = false; in main()
43 assert(alloc_first::allocator_constructed); in main()
55 typedef std::tuple<MoveOnly, alloc_first> T; in main()
57 alloc_first::allocator_constructed = false; in main()
59 assert(alloc_first::allocator_constructed); in main()
64 typedef std::tuple<MoveOnly, alloc_first, alloc_last> T; in main()
66 alloc_first::allocator_constructed = false; in main()
69 assert(alloc_first::allocator_constructed); in main()
Dalloc_convert_move.pass.cpp45 typedef std::tuple<alloc_first> T1; in main()
47 alloc_first::allocator_constructed = false; in main()
49 assert(alloc_first::allocator_constructed); in main()
61 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1; in main()
63 alloc_first::allocator_constructed = false; in main()
65 assert(alloc_first::allocator_constructed); in main()
71 typedef std::tuple<alloc_last, alloc_first, std::unique_ptr<B>> T1; in main()
73 alloc_first::allocator_constructed = false; in main()
76 assert(alloc_first::allocator_constructed); in main()
Dalloc_const_pair.pass.cpp37 typedef std::tuple<alloc_first, double> T1; in main()
39 alloc_first::allocator_constructed = false; in main()
41 assert(alloc_first::allocator_constructed); in main()
47 typedef std::tuple<alloc_first, alloc_last> T1; in main()
49 alloc_first::allocator_constructed = false; in main()
52 assert(alloc_first::allocator_constructed); in main()
Dalloc_move_pair.pass.cpp45 typedef std::tuple<alloc_first, std::unique_ptr<B>> T1; in main()
47 alloc_first::allocator_constructed = false; in main()
49 assert(alloc_first::allocator_constructed); in main()
Dalloc_UTypes.pass.cpp46 alloc_first::allocator_constructed = false; in main()
48 std::tuple<int, alloc_first, alloc_last> t(std::allocator_arg, in main()
51 assert(alloc_first::allocator_constructed); in main()
52 assert(std::get<1>(t) == alloc_first(2)); in main()
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/tuple/tuple.tuple/
Dalloc_first.h17 struct alloc_first struct
25 alloc_first() : data_(0) {} in alloc_first() argument
26 alloc_first(int d) : data_(d) {} in alloc_first() function
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() argument
41 alloc_first(std::allocator_arg_t, const A1<int>& a, const alloc_first& d) in alloc_first() argument
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;