Lines Matching refs:MS
183 MultilibSet MS; in TEST() local
184 ASSERT_TRUE(MS.size() == 0); in TEST()
185 MS.Maybe(Multilib("64").flag("+m64")); in TEST()
186 ASSERT_TRUE(MS.size() == 2); in TEST()
187 for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) { in TEST()
199 MultilibSet MS; in TEST() local
200 MS.Maybe(Multilib("sof").flag("+sof")); in TEST()
201 MS.Maybe(Multilib("el").flag("+EL")); in TEST()
202 ASSERT_TRUE(MS.size() == 4); in TEST()
203 for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) { in TEST()
227 MultilibSet MS; in TEST() local
228 MS.push_back(Multilib("one")); in TEST()
229 MS.push_back(Multilib("two")); in TEST()
230 ASSERT_TRUE(MS.size() == 2); in TEST()
231 for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) { in TEST()
236 MS.clear(); in TEST()
237 ASSERT_TRUE(MS.size() == 0); in TEST()
241 MultilibSet MS; in TEST() local
242 MS.Maybe(Multilib("one")); in TEST()
243 MS.Maybe(Multilib("two")); in TEST()
244 MS.Maybe(Multilib("three")); in TEST()
245 ASSERT_EQ(MS.size(), (unsigned)2 * 2 * 2) in TEST()
246 << "Size before filter was incorrect. Contents:\n" << MS; in TEST()
247 MS.FilterOut("/one/two/three"); in TEST()
248 ASSERT_EQ(MS.size(), (unsigned)2 * 2 * 2 - 1) in TEST()
249 << "Size after filter was incorrect. Contents:\n" << MS; in TEST()
250 for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) { in TEST()
257 MultilibSet MS; in TEST() local
258 MS.Maybe(Multilib("orange")); in TEST()
259 MS.Maybe(Multilib("pear")); in TEST()
260 MS.Maybe(Multilib("plum")); in TEST()
261 ASSERT_EQ((int)MS.size(), 1 /* Default */ + in TEST()
269 << "Size before filter was incorrect. Contents:\n" << MS; in TEST()
270 MS.FilterOut([](const Multilib &M) { in TEST()
273 ASSERT_EQ((int)MS.size(), 1 /* Default */ + in TEST()
278 << "Size after filter was incorrect. Contents:\n" << MS; in TEST()
279 for (MultilibSet::const_iterator I = MS.begin(), E = MS.end(); I != E; ++I) { in TEST()