Home
last modified time | relevance | path

Searched refs:mRanges (Results 1 – 2 of 2) sorted by relevance

/system/netd/server/
DUidRanges.cpp63 auto iter = std::lower_bound(mRanges.begin(), mRanges.end(), makeUidRangeParcel(intUid, intUid), in hasUid()
65 return (iter != mRanges.end() && iter->start == intUid) || in hasUid()
66 (iter != mRanges.begin() && (--iter)->stop >= intUid); in hasUid()
70 return mRanges; in getRanges()
74 mRanges.clear(); in parseFrom()
108 mRanges.push_back(makeUidRangeParcel(uidStart, uidEnd)); in parseFrom()
110 std::sort(mRanges.begin(), mRanges.end(), compUidRangeParcel); in parseFrom()
115 mRanges = ranges; in UidRanges()
116 std::sort(mRanges.begin(), mRanges.end(), compUidRangeParcel); in UidRanges()
120 auto middle = mRanges.insert(mRanges.end(), other.mRanges.begin(), other.mRanges.end()); in add()
[all …]
DUidRanges.h50 bool empty() const { return mRanges.empty(); } in empty()
56 std::vector<UidRangeParcel> mRanges; variable