/external/libcxx/test/std/containers/views/span.elem/ |
D | data.pass.cpp | 42 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 89 testRuntimeSpan(std::span<int>(iArr2, 1), iArr2); in main() 90 testRuntimeSpan(std::span<int>(iArr2, 2), iArr2); in main() 91 testRuntimeSpan(std::span<int>(iArr2, 3), iArr2); in main() 92 testRuntimeSpan(std::span<int>(iArr2, 4), iArr2); in main() 94 testRuntimeSpan(std::span<int>(iArr2 + 1, 1), iArr2 + 1); in main() 95 testRuntimeSpan(std::span<int>(iArr2 + 2, 2), iArr2 + 2); in main() 96 testRuntimeSpan(std::span<int>(iArr2 + 3, 3), iArr2 + 3); in main() 97 testRuntimeSpan(std::span<int>(iArr2 + 4, 4), iArr2 + 4); in main() 106 testRuntimeSpan(std::span<int, 1>(iArr2, 1), iArr2); in main() [all …]
|
D | op_idx.pass.cpp | 53 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 87 testRuntimeSpan(std::span<int>(iArr2, 1), 0); in main() 89 testRuntimeSpan(std::span<int>(iArr2, 2), 0); in main() 90 testRuntimeSpan(std::span<int>(iArr2, 2), 1); in main() 92 testRuntimeSpan(std::span<int>(iArr2, 3), 0); in main() 93 testRuntimeSpan(std::span<int>(iArr2, 3), 1); in main() 94 testRuntimeSpan(std::span<int>(iArr2, 3), 2); in main() 96 testRuntimeSpan(std::span<int>(iArr2, 4), 0); in main() 97 testRuntimeSpan(std::span<int>(iArr2, 4), 1); in main() 98 testRuntimeSpan(std::span<int>(iArr2, 4), 2); in main() [all …]
|
/external/llvm-project/libcxx/test/std/containers/views/span.elem/ |
D | data.pass.cpp | 41 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 88 testRuntimeSpan(std::span<int>(iArr2, 1), iArr2); in main() 89 testRuntimeSpan(std::span<int>(iArr2, 2), iArr2); in main() 90 testRuntimeSpan(std::span<int>(iArr2, 3), iArr2); in main() 91 testRuntimeSpan(std::span<int>(iArr2, 4), iArr2); in main() 93 testRuntimeSpan(std::span<int>(iArr2 + 1, 1), iArr2 + 1); in main() 94 testRuntimeSpan(std::span<int>(iArr2 + 2, 2), iArr2 + 2); in main() 95 testRuntimeSpan(std::span<int>(iArr2 + 3, 3), iArr2 + 3); in main() 96 testRuntimeSpan(std::span<int>(iArr2 + 4, 4), iArr2 + 4); in main() 105 testRuntimeSpan(std::span<int, 1>(iArr2, 1), iArr2); in main() [all …]
|
D | op_idx.pass.cpp | 48 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 82 testRuntimeSpan(std::span<int>(iArr2, 1), 0); in main() 84 testRuntimeSpan(std::span<int>(iArr2, 2), 0); in main() 85 testRuntimeSpan(std::span<int>(iArr2, 2), 1); in main() 87 testRuntimeSpan(std::span<int>(iArr2, 3), 0); in main() 88 testRuntimeSpan(std::span<int>(iArr2, 3), 1); in main() 89 testRuntimeSpan(std::span<int>(iArr2, 3), 2); in main() 91 testRuntimeSpan(std::span<int>(iArr2, 4), 0); in main() 92 testRuntimeSpan(std::span<int>(iArr2, 4), 1); in main() 93 testRuntimeSpan(std::span<int>(iArr2, 4), 2); in main() [all …]
|
D | back.pass.cpp | 49 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 64 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 65 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 66 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 67 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 70 testRuntimeSpan(std::span<int, 1>(iArr2, 1)); in main() 71 testRuntimeSpan(std::span<int, 2>(iArr2, 2)); in main() 72 testRuntimeSpan(std::span<int, 3>(iArr2, 3)); in main() 73 testRuntimeSpan(std::span<int, 4>(iArr2, 4)); in main()
|
D | front.pass.cpp | 50 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 65 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 66 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 67 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 68 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 71 testRuntimeSpan(std::span<int, 1>(iArr2, 1)); in main() 72 testRuntimeSpan(std::span<int, 2>(iArr2, 2)); in main() 73 testRuntimeSpan(std::span<int, 3>(iArr2, 3)); in main() 74 testRuntimeSpan(std::span<int, 4>(iArr2, 4)); in main()
|
/external/llvm-project/libcxx/test/std/containers/views/span.objectrep/ |
D | as_writable_bytes.pass.cpp | 46 int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 62 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 63 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 64 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 65 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 66 testRuntimeSpan(std::span<int>(iArr2, 5)); in main() 68 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1)); in main() 69 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2)); in main() 70 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3)); in main() 71 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4)); in main() [all …]
|
D | as_bytes.pass.cpp | 46 int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 62 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 63 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 64 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 65 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 66 testRuntimeSpan(std::span<int>(iArr2, 5)); in main() 68 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1)); in main() 69 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2)); in main() 70 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3)); in main() 71 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4)); in main() [all …]
|
/external/libcxx/test/std/containers/views/span.objectrep/ |
D | as_bytes.pass.cpp | 47 int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 63 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 64 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 65 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 66 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 67 testRuntimeSpan(std::span<int>(iArr2, 5)); in main() 69 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1)); in main() 70 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2)); in main() 71 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3)); in main() 72 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4)); in main() [all …]
|
D | as_writeable_bytes.pass.cpp | 47 int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 63 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 64 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 65 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 66 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 67 testRuntimeSpan(std::span<int>(iArr2, 5)); in main() 69 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1)); in main() 70 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2)); in main() 71 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3)); in main() 72 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4)); in main() [all …]
|
D | as_writeable_bytes.fail.cpp | 28 const int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; variable 46 …std::as_writeable_bytes(std::span<const int> (iArr2, 1)); // expected-error {{no matching fu… in main() 47 …std::as_writeable_bytes(std::span<const int, 1>(iArr2 + 5, 1)); // expected-error {{no matching fu… in main()
|
/external/llvm-project/libcxx/test/std/containers/views/span.obs/ |
D | size.pass.cpp | 41 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 75 testRuntimeSpan(std::span<int>(iArr2, 1), 1); in main() 76 testRuntimeSpan(std::span<int>(iArr2, 2), 2); in main() 77 testRuntimeSpan(std::span<int>(iArr2, 3), 3); in main() 78 testRuntimeSpan(std::span<int>(iArr2, 4), 4); in main() 79 testRuntimeSpan(std::span<int>(iArr2, 5), 5); in main() 81 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1), 1); in main() 82 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2), 2); in main() 83 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3), 3); in main() 84 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4), 4); in main() [all …]
|
D | size_bytes.pass.cpp | 42 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 76 testRuntimeSpan(std::span<int>(iArr2, 1), 1); in main() 77 testRuntimeSpan(std::span<int>(iArr2, 2), 2); in main() 78 testRuntimeSpan(std::span<int>(iArr2, 3), 3); in main() 79 testRuntimeSpan(std::span<int>(iArr2, 4), 4); in main() 80 testRuntimeSpan(std::span<int>(iArr2, 5), 5); in main() 82 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1), 1); in main() 83 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2), 2); in main() 84 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3), 3); in main() 85 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4), 4); in main() [all …]
|
D | empty.pass.cpp | 25 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 63 assert(!(std::span<int, 1>(iArr2, 1).empty())); in main() 64 assert(!(std::span<int, 2>(iArr2, 2).empty())); in main() 65 assert(!(std::span<int, 3>(iArr2, 3).empty())); in main() 66 assert(!(std::span<int, 4>(iArr2, 4).empty())); in main() 67 assert(!(std::span<int, 5>(iArr2, 5).empty())); in main()
|
/external/libcxx/test/std/containers/views/span.obs/ |
D | size.pass.cpp | 42 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 76 testRuntimeSpan(std::span<int>(iArr2, 1), 1); in main() 77 testRuntimeSpan(std::span<int>(iArr2, 2), 2); in main() 78 testRuntimeSpan(std::span<int>(iArr2, 3), 3); in main() 79 testRuntimeSpan(std::span<int>(iArr2, 4), 4); in main() 80 testRuntimeSpan(std::span<int>(iArr2, 5), 5); in main() 82 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1), 1); in main() 83 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2), 2); in main() 84 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3), 3); in main() 85 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4), 4); in main() [all …]
|
D | size_bytes.pass.cpp | 43 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 77 testRuntimeSpan(std::span<int>(iArr2, 1), 1); in main() 78 testRuntimeSpan(std::span<int>(iArr2, 2), 2); in main() 79 testRuntimeSpan(std::span<int>(iArr2, 3), 3); in main() 80 testRuntimeSpan(std::span<int>(iArr2, 4), 4); in main() 81 testRuntimeSpan(std::span<int>(iArr2, 5), 5); in main() 83 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1), 1); in main() 84 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2), 2); in main() 85 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3), 3); in main() 86 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4), 4); in main() [all …]
|
D | empty.pass.cpp | 26 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 64 assert(!(std::span<int, 1>(iArr2, 1).empty())); in main() 65 assert(!(std::span<int, 2>(iArr2, 2).empty())); in main() 66 assert(!(std::span<int, 3>(iArr2, 3).empty())); in main() 67 assert(!(std::span<int, 4>(iArr2, 4).empty())); in main() 68 assert(!(std::span<int, 5>(iArr2, 5).empty())); in main()
|
/external/llvm-project/libcxx/test/std/containers/views/span.iterators/ |
D | begin.pass.cpp | 60 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 96 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 97 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 98 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 99 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 100 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|
D | rbegin.pass.cpp | 61 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 97 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 98 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 99 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 100 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 101 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|
D | rend.pass.cpp | 60 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 96 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 97 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 98 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 99 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 100 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|
D | end.pass.cpp | 64 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 100 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 101 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 102 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 103 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 104 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|
/external/libcxx/test/std/containers/views/span.iterators/ |
D | begin.pass.cpp | 71 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 107 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 108 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 109 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 110 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 111 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|
D | rbegin.pass.cpp | 72 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 108 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 109 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 110 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 111 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 112 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|
D | rend.pass.cpp | 73 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 109 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 110 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 111 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 112 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 113 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|
D | end.pass.cpp | 79 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; variable 115 testRuntimeSpan(std::span<int>(iArr2, 1)); in main() 116 testRuntimeSpan(std::span<int>(iArr2, 2)); in main() 117 testRuntimeSpan(std::span<int>(iArr2, 3)); in main() 118 testRuntimeSpan(std::span<int>(iArr2, 4)); in main() 119 testRuntimeSpan(std::span<int>(iArr2, 5)); in main()
|