Lines Matching refs:T

14 struct T { int i; };  struct
16 template <typename T>
17 using tracking_bounded_array_ref = libkern::bounded_array_ref<T, tracking_policy>;
19 template <typename T>
23 T array[5] = {T{0}, T{1}, T{2}, T{3}, T{4}}; in tests()
27 test_bounded_array_ref<T> view(array); in tests()
28 test_bounded_array_ref<T> slice = view.slice(0, 0); in tests()
32 test_bounded_array_ref<T> view(array); in tests()
33 test_bounded_array_ref<T> slice = view.slice(0, 1); in tests()
38 test_bounded_array_ref<T> view(array); in tests()
39 test_bounded_array_ref<T> slice = view.slice(0, 2); in tests()
45 test_bounded_array_ref<T> view(array); in tests()
46 test_bounded_array_ref<T> slice = view.slice(0, 5); in tests()
55 tracking_bounded_array_ref<T> view(array); in tests()
57 tracking_bounded_array_ref<T> slice = view.slice(0, 6); in tests()
64 test_bounded_array_ref<T> view(array); in tests()
65 test_bounded_array_ref<T> slice = view.slice(1, 0); in tests()
69 test_bounded_array_ref<T> view(array); in tests()
70 test_bounded_array_ref<T> slice = view.slice(1, 3); in tests()
77 test_bounded_array_ref<T> view(array); in tests()
78 test_bounded_array_ref<T> slice = view.slice(1, 4); in tests()
86 tracking_bounded_array_ref<T> view(array); in tests()
88 tracking_bounded_array_ref<T> slice = view.slice(1, 5); in tests()
92 tracking_bounded_array_ref<T> view(array); in tests()
94 tracking_bounded_array_ref<T> slice = view.slice(1, 10); in tests()
100 test_bounded_array_ref<T> view(array); in tests()
101 test_bounded_array_ref<T> slice = view.slice(3, 0); in tests()
105 test_bounded_array_ref<T> view(array); in tests()
106 test_bounded_array_ref<T> slice = view.slice(3, 2); in tests()
112 tracking_bounded_array_ref<T> view(array); in tests()
114 tracking_bounded_array_ref<T> slice = view.slice(3, 3); in tests()
118 tracking_bounded_array_ref<T> view(array); in tests()
120 tracking_bounded_array_ref<T> slice = view.slice(3, 100); in tests()
126 test_bounded_array_ref<T> view(array); in tests()
127 test_bounded_array_ref<T> slice = view.slice(4, 0); in tests()
131 test_bounded_array_ref<T> view(array); in tests()
132 test_bounded_array_ref<T> slice = view.slice(4, 1); in tests()
137 tracking_bounded_array_ref<T> view(array); in tests()
139 tracking_bounded_array_ref<T> slice = view.slice(4, 2); in tests()
145 test_bounded_array_ref<T> view(array); in tests()
146 test_bounded_array_ref<T> slice = view.slice(5, 0); in tests()
150 tracking_bounded_array_ref<T> view(array); in tests()
152 tracking_bounded_array_ref<T> slice = view.slice(5, 1); in tests()
156 tracking_bounded_array_ref<T> view(array); in tests()
158 tracking_bounded_array_ref<T> slice = view.slice(5, 10); in tests()
164 tracking_bounded_array_ref<T> view(array); in tests()
166 tracking_bounded_array_ref<T> slice = view.slice(6, 0); in tests()
170 tracking_bounded_array_ref<T> view(array); in tests()
172 tracking_bounded_array_ref<T> slice = view.slice(6, 1); in tests()
176 tracking_bounded_array_ref<T> view(array); in tests()
178 tracking_bounded_array_ref<T> slice = view.slice(8, 10); in tests()
186 tracking_bounded_array_ref<T> view(array); in tests()
188 tracking_bounded_array_ref<T> slice = view.slice(n, m); in tests()
195 test_bounded_array_ref<T> view(array); in tests()
196 test_bounded_array_ref<T> slice = view.slice(3, 2); in tests()
203 test_bounded_array_ref<T> view(array); in tests()
204 test_bounded_array_ref<T> slice = view.slice(1, 4).slice(2, 2); in tests()
212 test_bounded_array_ref<T> view; in tests()
213 test_bounded_array_ref<T> slice = view.slice(0, 0); in tests()
217 tracking_bounded_array_ref<T> view; in tests()
219 tracking_bounded_array_ref<T> slice = view.slice(0, 1); in tests()
225 tests<T>();
226 tests<T const>();