Searched refs:targetPos (Results 1 – 2 of 2) sorted by relevance
294 int targetPos = static_cast<int>(currPos - 1); in SortMaps() local295 while (targetPos >= 0 && (*maps_)[currPos]->end < (*maps_)[targetPos]->end) { in SortMaps()296 --targetPos; in SortMaps()298 if (targetPos < static_cast<int>(currPos - 1)) { in SortMaps()300 for (size_t k = currPos - 1; k > static_cast<size_t>(targetPos); --k) { in SortMaps()303 (*maps_)[targetPos + 1] = target; in SortMaps()
352 int targetPos = currPos - 1; in SortMemMaps() local353 …while (targetPos >= 0 and memMaps_[memMapsIndexs_[currPos]]->end < memMaps_[memMapsIndexs_[targetP… in SortMemMaps()354 --targetPos; in SortMemMaps()356 if (targetPos < currPos - 1) { in SortMemMaps()358 for (int k = currPos - 1; k > targetPos; --k) { in SortMemMaps()361 memMapsIndexs_[targetPos + 1] = target; in SortMemMaps()