Home
last modified time | relevance | path

Searched refs:oldPos (Results 1 – 25 of 1890) sorted by relevance

12345678910>>...76

/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/projectexplorer/
H A Dprojectconfigurationmodel.cpp74 int oldPos = m_projectConfigurations.indexOf(pc); in displayNameChanged() local
75 if (oldPos < 0) in displayNameChanged()
79 …if (oldPos >= 1 && isOrderedBefore(m_projectConfigurations.at(oldPos), m_projectConfigurations.at( in displayNameChanged()
81 int newPos = oldPos - 1; in displayNameChanged()
87 beginMoveRows(QModelIndex(), oldPos, oldPos, QModelIndex(), newPos); in displayNameChanged()
89 m_projectConfigurations.removeAt(oldPos + 1); in displayNameChanged()
94 … && isOrderedBefore(m_projectConfigurations.at(oldPos + 1), m_projectConfigurations.at(oldPos))) { in displayNameChanged()
96 int newPos = oldPos + 1; in displayNameChanged()
101 beginMoveRows(QModelIndex(), oldPos, oldPos, QModelIndex(), newPos); in displayNameChanged()
103 m_projectConfigurations.removeAt(oldPos); in displayNameChanged()
[all …]
/dports/sysutils/qdirstat/qdirstat-1.8/src/
H A DListMover.h20 int oldPos = _list.indexOf( item ); in moveUp() local
22 if ( oldPos > 0 ) in moveUp()
24 _list.removeAt( oldPos ); in moveUp()
32 int oldPos = _list.indexOf( item ); in moveDown() local
34 if ( oldPos < _list.size() - 1 ) in moveDown()
36 _list.removeAt( oldPos ); in moveDown()
37 _list.insert( oldPos + 1, item ); in moveDown()
46 if ( oldPos > 0 ) in moveToTop()
48 _list.removeAt( oldPos ); in moveToTop()
58 if ( oldPos < _list.size() - 1 ) in moveToBottom()
[all …]
/dports/graphics/dilay/dilay-1.9.0/lib/src/tool/sculpt/util/
H A Dbrush.cpp48 const glm::vec3& oldPos = brush.mesh ().vertex (i); in sculpt() local
63 const glm::vec3& oldPos = brush.mesh ().vertex (i); in sculpt() local
77 const glm::vec3& oldPos = brush.mesh ().vertex (i); in sculpt() local
89 const glm::vec3& oldPos = brush.mesh ().vertex (i); in sculpt() local
90 const glm::vec3 newPos = oldPos + (this->intensity () * (avgPos - oldPos)); in sculpt()
116 const glm::vec3& oldPos = brush.mesh ().vertex (i); in sculpt() local
117 const float distance = plane.distance (oldPos); in sculpt()
136 const glm::vec3& oldPos = brush.mesh ().vertex (i); in sculpt() local
137 const glm::vec3 delta = brush.position () - oldPos; in sculpt()
156 const glm::vec3& oldPos = brush.mesh ().vertex (i); in sculpt() local
[all …]
/dports/www/cgicc/cgicc-3.2.19/cgicc/
H A DCgicc.cpp375 ++pszData; ++oldPos; in parseFormInput()
377 if( oldPos >= pos ) in parseFormInput()
379 oldPos = ++pos; in parseFormInput()
383 name = form_urldecode(data.substr(oldPos, pos - oldPos)); in parseFormInput()
385 oldPos = ++pos; in parseFormInput()
388 name = form_urldecode(data.substr(oldPos, pos - oldPos)); in parseFormInput()
389 oldPos = ++pos; in parseFormInput()
395 value = form_urldecode(data.substr(oldPos, pos - oldPos)); in parseFormInput()
404 oldPos = ++pos; in parseFormInput()
444 parseMIME(data.substr(oldPos, pos - oldPos)); in parseFormInput()
[all …]
/dports/graphics/engauge-digitizer/engauge-digitizer-12.2.2/src/Pdf/
H A DPdfCropping.cpp84 const QPointF &oldPos) in moveBL() argument
88 double deltaX = newPos.x() - oldPos.x(); in moveBL()
89 double deltaY = newPos.y() - oldPos.y(); in moveBL()
102 const QPointF &oldPos) in moveBR() argument
106 double deltaX = newPos.x() - oldPos.x(); in moveBR()
107 double deltaY = newPos.y() - oldPos.y(); in moveBR()
120 const QPointF &oldPos) in moveTL() argument
124 double deltaX = newPos.x() - oldPos.x(); in moveTL()
125 double deltaY = newPos.y() - oldPos.y(); in moveTL()
142 double deltaX = newPos.x() - oldPos.x(); in moveTR()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qcomplextext/
H A Dtst_qcomplextext.cpp219 int oldPos, newPos = 0; in bidiCursorMovement() local
228 oldPos = newPos; in bidiCursorMovement()
230 newX = line.cursorToX(oldPos); in bidiCursorMovement()
239 moved = (oldPos != newPos); in bidiCursorMovement()
259 int oldPos, newPos = 0; in bidiCursorLogicalMovement() local
262 oldPos = newPos; in bidiCursorLogicalMovement()
264 QVERIFY(newPos >= oldPos); in bidiCursorLogicalMovement()
265 moved = (oldPos != newPos); in bidiCursorLogicalMovement()
269 oldPos = newPos; in bidiCursorLogicalMovement()
271 QVERIFY(newPos <= oldPos); in bidiCursorLogicalMovement()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/hotspot/jtreg/vmTestbase/vm/mlvm/meth/share/transform/v2/
H A DMHPermuteTF.java128 public static int[] moveArgsInPermuteArray(int[] array, int oldPos, int count, int newPos) { in moveArgsInPermuteArray() argument
129 if ( newPos == oldPos ) in moveArgsInPermuteArray()
134 if ( newPos < oldPos ) { in moveArgsInPermuteArray()
136 System.arraycopy(array, newPos, result, newPos + count, oldPos - newPos); in moveArgsInPermuteArray()
137 … System.arraycopy(array, oldPos + count, result, oldPos + count, array.length - oldPos - count); in moveArgsInPermuteArray()
139 System.arraycopy(array, 0, result, 0, oldPos); in moveArgsInPermuteArray()
140 System.arraycopy(array, oldPos + count, result, oldPos, newPos - oldPos - count); in moveArgsInPermuteArray()
143 System.arraycopy(array, oldPos, result, newPos, count); in moveArgsInPermuteArray()
/dports/graphics/engauge-digitizer/engauge-digitizer-12.2.2/src/NonPdf/
H A DNonPdfCropping.cpp96 const QPointF &oldPos) in moveBL() argument
100 double deltaX = newPos.x() - oldPos.x(); in moveBL()
101 double deltaY = newPos.y() - oldPos.y(); in moveBL()
114 const QPointF &oldPos) in moveBR() argument
118 double deltaX = newPos.x() - oldPos.x(); in moveBR()
119 double deltaY = newPos.y() - oldPos.y(); in moveBR()
132 const QPointF &oldPos) in moveTL() argument
136 double deltaX = newPos.x() - oldPos.x(); in moveTL()
137 double deltaY = newPos.y() - oldPos.y(); in moveTL()
154 double deltaX = newPos.x() - oldPos.x(); in moveTR()
[all …]
/dports/audio/mous/mous-2.0.1/sdk/util/
H A DPlaylist.h188 void Move(int oldPos, int newPos) in Move() argument
190 Move(std::vector<int>(1, oldPos), newPos); in Move()
194 void Move(Array oldPos, int newPos) in Move() argument
199 std::sort(oldPos.begin(), oldPos.end()); in Move()
203 if (oldPos[i] < newPos) in Move()
208 std::deque<item_t> tmpList(oldPos.size()); in Move()
212 Remove(oldPos); in Move()
220 const auto iter = std::find(oldPos.begin(), oldPos.end(), seqIndex); in Move()
221 if (iter != oldPos.end()) { in Move()
226 if (oldPos[i] < seqIndex) in Move()
[all …]
/dports/audio/carla/Carla-2.4.1/source/modules/juce_gui_basics/layout/
H A Djuce_AnimatedPositionBehaviours.h77 double getNextPosition (double oldPos, double elapsedSeconds) noexcept in getNextPosition()
84 return oldPos + velocity * elapsedSeconds; in getNextPosition()
131 double getNextPosition (double oldPos, double elapsedSeconds) const noexcept in getNextPosition()
133 if (isStopped (oldPos)) in getNextPosition()
137 const double velocity = (targetSnapPosition - oldPos) * snapSpeed; in getNextPosition()
138 const double newPos = oldPos + velocity * elapsedSeconds; in getNextPosition()
/dports/devel/juce/JUCE-f37e9a1/modules/juce_gui_basics/layout/
H A Djuce_AnimatedPositionBehaviours.h77 double getNextPosition (double oldPos, double elapsedSeconds) noexcept in getNextPosition()
84 return oldPos + velocity * elapsedSeconds; in getNextPosition()
131 double getNextPosition (double oldPos, double elapsedSeconds) const noexcept in getNextPosition()
133 if (isStopped (oldPos)) in getNextPosition()
137 const double velocity = (targetSnapPosition - oldPos) * snapSpeed; in getNextPosition()
138 const double newPos = oldPos + velocity * elapsedSeconds; in getNextPosition()
/dports/audio/mumble/mumble-1.3.3/3rdparty/minhook-src/src/
H A Dtrampoline.c108 UINT8 oldPos = 0; in CreateTrampolineFunction() local
124 ULONG_PTR pOldInst = (ULONG_PTR)ct->pTarget + oldPos; in CreateTrampolineFunction()
132 if (oldPos >= sizeof(JMP_REL)) in CreateTrampolineFunction()
275 ct->oldIPs[ct->nIP] = oldPos; in CreateTrampolineFunction()
286 oldPos += hs.len; in CreateTrampolineFunction()
291 if (oldPos < sizeof(JMP_REL) in CreateTrampolineFunction()
292 && !IsCodePadding((LPBYTE)ct->pTarget + oldPos, sizeof(JMP_REL) - oldPos)) in CreateTrampolineFunction()
295 if (oldPos < sizeof(JMP_REL_SHORT) in CreateTrampolineFunction()
296 && !IsCodePadding((LPBYTE)ct->pTarget + oldPos, sizeof(JMP_REL_SHORT) - oldPos)) in CreateTrampolineFunction()
/dports/misc/tellico/tellico-3.4.2/src/translators/
H A Damcimporter.cpp274 int oldPos = 0; in parseCast() local
278 person += text_.mid(oldPos, pos-oldPos).trimmed(); in parseCast()
289 oldPos = pos+1; // add one to go past comma in parseCast()
292 person = text_.mid(oldPos, pos-oldPos).trimmed(); in parseCast()
293 oldPos = pos+1; // add one to go past parenthesis in parseCast()
299 role = text_.mid(oldPos, pos-oldPos).trimmed(); in parseCast()
300 oldPos = pos+1; // add one to go past parenthesis in parseCast()
308 person += text_.mid(oldPos, pos-oldPos).trimmed(); in parseCast()
/dports/java/icedtea-web/icedtea-web-1.6.2/plugin/icedteanp/java/sun/applet/
H A DPluginStreamHandler.java177 int oldPos = 0; in handleMessage() local
179 int pos = readPair(message, oldPos, msgComponents); in handleMessage()
195 oldPos = pos; in handleMessage()
196 pos = readPair(message, oldPos, msgComponents); in handleMessage()
201 oldPos = pos; in handleMessage()
202 pos = readPair(message, oldPos, msgComponents); in handleMessage()
208 oldPos = pos; in handleMessage()
209 pos = readPair(message, oldPos, msgComponents); in handleMessage()
216 oldPos = pos; in handleMessage()
220 if (message.length() > oldPos) { in handleMessage()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/examples/tools/plugandpaintplugins/basictools/
H A Dbasictoolsplugin.cpp68 const QPoint &oldPos, const QPoint &newPos) in mouseMove() argument
73 QRect boundingRect = QRect(oldPos, newPos).normalized() in mouseMove()
81 painter.drawLine(oldPos, newPos); in mouseMove()
83 int numSteps = 2 + (newPos - oldPos).manhattanLength() / 2; in mouseMove()
89 int x = oldPos.x() + i * (newPos.x() - oldPos.x()) / (numSteps - 1); in mouseMove()
90 int y = oldPos.y() + i * (newPos.y() - oldPos.y()) / (numSteps - 1); in mouseMove()
/dports/misc/qt5-examples/qt-everywhere-src-5.15.2/qtbase/examples/widgets/tools/plugandpaint/plugins/basictools/
H A Dbasictoolsplugin.cpp75 const QPoint &oldPos, const QPoint &newPos) in mouseMove() argument
80 QRect boundingRect = QRect(oldPos, newPos).normalized() in mouseMove()
88 painter.drawLine(oldPos, newPos); in mouseMove()
90 int numSteps = 2 + (newPos - oldPos).manhattanLength() / 2; in mouseMove()
96 int x = oldPos.x() + i * (newPos.x() - oldPos.x()) / (numSteps - 1); in mouseMove()
97 int y = oldPos.y() + i * (newPos.y() - oldPos.y()) / (numSteps - 1); in mouseMove()
/dports/games/ktuberling/ktuberling-21.12.3/
H A Daction.cpp48 ActionRemove::ActionRemove(ToDraw *item, const QPointF &oldPos, QGraphicsScene *scene) in ActionRemove() argument
51 m_oldPos = QPointF(oldPos.x() / scene->width(), oldPos.y() / scene->height()); in ActionRemove()
74 ActionMove::ActionMove(ToDraw *item, const QPointF &oldPos, int zValue, QGraphicsScene *scene) in ActionMove() argument
77 m_oldPos = QPointF(oldPos.x() / scene->width(), oldPos.y() / scene->height()); in ActionMove()
/dports/textproc/ansifilter/ansifilter-2.18/src/
H A Dstringtools.cpp87 string::size_type pos=s.find(delim), oldPos=0; in splitString() local
96 if (oldPos-pos) results.push_back (s.substr(oldPos, pos-oldPos)); in splitString()
97 oldPos=pos+1; in splitString()
100 results.push_back (s.substr(oldPos)); in splitString()

12345678910>>...76