/external/libcxx/test/std/containers/views/span.elem/ |
D | data.pass.cpp | 26 constexpr bool testConstexprSpan(Span sp, typename Span::pointer ptr) in testConstexprSpan() function 48 static_assert(testConstexprSpan(std::span<int>(), nullptr), ""); in main() 49 static_assert(testConstexprSpan(std::span<long>(), nullptr), ""); in main() 50 static_assert(testConstexprSpan(std::span<double>(), nullptr), ""); in main() 51 static_assert(testConstexprSpan(std::span<A>(), nullptr), ""); in main() 52 static_assert(testConstexprSpan(std::span<std::string>(), nullptr), ""); in main() 54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), iArr1), ""); in main() 55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), iArr1), ""); in main() 56 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), iArr1), ""); in main() 57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), iArr1), ""); in main() [all …]
|
D | op_idx.pass.cpp | 27 constexpr bool testConstexprSpan(Span sp, ptrdiff_t idx) in testConstexprSpan() function 57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 0), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 0), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 1), ""); in main() 62 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 0), ""); in main() 63 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 1), ""); in main() 64 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 2), ""); in main() 66 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 0), ""); in main() 67 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 1), ""); in main() 68 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 2), ""); in main() [all …]
|
/external/libcxx/test/std/containers/views/span.sub/ |
D | subspan.pass.cpp | 31 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan() function 50 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan() function 114 static_assert(testConstexprSpan<Sp, 0>(Sp{}), ""); in main() 116 static_assert(testConstexprSpan<Sp, 0, 4>(Sp{carr1}), ""); in main() 117 static_assert(testConstexprSpan<Sp, 0, 3>(Sp{carr1}), ""); in main() 118 static_assert(testConstexprSpan<Sp, 0, 2>(Sp{carr1}), ""); in main() 119 static_assert(testConstexprSpan<Sp, 0, 1>(Sp{carr1}), ""); in main() 120 static_assert(testConstexprSpan<Sp, 0, 0>(Sp{carr1}), ""); in main() 122 static_assert(testConstexprSpan<Sp, 1, 3>(Sp{carr1}), ""); in main() 123 static_assert(testConstexprSpan<Sp, 2, 2>(Sp{carr1}), ""); in main() [all …]
|
D | last.pass.cpp | 30 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan() function 76 static_assert(testConstexprSpan<Sp, 0>(Sp{}), ""); in main() 78 static_assert(testConstexprSpan<Sp, 0>(Sp{carr1}), ""); in main() 79 static_assert(testConstexprSpan<Sp, 1>(Sp{carr1}), ""); in main() 80 static_assert(testConstexprSpan<Sp, 2>(Sp{carr1}), ""); in main() 81 static_assert(testConstexprSpan<Sp, 3>(Sp{carr1}), ""); in main() 82 static_assert(testConstexprSpan<Sp, 4>(Sp{carr1}), ""); in main() 88 static_assert(testConstexprSpan<Sp, 0>(Sp{carr1}), ""); in main() 89 static_assert(testConstexprSpan<Sp, 1>(Sp{carr1}), ""); in main() 90 static_assert(testConstexprSpan<Sp, 2>(Sp{carr1}), ""); in main() [all …]
|
D | first.pass.cpp | 30 constexpr bool testConstexprSpan(Span sp) in testConstexprSpan() function 76 static_assert(testConstexprSpan<Sp, 0>(Sp{}), ""); in main() 78 static_assert(testConstexprSpan<Sp, 0>(Sp{carr1}), ""); in main() 79 static_assert(testConstexprSpan<Sp, 1>(Sp{carr1}), ""); in main() 80 static_assert(testConstexprSpan<Sp, 2>(Sp{carr1}), ""); in main() 81 static_assert(testConstexprSpan<Sp, 3>(Sp{carr1}), ""); in main() 82 static_assert(testConstexprSpan<Sp, 4>(Sp{carr1}), ""); in main() 88 static_assert(testConstexprSpan<Sp, 0>(Sp{carr1}), ""); in main() 89 static_assert(testConstexprSpan<Sp, 1>(Sp{carr1}), ""); in main() 90 static_assert(testConstexprSpan<Sp, 2>(Sp{carr1}), ""); in main() [all …]
|
/external/libcxx/test/std/containers/views/span.obs/ |
D | size.pass.cpp | 26 constexpr bool testConstexprSpan(Span sp, ptrdiff_t sz) in testConstexprSpan() function 46 static_assert(testConstexprSpan(std::span<int>(), 0), ""); in main() 47 static_assert(testConstexprSpan(std::span<long>(), 0), ""); in main() 48 static_assert(testConstexprSpan(std::span<double>(), 0), ""); in main() 49 static_assert(testConstexprSpan(std::span<A>(), 0), ""); in main() 50 static_assert(testConstexprSpan(std::span<std::string>(), 0), ""); in main() 52 static_assert(testConstexprSpan(std::span<int, 0>(), 0), ""); in main() 53 static_assert(testConstexprSpan(std::span<long, 0>(), 0), ""); in main() 54 static_assert(testConstexprSpan(std::span<double, 0>(), 0), ""); in main() 55 static_assert(testConstexprSpan(std::span<A, 0>(), 0), ""); in main() [all …]
|
D | size_bytes.pass.cpp | 27 constexpr bool testConstexprSpan(Span sp, ptrdiff_t sz) in testConstexprSpan() function 47 static_assert(testConstexprSpan(std::span<int>(), 0), ""); in main() 48 static_assert(testConstexprSpan(std::span<long>(), 0), ""); in main() 49 static_assert(testConstexprSpan(std::span<double>(), 0), ""); in main() 50 static_assert(testConstexprSpan(std::span<A>(), 0), ""); in main() 51 static_assert(testConstexprSpan(std::span<std::string>(), 0), ""); in main() 53 static_assert(testConstexprSpan(std::span<int, 0>(), 0), ""); in main() 54 static_assert(testConstexprSpan(std::span<long, 0>(), 0), ""); in main() 55 static_assert(testConstexprSpan(std::span<double, 0>(), 0), ""); in main() 56 static_assert(testConstexprSpan(std::span<A, 0>(), 0), ""); in main() [all …]
|
/external/libcxx/test/std/containers/views/span.iterators/ |
D | begin.pass.cpp | 23 constexpr bool testConstexprSpan(Span s) in testConstexprSpan() function 76 static_assert(testConstexprSpan(std::span<int>()), ""); in main() 77 static_assert(testConstexprSpan(std::span<long>()), ""); in main() 78 static_assert(testConstexprSpan(std::span<double>()), ""); in main() 79 static_assert(testConstexprSpan(std::span<A>()), ""); in main() 80 static_assert(testConstexprSpan(std::span<std::string>()), ""); in main() 82 static_assert(testConstexprSpan(std::span<int, 0>()), ""); in main() 83 static_assert(testConstexprSpan(std::span<long, 0>()), ""); in main() 84 static_assert(testConstexprSpan(std::span<double, 0>()), ""); in main() 85 static_assert(testConstexprSpan(std::span<A, 0>()), ""); in main() [all …]
|
D | rend.pass.cpp | 23 constexpr bool testConstexprSpan(Span s) in testConstexprSpan() function 78 static_assert(testConstexprSpan(std::span<int>()), ""); in main() 79 static_assert(testConstexprSpan(std::span<long>()), ""); in main() 80 static_assert(testConstexprSpan(std::span<double>()), ""); in main() 81 static_assert(testConstexprSpan(std::span<A>()), ""); in main() 82 static_assert(testConstexprSpan(std::span<std::string>()), ""); in main() 84 static_assert(testConstexprSpan(std::span<int, 0>()), ""); in main() 85 static_assert(testConstexprSpan(std::span<long, 0>()), ""); in main() 86 static_assert(testConstexprSpan(std::span<double, 0>()), ""); in main() 87 static_assert(testConstexprSpan(std::span<A, 0>()), ""); in main() [all …]
|
D | rbegin.pass.cpp | 23 constexpr bool testConstexprSpan(Span s) in testConstexprSpan() function 77 static_assert(testConstexprSpan(std::span<int>()), ""); in main() 78 static_assert(testConstexprSpan(std::span<long>()), ""); in main() 79 static_assert(testConstexprSpan(std::span<double>()), ""); in main() 80 static_assert(testConstexprSpan(std::span<A>()), ""); in main() 81 static_assert(testConstexprSpan(std::span<std::string>()), ""); in main() 83 static_assert(testConstexprSpan(std::span<int, 0>()), ""); in main() 84 static_assert(testConstexprSpan(std::span<long, 0>()), ""); in main() 85 static_assert(testConstexprSpan(std::span<double, 0>()), ""); in main() 86 static_assert(testConstexprSpan(std::span<A, 0>()), ""); in main() [all …]
|
D | end.pass.cpp | 23 constexpr bool testConstexprSpan(Span s) in testConstexprSpan() function 84 static_assert(testConstexprSpan(std::span<int>()), ""); in main() 85 static_assert(testConstexprSpan(std::span<long>()), ""); in main() 86 static_assert(testConstexprSpan(std::span<double>()), ""); in main() 87 static_assert(testConstexprSpan(std::span<A>()), ""); in main() 88 static_assert(testConstexprSpan(std::span<std::string>()), ""); in main() 90 static_assert(testConstexprSpan(std::span<int, 0>()), ""); in main() 91 static_assert(testConstexprSpan(std::span<long, 0>()), ""); in main() 92 static_assert(testConstexprSpan(std::span<double, 0>()), ""); in main() 93 static_assert(testConstexprSpan(std::span<A, 0>()), ""); in main() [all …]
|
/external/libcxx/test/std/containers/views/span.cons/ |
D | default.pass.cpp | 45 constexpr bool testConstexprSpan() in testConstexprSpan() function 70 static_assert(testConstexprSpan<int>(), ""); in main() 71 static_assert(testConstexprSpan<long>(), ""); in main() 72 static_assert(testConstexprSpan<double>(), ""); in main() 73 static_assert(testConstexprSpan<A>(), ""); in main()
|
D | stdarray.pass.cpp | 73 constexpr bool testConstexprSpan() in testConstexprSpan() function 102 static_assert(testConstexprSpan<int>(), ""); in main() 103 static_assert(testConstexprSpan<long>(), ""); in main() 104 static_assert(testConstexprSpan<double>(), ""); in main() 105 static_assert(testConstexprSpan<A>(), ""); in main()
|
D | container.pass.cpp | 81 constexpr bool testConstexprSpan() in testConstexprSpan() function 106 static_assert(testConstexprSpan<int>(), ""); in main() 107 static_assert(testConstexprSpan<long>(), ""); in main() 108 static_assert(testConstexprSpan<double>(), ""); in main() 109 static_assert(testConstexprSpan<A>(), ""); in main()
|
D | ptr_len.pass.cpp | 76 constexpr bool testConstexprSpan() in testConstexprSpan() function 101 static_assert(testConstexprSpan<int>(), ""); in main() 102 static_assert(testConstexprSpan<long>(), ""); in main() 103 static_assert(testConstexprSpan<double>(), ""); in main() 104 static_assert(testConstexprSpan<A>(), ""); in main()
|
D | ptr_ptr.pass.cpp | 76 constexpr bool testConstexprSpan() in testConstexprSpan() function 101 static_assert(testConstexprSpan<int>(), ""); in main() 102 static_assert(testConstexprSpan<long>(), ""); in main() 103 static_assert(testConstexprSpan<double>(), ""); in main() 104 static_assert(testConstexprSpan<A>(), ""); in main()
|
D | array.pass.cpp | 81 constexpr bool testConstexprSpan() in testConstexprSpan() function 111 static_assert(testConstexprSpan<int>(), ""); in main() 112 static_assert(testConstexprSpan<long>(), ""); in main() 113 static_assert(testConstexprSpan<double>(), ""); in main() 114 static_assert(testConstexprSpan<A>(), ""); in main()
|
D | span.pass.cpp | 79 constexpr bool testConstexprSpan() in testConstexprSpan() function 127 static_assert(testConstexprSpan<int>(), ""); in main() 128 static_assert(testConstexprSpan<long>(), ""); in main() 129 static_assert(testConstexprSpan<double>(), ""); in main() 130 static_assert(testConstexprSpan<A>(), ""); in main()
|