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

/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/utils/
H A DUnsyncByteArrayOutputStream.java47 int newPos = pos + arg0.length;
48 if (newPos > size) {
49 expandSize(newPos);
52 pos = newPos;
56 int newPos = pos + arg2;
57 if (newPos > size) {
58 expandSize(newPos);
61 pos = newPos;
65 int newPos = pos + 1;
66 if (newPos > siz
82 expandSize(int newPos) argument
[all...]
/openjdk7/jdk/src/windows/native/sun/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);
/openjdk7/jdk/test/java/nio/channels/FileChannel/
H A DPosition.java58 long newPos = generator.nextInt(1000);
59 fc.position(newPos);
60 if (fc.position() != newPos)
/openjdk7/jdk/test/java/lang/instrument/ilib/
H A DInjectBytecodes.java56 private int newPos; field in class:InjectBytecodes
68 this.newDelta = newTarget - newPos;
268 newPos = map[pos];
273 traceFixedWidthInt(newPos, 4);
310 int newHeader = (newPos+1+3) & (~3); // 4byte boundry
331 int newPadding = newHeader - newPos;
344 int newHeader = (newPos+1+3) & (~3); // 4byte boundry
365 int newPadding = newHeader - newPos;
431 newPos = map[pos];
443 traceFixedWidthInt(newPos,
[all...]
/openjdk7/jdk/src/share/classes/com/sun/media/sound/
H A DDataPusher.java55 private int newPos = -1; field in class:DataPusher
95 newPos = 0;
179 if (newPos >= 0) {
180 pos = newPos;
181 newPos = -1;
/openjdk7/jaxws/src/share/jaxws_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;
/openjdk7/jdk/src/share/classes/com/sun/jmx/snmp/agent/
H A DSnmpMibOid.java346 int newPos = retrieveIndex(var);
347 varList[newPos]= (int) var;
354 children.insertElementAt(node, newPos);
360 children.insertElementAt(child, newPos);
H A DSnmpMibTable.java1633 final int newPos = getInsertionPoint(resOid,false);
1638 if (newPos > -1 && newPos < size) {
1640 // XX last = (SnmpOid) oids.elementAt(newPos);
1641 last = tableoids[newPos];
/openjdk7/jdk/src/share/classes/java/awt/font/
H A DGlyphVector.java366 * @param newPos the <code>Point2D</code> at which to position the
373 public abstract void setGlyphPosition(int glyphIndex, Point2D newPos); argument
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicScrollPaneUI.java999 int newPos = toScroll.getValue() -
1001 if (newPos < scrollMin) {
1002 newPos = scrollMin;
1004 else if (newPos > scrollMax) {
1005 newPos = scrollMax;
1007 toScroll.setValue(newPos);
H A DBasicTextUI.java2500 int newPos = caret.getDot();
2504 ((DefaultCaret)caret).moveDot(newPos, newBias);
/openjdk7/jdk/src/share/classes/java/lang/
H A DClass.java2601 int newPos = 0;
2606 if (pos != newPos) {
2607 methods[newPos] = m;
2609 newPos++;
2612 if (newPos != methods.length) {
2613 methods = Arrays.copyOf(methods, newPos);
/openjdk7/jdk/src/share/classes/sun/awt/
H A DFontConfiguration.java2063 int newPos = 0;
2068 newPos = exclusions.indexOf('-', pos);
2069 lower = exclusions.substring(pos, newPos);
2070 pos = newPos + 1;
2071 newPos = exclusions.indexOf(',', pos);
2072 if (newPos == -1) {
2073 newPos = exclusions.length();
2075 upper = exclusions.substring(pos, newPos);
2076 pos = newPos + 1;
/openjdk7/jdk/src/share/classes/javax/swing/text/
H A DJTextComponent.java5041 Position newPos = host.getDocument().createPosition(offset);
5046 EventQueue.invokeLater(new DoSetCaretPosition(host, newPos));
5062 Position newPos; field in class:JTextComponent.DoSetCaretPosition
5064 DoSetCaretPosition(JTextComponent host, Position newPos) { argument
5066 this.newPos = newPos;
5070 host.setCaretPosition(newPos.getOffset());
/openjdk7/jdk/src/share/classes/sun/security/tools/
H A DJarSigner.java1183 int newPos = findHeaderEnd(newBytes);
1186 if (newPos == oldPos) {
1191 newBytes.length - newPos];
1193 System.arraycopy(newBytes, newPos, lastBytes, oldPos,
1194 newBytes.length - newPos);

Completed in 97 milliseconds