Lines Matching refs:oset
135 void Intersect(const IntervalSet<T> &iset, IntervalSet<T> *oset) const;
139 void Complement(T maxval, IntervalSet<T> *oset) const;
143 void Difference(const IntervalSet<T> &iset, IntervalSet<T> *oset) const;
201 IntervalSet<T> *oset) const { in Intersect() argument
203 vector<Interval> *ointervals = oset->Intervals(); in Intersect()
208 oset->count_ = 0; in Intersect()
220 oset->count_ += interval.end - interval.begin; in Intersect()
232 void IntervalSet<T>::Complement(T maxval, IntervalSet<T> *oset) const { in Complement() argument
233 vector<Interval> *ointervals = oset->Intervals(); in Complement()
235 oset->count_ = 0; in Complement()
245 oset->count_ += interval.end - interval.begin; in Complement()
252 oset->count_ += interval.end - interval.begin; in Complement()
260 IntervalSet<T> *oset) const { in Difference() argument
262 oset->Intervals()->clear(); in Difference()
263 oset->count_ = 0; in Difference()
267 Intersect(cset, oset); in Difference()