Lines Matching refs:mRanges
24 auto iter = std::lower_bound(mRanges.begin(), mRanges.end(), Range(uid, uid));
25 return (iter != mRanges.end() && iter->first == uid) ||
26 (iter != mRanges.begin() && (--iter)->second >= uid);
30 return mRanges;
34 mRanges.clear();
68 mRanges.push_back(Range(uidStart, uidEnd));
70 std::sort(mRanges.begin(), mRanges.end());
75 auto middle = mRanges.insert(mRanges.end(), other.mRanges.begin(), other.mRanges.end());
76 std::inplace_merge(mRanges.begin(), middle, mRanges.end());
80 auto end = std::set_difference(mRanges.begin(), mRanges.end(), other.mRanges.begin(),
81 other.mRanges.end(), mRanges.begin());
82 mRanges.erase(end, mRanges.end());