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 {
203 vector<Interval> *ointervals = oset->Intervals();
208 oset->count_ = 0;
220 oset->count_ += interval.end - interval.begin;
232 void IntervalSet<T>::Complement(T maxval, IntervalSet<T> *oset) const {
233 vector<Interval> *ointervals = oset->Intervals();
235 oset->count_ = 0;
245 oset->count_ += interval.end - interval.begin;
252 oset->count_ += interval.end - interval.begin;
260 IntervalSet<T> *oset) const {
262 oset->Intervals()->clear();
263 oset->count_ = 0;
267 Intersect(cset, oset);