Lines Matching refs:oldIter
70 …uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter, infoData… in ExpandMsgId() argument
72 if (static_cast<int32_t>(toMsgId) < static_cast<int32_t>((*oldIter).fromMsgId) - 1) { in ExpandMsgId()
74 } else if (static_cast<int32_t>(toMsgId) == static_cast<int32_t>((*oldIter).fromMsgId) - 1) { in ExpandMsgId()
75 data.endPos = (*oldIter).toMsgId; in ExpandMsgId()
76 rangeList_.erase(oldIter); in ExpandMsgId()
78 } else if (toMsgId > (*oldIter).fromMsgId) { in ExpandMsgId()
79 data.endPos = (*oldIter).toMsgId; in ExpandMsgId()
80 rangeList_.erase(oldIter); in ExpandMsgId()
82 } else if ((static_cast<int32_t>(toMsgId) == static_cast<int32_t>((*oldIter).fromMsgId) - 1) || in ExpandMsgId()
83 (toMsgId == (*oldIter).fromMsgId)) { in ExpandMsgId()
84 data.endPos = (*oldIter).toMsgId; in ExpandMsgId()
85 rangeList_.erase(oldIter); in ExpandMsgId()
87 } else if (((fromMsgId >= (*oldIter).fromMsgId && fromMsgId <= (*oldIter).toMsgId && in ExpandMsgId()
88 toMsgId > (*oldIter).toMsgId) || in ExpandMsgId()
89 … (static_cast<int32_t>(fromMsgId) - 1 == static_cast<int32_t>((*oldIter).toMsgId)) || in ExpandMsgId()
90 ((fromMsgId < (*oldIter).fromMsgId) && (toMsgId > (*oldIter).toMsgId)))) { in ExpandMsgId()
92 … data.startPos = (data.startPos < (*oldIter).fromMsgId) ? data.startPos : (*oldIter).fromMsgId; in ExpandMsgId()
93 rangeList_.erase(oldIter); in ExpandMsgId()
110 auto oldIter = iter++; in OpenCBRange() local
111 auto &info = *oldIter; in OpenCBRange()
115 if (ExpandMsgId(fromMsgId, toMsgId, oldIter, data)) { in OpenCBRange()
124 rangeList_.erase(oldIter); in OpenCBRange()
128 rangeList_.erase(oldIter); in OpenCBRange()
131 rangeList_.erase(oldIter); in OpenCBRange()
141 …uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter, infoData… in SplitMsgId() argument
144 auto &info = *oldIter; in SplitMsgId()
146 rangeList_.erase(oldIter); in SplitMsgId()
149 rangeList_.erase(oldIter); in SplitMsgId()
152 rangeList_.erase(oldIter); in SplitMsgId()
156 rangeList_.erase(oldIter); in SplitMsgId()
167 auto oldIter = iter++; in CloseCBRange() local
168 auto &info = *oldIter; in CloseCBRange()
170 SplitMsgId(fromMsgId, toMsgId, oldIter, data); in CloseCBRange()
176 rangeList_.erase(oldIter); in CloseCBRange()
179 rangeList_.erase(oldIter); in CloseCBRange()
183 rangeList_.erase(oldIter); in CloseCBRange()
191 rangeList_.erase(oldIter); in CloseCBRange()
197 rangeList_.erase(oldIter); in CloseCBRange()
204 rangeList_.erase(oldIter); in CloseCBRange()