Home | History | Annotate | Download | only in ADT

Lines Matching refs:AR1

65   ArrayRef<int> AR1(TheNumbers);
66 ArrayRef<int> AR2(TheNumbers, AR1.size() - 1);
67 EXPECT_TRUE(AR1.drop_back().equals(AR2));
76 ArrayRef<int> AR1(TheNumbers);
77 ArrayRef<int> AR2(&TheNumbers[2], AR1.size() - 2);
78 EXPECT_TRUE(AR1.drop_front(2).equals(AR2));
87 ArrayRef<int> AR1(A1);
88 EXPECT_TRUE(AR1.equals({1, 2, 3, 4, 5, 6, 7, 8}));
89 EXPECT_FALSE(AR1.equals({8, 1, 2, 4, 5, 6, 6, 7}));
90 EXPECT_FALSE(AR1.equals({2, 4, 5, 6, 6, 7, 8, 1}));
91 EXPECT_FALSE(AR1.equals({0, 1, 2, 4, 5, 6, 6, 7}));
92 EXPECT_FALSE(AR1.equals({1, 2, 42, 4, 5, 6, 7, 8}));
93 EXPECT_FALSE(AR1.equals({42, 2, 3, 4, 5, 6, 7, 8}));
94 EXPECT_FALSE(AR1.equals({1, 2, 3, 4, 5, 6, 7, 42}));
95 EXPECT_FALSE(AR1.equals({1, 2, 3, 4, 5, 6, 7}));
96 EXPECT_FALSE(AR1.equals({1, 2, 3, 4, 5, 6, 7, 8, 9}));
98 ArrayRef<int> AR1a = AR1.drop_back();
154 ArrayRef<int> AR1(A1);
155 ArrayRef<int> &AR1Ref = makeArrayRef(AR1);
156 EXPECT_EQ(&AR1, &AR1Ref);