Home
last modified time | relevance | path

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

/developtools/profiler/device/plugins/native_daemon/src/
Dvirtual_thread.cpp294 int targetPos = static_cast<int>(currPos - 1); in SortMaps() local
295 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()
/developtools/hiperf/src/
Dvirtual_thread.cpp352 int targetPos = currPos - 1; in SortMemMaps() local
353 …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()