Lines Matching refs:ArrayRef
20 std::is_convertible<ArrayRef<int *>, ArrayRef<const int *>>::value,
23 std::is_convertible<ArrayRef<int *>, ArrayRef<volatile int *>>::value,
25 static_assert(!std::is_convertible<ArrayRef<int *>, ArrayRef<float *>>::value,
28 !std::is_convertible<ArrayRef<const int *>, ArrayRef<int *>>::value,
31 !std::is_convertible<ArrayRef<volatile int *>, ArrayRef<int *>>::value,
39 ArrayRef<uint16_t> Array1 = makeArrayRef(Words1, 4); in TEST()
41 ArrayRef<uint16_t> Array2 = makeArrayRef(Words2, 5); in TEST()
42 ArrayRef<uint16_t> Array1c = Array1.copy(Alloc); in TEST()
43 ArrayRef<uint16_t> Array2c = Array2.copy(Alloc); in TEST()
58 ArrayRef<NonAssignable> Array3Copy = makeArrayRef(Array3Src).copy(Alloc); in TEST()
65 ArrayRef<int> AR1(TheNumbers); in TEST()
66 ArrayRef<int> AR2(TheNumbers, AR1.size() - 1); in TEST()
70 ArrayRef<char> AR3((const char *)0x10000, SIZE_MAX - 0x10000); in TEST()
76 ArrayRef<int> AR1(TheNumbers); in TEST()
77 ArrayRef<int> AR2(&TheNumbers[2], AR1.size() - 2); in TEST()
81 ArrayRef<char> AR3((const char *)0x10000, SIZE_MAX - 0x10000); in TEST()
87 ArrayRef<int> AR1(A1); in TEST()
98 ArrayRef<int> AR1a = AR1.drop_back(); in TEST()
102 ArrayRef<int> AR1b = AR1a.slice(2, 4); in TEST()
109 EXPECT_TRUE(ArrayRef<unsigned>() == ArrayRef<unsigned>()); in TEST()
114 ArrayRef<char> AR((const char *)0x10000, SIZE_MAX - 0x10000); in TEST()
125 ArrayRef<const int *> a((ArrayRef<int *>(A))); in TEST()
126 a = ArrayRef<int *>(A); in TEST()
130 static void ArgTest12(ArrayRef<int> A) { in ArgTest12()
137 ArrayRef<int> A = { 0, 1, 2, 3, 4 }; in TEST()
154 ArrayRef<int> AR1(A1); in TEST()
155 ArrayRef<int> &AR1Ref = makeArrayRef(AR1); in TEST()
159 const ArrayRef<int> AR2(A1); in TEST()
160 const ArrayRef<int> &AR2Ref = makeArrayRef(AR2); in TEST()