• Home
  • Raw
  • Download

Lines Matching refs:C

106 static std::string Join(StringRef A, StringRef B, StringRef C) {  in Join()  argument
107 std::string Str = A; Str += '-'; Str += B; Str += '-'; Str += C; in Join()
111 static std::string Join(StringRef A, StringRef B, StringRef C, StringRef D) { in Join() argument
112 std::string Str = A; Str += '-'; Str += B; Str += '-'; Str += C; Str += '-'; in Join()
156 StringRef C[4]; in TEST() local
158 C[0] = Triple::getArchTypeName(Triple::ArchType(Arch)); in TEST()
161 C[1] = Triple::getVendorTypeName(Triple::VendorType(Vendor)); in TEST()
163 C[2] = Triple::getOSTypeName(Triple::OSType(OS)); in TEST()
171 std::string E = Join(C[0], C[1], C[2]); in TEST()
172 EXPECT_EQ(E, Triple::normalize(Join(C[0], C[1], C[2]))); in TEST()
174 EXPECT_EQ(E, Triple::normalize(Join(C[0], C[2], C[1]))); in TEST()
175 EXPECT_EQ(E, Triple::normalize(Join(C[1], C[2], C[0]))); in TEST()
176 EXPECT_EQ(E, Triple::normalize(Join(C[1], C[0], C[2]))); in TEST()
177 EXPECT_EQ(E, Triple::normalize(Join(C[2], C[0], C[1]))); in TEST()
178 EXPECT_EQ(E, Triple::normalize(Join(C[2], C[1], C[0]))); in TEST()
182 C[3] = Triple::getEnvironmentTypeName(Triple::EnvironmentType(Env)); in TEST()
184 std::string F = Join(C[0], C[1], C[2], C[3]); in TEST()
185 EXPECT_EQ(F, Triple::normalize(Join(C[0], C[1], C[2], C[3]))); in TEST()
187 EXPECT_EQ(F, Triple::normalize(Join(C[0], C[1], C[3], C[2]))); in TEST()
188 EXPECT_EQ(F, Triple::normalize(Join(C[0], C[2], C[3], C[1]))); in TEST()
189 EXPECT_EQ(F, Triple::normalize(Join(C[0], C[2], C[1], C[3]))); in TEST()
190 EXPECT_EQ(F, Triple::normalize(Join(C[0], C[3], C[1], C[2]))); in TEST()
191 EXPECT_EQ(F, Triple::normalize(Join(C[0], C[3], C[2], C[1]))); in TEST()
192 EXPECT_EQ(F, Triple::normalize(Join(C[1], C[2], C[3], C[0]))); in TEST()
193 EXPECT_EQ(F, Triple::normalize(Join(C[1], C[2], C[0], C[3]))); in TEST()
194 EXPECT_EQ(F, Triple::normalize(Join(C[1], C[3], C[0], C[2]))); in TEST()
195 EXPECT_EQ(F, Triple::normalize(Join(C[1], C[3], C[2], C[0]))); in TEST()
196 EXPECT_EQ(F, Triple::normalize(Join(C[1], C[0], C[2], C[3]))); in TEST()
197 EXPECT_EQ(F, Triple::normalize(Join(C[1], C[0], C[3], C[2]))); in TEST()
198 EXPECT_EQ(F, Triple::normalize(Join(C[2], C[3], C[0], C[1]))); in TEST()
199 EXPECT_EQ(F, Triple::normalize(Join(C[2], C[3], C[1], C[0]))); in TEST()
200 EXPECT_EQ(F, Triple::normalize(Join(C[2], C[0], C[1], C[3]))); in TEST()
201 EXPECT_EQ(F, Triple::normalize(Join(C[2], C[0], C[3], C[1]))); in TEST()
202 EXPECT_EQ(F, Triple::normalize(Join(C[2], C[1], C[3], C[0]))); in TEST()
203 EXPECT_EQ(F, Triple::normalize(Join(C[2], C[1], C[0], C[3]))); in TEST()
204 EXPECT_EQ(F, Triple::normalize(Join(C[3], C[0], C[1], C[2]))); in TEST()
205 EXPECT_EQ(F, Triple::normalize(Join(C[3], C[0], C[2], C[1]))); in TEST()
206 EXPECT_EQ(F, Triple::normalize(Join(C[3], C[1], C[2], C[0]))); in TEST()
207 EXPECT_EQ(F, Triple::normalize(Join(C[3], C[1], C[0], C[2]))); in TEST()
208 EXPECT_EQ(F, Triple::normalize(Join(C[3], C[2], C[0], C[1]))); in TEST()
209 EXPECT_EQ(F, Triple::normalize(Join(C[3], C[2], C[1], C[0]))); in TEST()