/external/libcxx/test/std/containers/views/span.elem/ |
D | data.pass.cpp | 41 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 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() 59 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 1, 1), iArr1 + 1), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 2, 2), iArr1 + 2), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 3, 3), iArr1 + 3), ""); in main() 62 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 4, 4), iArr1 + 4), ""); in main() 71 static_assert(testConstexprSpan(std::span<const int, 1>(iArr1, 1), iArr1), ""); in main() [all …]
|
D | op_idx.pass.cpp | 52 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 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/llvm-project/libcxx/test/std/containers/views/span.elem/ |
D | data.pass.cpp | 40 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 53 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), iArr1), ""); in main() 54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), iArr1), ""); in main() 55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), iArr1), ""); in main() 56 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), iArr1), ""); in main() 58 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 1, 1), iArr1 + 1), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 2, 2), iArr1 + 2), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 3, 3), iArr1 + 3), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int>(iArr1 + 4, 4), iArr1 + 4), ""); in main() 70 static_assert(testConstexprSpan(std::span<const int, 1>(iArr1, 1), iArr1), ""); in main() [all …]
|
D | op_idx.pass.cpp | 47 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 52 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 0), ""); in main() 54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 0), ""); in main() 55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 1), ""); in main() 57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 0), ""); in main() 58 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 1), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 2), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 0), ""); in main() 62 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 1), ""); in main() 63 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 2), ""); in main() [all …]
|
D | back.pass.cpp | 48 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 53 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 56 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 58 static_assert(testConstexprSpan(std::span<const int, 1>(iArr1, 1)), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int, 2>(iArr1, 2)), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int, 3>(iArr1, 3)), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int, 4>(iArr1, 4)), ""); in main()
|
D | front.pass.cpp | 49 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 54 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 55 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 56 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int, 1>(iArr1, 1)), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int, 2>(iArr1, 2)), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int, 3>(iArr1, 3)), ""); in main() 62 static_assert(testConstexprSpan(std::span<const int, 4>(iArr1, 4)), ""); in main()
|
/external/llvm-project/libcxx/test/std/containers/views/span.obs/ |
D | empty.pass.cpp | 24 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 45 static_assert(!std::span<const int>(iArr1, 1).empty(), ""); in main() 46 static_assert(!std::span<const int>(iArr1, 2).empty(), ""); in main() 47 static_assert(!std::span<const int>(iArr1, 3).empty(), ""); in main() 48 static_assert(!std::span<const int>(iArr1, 4).empty(), ""); in main() 49 static_assert(!std::span<const int>(iArr1, 5).empty(), ""); in main()
|
D | size.pass.cpp | 40 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 57 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 1), ""); in main() 58 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 2), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 3), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 4), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5), 5), ""); in main()
|
D | size_bytes.pass.cpp | 41 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 58 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 1), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 2), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 3), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 4), ""); in main() 62 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5), 5), ""); in main()
|
/external/libcxx/test/std/containers/views/span.obs/ |
D | empty.pass.cpp | 25 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 46 static_assert(!std::span<const int>(iArr1, 1).empty(), ""); in main() 47 static_assert(!std::span<const int>(iArr1, 2).empty(), ""); in main() 48 static_assert(!std::span<const int>(iArr1, 3).empty(), ""); in main() 49 static_assert(!std::span<const int>(iArr1, 4).empty(), ""); in main() 50 static_assert(!std::span<const int>(iArr1, 5).empty(), ""); in main()
|
D | size.pass.cpp | 41 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 58 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 1), ""); in main() 59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 2), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 3), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 4), ""); in main() 62 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5), 5), ""); in main()
|
D | size_bytes.pass.cpp | 42 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 59 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1), 1), ""); in main() 60 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2), 2), ""); in main() 61 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3), 3), ""); in main() 62 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4), 4), ""); in main() 63 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5), 5), ""); in main()
|
/external/llvm-project/libcxx/test/std/containers/views/span.iterators/ |
D | begin.pass.cpp | 59 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 77 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 78 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 79 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 80 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 81 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|
D | rbegin.pass.cpp | 60 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 78 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 79 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 80 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 81 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 82 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|
D | rend.pass.cpp | 59 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 77 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 78 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 79 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 80 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 81 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|
D | end.pass.cpp | 63 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 81 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 82 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 83 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 84 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 85 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|
/external/libcxx/test/std/containers/views/span.iterators/ |
D | begin.pass.cpp | 70 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 88 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 89 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 90 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 91 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 92 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|
D | rbegin.pass.cpp | 71 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 89 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 90 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 91 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 92 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 93 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|
D | rend.pass.cpp | 72 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 90 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 91 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 92 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 93 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 94 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|
D | end.pass.cpp | 78 constexpr int iArr1[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 96 static_assert(testConstexprSpan(std::span<const int>(iArr1, 1)), ""); in main() 97 static_assert(testConstexprSpan(std::span<const int>(iArr1, 2)), ""); in main() 98 static_assert(testConstexprSpan(std::span<const int>(iArr1, 3)), ""); in main() 99 static_assert(testConstexprSpan(std::span<const int>(iArr1, 4)), ""); in main() 100 static_assert(testConstexprSpan(std::span<const int>(iArr1, 5)), ""); in main()
|