Home
last modified time | relevance | path

Searched refs:iArr2 (Results 1 – 25 of 26) sorted by relevance

12

/external/libcxx/test/std/containers/views/span.elem/
Ddata.pass.cpp42 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 …]
Dop_idx.pass.cpp53 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/
Ddata.pass.cpp41 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 …]
Dop_idx.pass.cpp48 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 …]
Dback.pass.cpp49 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()
Dfront.pass.cpp50 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/
Das_writable_bytes.pass.cpp46 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 …]
Das_bytes.pass.cpp46 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/
Das_bytes.pass.cpp47 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 …]
Das_writeable_bytes.pass.cpp47 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 …]
Das_writeable_bytes.fail.cpp28 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/
Dsize.pass.cpp41 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 …]
Dsize_bytes.pass.cpp42 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 …]
Dempty.pass.cpp25 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/
Dsize.pass.cpp42 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 …]
Dsize_bytes.pass.cpp43 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 …]
Dempty.pass.cpp26 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/
Dbegin.pass.cpp60 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()
Drbegin.pass.cpp61 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()
Drend.pass.cpp60 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()
Dend.pass.cpp64 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/
Dbegin.pass.cpp71 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()
Drbegin.pass.cpp72 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()
Drend.pass.cpp73 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()
Dend.pass.cpp79 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()

12