Home | History | Annotate | Download | only in Driver

Lines Matching refs:MS

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