/external/libcxx/test/std/containers/views/span.objectrep/ |
as_bytes.pass.cpp | 47 int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; 63 testRuntimeSpan(std::span<int>(iArr2, 1)); 64 testRuntimeSpan(std::span<int>(iArr2, 2)); 65 testRuntimeSpan(std::span<int>(iArr2, 3)); 66 testRuntimeSpan(std::span<int>(iArr2, 4)); 67 testRuntimeSpan(std::span<int>(iArr2, 5)); 69 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1)); 70 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2)); 71 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3)); 72 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4)) [all...] |
as_writeable_bytes.pass.cpp | 47 int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; 63 testRuntimeSpan(std::span<int>(iArr2, 1)); 64 testRuntimeSpan(std::span<int>(iArr2, 2)); 65 testRuntimeSpan(std::span<int>(iArr2, 3)); 66 testRuntimeSpan(std::span<int>(iArr2, 4)); 67 testRuntimeSpan(std::span<int>(iArr2, 5)); 69 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1)); 70 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2)); 71 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3)); 72 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4)) [all...] |
as_writeable_bytes.fail.cpp | 28 const int iArr2[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; 46 std::as_writeable_bytes(std::span<const int> (iArr2, 1)); // expected-error {{no matching function for call to 'as_writeable_bytes'}} 47 std::as_writeable_bytes(std::span<const int, 1>(iArr2 + 5, 1)); // expected-error {{no matching function for call to 'as_writeable_bytes'}}
|
/external/libcxx/test/std/containers/views/span.elem/ |
data.pass.cpp | 42 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 89 testRuntimeSpan(std::span<int>(iArr2, 1), iArr2); 90 testRuntimeSpan(std::span<int>(iArr2, 2), iArr2); 91 testRuntimeSpan(std::span<int>(iArr2, 3), iArr2); 92 testRuntimeSpan(std::span<int>(iArr2, 4), iArr2); 94 testRuntimeSpan(std::span<int>(iArr2 + 1, 1), iArr2 + 1) [all...] |
op_idx.pass.cpp | 53 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 87 testRuntimeSpan(std::span<int>(iArr2, 1), 0); 89 testRuntimeSpan(std::span<int>(iArr2, 2), 0); 90 testRuntimeSpan(std::span<int>(iArr2, 2), 1); 92 testRuntimeSpan(std::span<int>(iArr2, 3), 0); 93 testRuntimeSpan(std::span<int>(iArr2, 3), 1); 94 testRuntimeSpan(std::span<int>(iArr2, 3), 2); 96 testRuntimeSpan(std::span<int>(iArr2, 4), 0); 97 testRuntimeSpan(std::span<int>(iArr2, 4), 1); 98 testRuntimeSpan(std::span<int>(iArr2, 4), 2) [all...] |
/external/libcxx/test/std/containers/views/span.obs/ |
size.pass.cpp | 42 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 76 testRuntimeSpan(std::span<int>(iArr2, 1), 1); 77 testRuntimeSpan(std::span<int>(iArr2, 2), 2); 78 testRuntimeSpan(std::span<int>(iArr2, 3), 3); 79 testRuntimeSpan(std::span<int>(iArr2, 4), 4); 80 testRuntimeSpan(std::span<int>(iArr2, 5), 5); 82 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1), 1); 83 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2), 2); 84 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3), 3); 85 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4), 4) [all...] |
size_bytes.pass.cpp | 43 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 77 testRuntimeSpan(std::span<int>(iArr2, 1), 1); 78 testRuntimeSpan(std::span<int>(iArr2, 2), 2); 79 testRuntimeSpan(std::span<int>(iArr2, 3), 3); 80 testRuntimeSpan(std::span<int>(iArr2, 4), 4); 81 testRuntimeSpan(std::span<int>(iArr2, 5), 5); 83 testRuntimeSpan(std::span<int, 1>(iArr2 + 5, 1), 1); 84 testRuntimeSpan(std::span<int, 2>(iArr2 + 4, 2), 2); 85 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3), 3); 86 testRuntimeSpan(std::span<int, 4>(iArr2 + 2, 4), 4) [all...] |
empty.pass.cpp | 26 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 64 assert(!(std::span<int, 1>(iArr2, 1).empty())); 65 assert(!(std::span<int, 2>(iArr2, 2).empty())); 66 assert(!(std::span<int, 3>(iArr2, 3).empty())); 67 assert(!(std::span<int, 4>(iArr2, 4).empty())); 68 assert(!(std::span<int, 5>(iArr2, 5).empty()));
|
/external/libcxx/test/std/containers/views/span.iterators/ |
begin.pass.cpp | 71 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 107 testRuntimeSpan(std::span<int>(iArr2, 1)); 108 testRuntimeSpan(std::span<int>(iArr2, 2)); 109 testRuntimeSpan(std::span<int>(iArr2, 3)); 110 testRuntimeSpan(std::span<int>(iArr2, 4)); 111 testRuntimeSpan(std::span<int>(iArr2, 5));
|
end.pass.cpp | 79 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 115 testRuntimeSpan(std::span<int>(iArr2, 1)); 116 testRuntimeSpan(std::span<int>(iArr2, 2)); 117 testRuntimeSpan(std::span<int>(iArr2, 3)); 118 testRuntimeSpan(std::span<int>(iArr2, 4)); 119 testRuntimeSpan(std::span<int>(iArr2, 5));
|
rbegin.pass.cpp | 72 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 108 testRuntimeSpan(std::span<int>(iArr2, 1)); 109 testRuntimeSpan(std::span<int>(iArr2, 2)); 110 testRuntimeSpan(std::span<int>(iArr2, 3)); 111 testRuntimeSpan(std::span<int>(iArr2, 4)); 112 testRuntimeSpan(std::span<int>(iArr2, 5));
|
rend.pass.cpp | 73 int iArr2[] = {10, 11, 12, 13, 14, 15, 16, 17, 18, 19}; 109 testRuntimeSpan(std::span<int>(iArr2, 1)); 110 testRuntimeSpan(std::span<int>(iArr2, 2)); 111 testRuntimeSpan(std::span<int>(iArr2, 3)); 112 testRuntimeSpan(std::span<int>(iArr2, 4)); 113 testRuntimeSpan(std::span<int>(iArr2, 5));
|