Lines Matching refs:testRuntimeSpan
34 void testRuntimeSpan(Span sp, typename Span::pointer ptr)
83 testRuntimeSpan(std::span<int>(), nullptr);
84 testRuntimeSpan(std::span<long>(), nullptr);
85 testRuntimeSpan(std::span<double>(), nullptr);
86 testRuntimeSpan(std::span<A>(), nullptr);
87 testRuntimeSpan(std::span<std::string>(), nullptr);
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);
95 testRuntimeSpan(std::span<int>(iArr2 + 2, 2), iArr2 + 2);
96 testRuntimeSpan(std::span<int>(iArr2 + 3, 3), iArr2 + 3);
97 testRuntimeSpan(std::span<int>(iArr2 + 4, 4), iArr2 + 4);
100 testRuntimeSpan(std::span<int, 0>(), nullptr);
101 testRuntimeSpan(std::span<long, 0>(), nullptr);
102 testRuntimeSpan(std::span<double, 0>(), nullptr);
103 testRuntimeSpan(std::span<A, 0>(), nullptr);
104 testRuntimeSpan(std::span<std::string, 0>(), nullptr);
106 testRuntimeSpan(std::span<int, 1>(iArr2, 1), iArr2);
107 testRuntimeSpan(std::span<int, 2>(iArr2, 2), iArr2);
108 testRuntimeSpan(std::span<int, 3>(iArr2, 3), iArr2);
109 testRuntimeSpan(std::span<int, 4>(iArr2, 4), iArr2);
111 testRuntimeSpan(std::span<int, 1>(iArr2 + 1, 1), iArr2 + 1);
112 testRuntimeSpan(std::span<int, 2>(iArr2 + 2, 2), iArr2 + 2);
113 testRuntimeSpan(std::span<int, 3>(iArr2 + 3, 3), iArr2 + 3);
114 testRuntimeSpan(std::span<int, 4>(iArr2 + 4, 4), iArr2 + 4);
118 testRuntimeSpan(std::span<std::string>(&s, 1), &s);
119 testRuntimeSpan(std::span<std::string, 1>(&s, 1), &s);