Lines Matching defs:gapstart
56 void CGapList::AddGap(uint64 gapstart, uint64 gapend)
58 if (!ArgCheck(gapstart, gapend)) {
62 // AddDebugLogLineN(logPartFile, CFormat(wxT(" AddGap: %5d - %5d")) % gapstart % gapend);
66 for (uint16 part = gapstart / PARTSIZE; part <= partlast; part++) {
75 iterator it = m_gaplist.lower_bound(gapstart > 0 ? gapstart - 1 : 0);
81 if (curGapStart >= gapstart && curGapEnd <= gapend) {
84 } else if (curGapStart >= gapstart && curGapStart <= gapend + 1) {
89 } else if (curGapEnd <= gapend && curGapEnd >= gapstart - 1) {
92 gapstart = curGapStart;
94 } else if (curGapStart <= gapstart && curGapEnd >= gapend) {
98 } else if (curGapStart > gapstart) {
108 m_gaplist.insert(it, std::pair<uint64,uint64>(gapend, gapstart));
117 uint64 gapstart = part * PARTSIZE;
118 uint64 gapend = gapstart + GetPartSize(part) - 1;
119 AddGap(gapstart, gapend);
198 uint64 gapstart = part * PARTSIZE;
199 uint64 gapend = gapstart + GetPartSize(part) - 1;
200 FillGap(gapstart, gapend);
253 bool CGapList::IsComplete(uint64 gapstart, uint64 gapend) const
255 if (!ArgCheck(gapstart, gapend)) {
261 ListType::const_iterator it = m_gaplist.lower_bound(gapstart);
266 if ( (curGapStart >= gapstart && curGapEnd <= gapend)
267 ||(curGapStart >= gapstart && curGapStart <= gapend)
268 ||(curGapEnd <= gapend && curGapEnd >= gapstart)
269 ||(gapstart >= curGapStart && gapend <= curGapEnd)) {
303 inline bool CGapList::ArgCheck(uint64 gapstart, uint64 &gapend) const
306 if (gapend < gapstart) {