Searched refs:newPos (Results 1 - 14 of 14) sorted by relevance

/openjdk9/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DUnsyncByteArrayOutputStream.java48 int newPos = pos + arg0.length;
49 if (newPos > size) {
50 expandSize(newPos);
53 pos = newPos;
60 int newPos = pos + arg2;
61 if (newPos > size) {
62 expandSize(newPos);
65 pos = newPos;
72 int newPos = pos + 1;
73 if (newPos > siz
89 expandSize(int newPos) argument
[all...]
/openjdk9/jdk/src/java.desktop/windows/native/libawt/windows/
H A Dawt_Scrollbar.cpp308 AwtScrollbar::DoScrollCallbackCoalesce(const char* methodName, int newPos) argument
310 if (methodName == m_prevCallback && newPos == m_prevCallbackPos) {
312 methodName, newPos);
315 DoCallback(methodName, "(I)V", newPos);
317 m_prevCallbackPos = newPos;
327 int curPos, newPos; local
367 // NB: Beware arithmetic wrap when calculating newPos
372 newPos = curPos - m_lineIncr;
374 newPos = minPos;
375 if (newPos !
[all...]
H A Dawt_Scrollbar.h110 void DoScrollCallbackCoalesce(const char* methodName, int newPos);
H A Dawt_ScrollPane.cpp378 int newPos = GetScrollPos(SB_VERT); local
385 newPos = si.nTrackPos;
387 PostScrollEvent(SB_VERT, scrollCode, newPos);
395 int newPos = GetScrollPos(SB_HORZ); local
402 newPos = si.nTrackPos;
404 PostScrollEvent(SB_HORZ, scrollCode, newPos);
/openjdk9/jdk/test/java/nio/channels/FileChannel/
H A DPosition.java59 long newPos = generator.nextInt(1000);
60 fc.position(newPos);
61 if (fc.position() != newPos)
/openjdk9/jdk/src/java.desktop/share/classes/com/sun/media/sound/
H A DDataPusher.java59 private int newPos = -1; field in class:DataPusher
105 newPos = 0;
189 if (newPos >= 0) {
190 pos = newPos;
191 newPos = -1;
/openjdk9/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/internal/websocket/
H A DReceiver.java126 int newPos = data.position();
127 assert oldPos != newPos : data; // reader always consumes bytes
/openjdk9/jaxws/src/jdk.xml.bind/share/classes/com/sun/codemodel/internal/
H A DJBlock.java105 public int pos(int newPos) { argument
107 if(newPos>content.size() || newPos<0)
109 pos = newPos;
/openjdk9/jdk/src/java.desktop/share/classes/java/awt/font/
H A DGlyphVector.java366 * @param newPos the {@code Point2D} at which to position the
373 public abstract void setGlyphPosition(int glyphIndex, Point2D newPos); argument
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/plaf/basic/
H A DBasicScrollPaneUI.java1092 int newPos = toScroll.getValue() -
1094 if (newPos < scrollMin) {
1095 newPos = scrollMin;
1097 else if (newPos > scrollMax) {
1098 newPos = scrollMax;
1100 toScroll.setValue(newPos);
H A DBasicTextUI.java2602 int newPos = caret.getDot();
2606 ((DefaultCaret)caret).moveDot(newPos, newBias);
/openjdk9/jdk/src/jdk.jartool/share/classes/jdk/security/jarsigner/
H A DJarSigner.java772 int newPos = findHeaderEnd(newBytes);
775 if (newPos == oldPos) {
780 newBytes.length - newPos];
782 System.arraycopy(newBytes, newPos, lastBytes, oldPos,
783 newBytes.length - newPos);
/openjdk9/jdk/src/java.desktop/share/classes/sun/awt/
H A DFontConfiguration.java2087 int newPos = 0;
2092 newPos = exclusions.indexOf('-', pos);
2093 lower = exclusions.substring(pos, newPos);
2094 pos = newPos + 1;
2095 newPos = exclusions.indexOf(',', pos);
2096 if (newPos == -1) {
2097 newPos = exclusions.length();
2099 upper = exclusions.substring(pos, newPos);
2100 pos = newPos + 1;
/openjdk9/jdk/src/java.desktop/share/classes/javax/swing/text/
H A DJTextComponent.java5087 Position newPos = host.getDocument().createPosition(offset);
5092 EventQueue.invokeLater(new DoSetCaretPosition(host, newPos));
5108 Position newPos; field in class:JTextComponent.DoSetCaretPosition
5110 DoSetCaretPosition(JTextComponent host, Position newPos) { argument
5112 this.newPos = newPos;
5116 host.setCaretPosition(newPos.getOffset());

Completed in 215 milliseconds