Home | History | Annotate | Download | only in Interpreter

Lines Matching refs:set_b

66 // Returns true is set_a is a subset of set_b;  Otherwise returns false.
69 Options::IsASubset (const OptionSet& set_a, const OptionSet& set_b)
75 // set_a is a subset of set_b if every member of set_a is also a member of set_b
79 pos_b = set_b.find(*pos_a);
80 if (pos_b == set_b.end())
87 // Returns the set difference set_a - set_b, i.e. { x | ElementOf (x, set_a) && !ElementOf (x, set_b) }
90 Options::OptionsSetDiff (const OptionSet& set_a, const OptionSet& set_b, OptionSet& diffs)
98 pos_b = set_b.find(*pos_a);
99 if (pos_b == set_b.end())
109 // Returns the union of set_a and set_b. Does not put duplicate members into the union.
112 Options::OptionsSetUnion (const OptionSet &set_a, const OptionSet &set_b, OptionSet &union_set)
122 // Put all the elements of set_b that are not already there into the union.
123 for (pos = set_b.begin(); pos != set_b.end(); ++pos)