/openjdk7/jdk/src/share/sample/nio/server/ |
H A D | ChannelIOSecure.java | 176 outNetBB.position(0); 438 int pos = requestBB.position(); 482 } while ((inNetBB.position() != 0) && 485 return (requestBB.position() - pos);
|
/openjdk7/jdk/test/sun/nio/cs/ |
H A D | TestISCII91.java | 67 chars.limit(chars.position());
|
H A D | TestISO2022JPEncoder.java | 55 int nci = cb.position();
|
H A D | TestUTF8.java | 51 char[] cc = new char[cbf.position()]; 96 return Arrays.copyOf(ca, cb.position()); 116 byte[] bb = new byte[bbf.position()]; 363 bbf.position(inPos); 364 bbf.put(utf8s).flip().position(inPos).limit(inPos + inLen); 365 cbf.position(outPos); 369 bbf.position() != expedInPos || 370 cbf.position() != expedOutPos) { 374 ", inPos=" + bbf.position() + 375 ", outPos=" + cbf.position()); [all...] |
/openjdk7/jdk/src/share/classes/sun/jvmstat/perfdata/monitor/v1_0/ |
H A D | PerfDataBuffer.java | 111 // position buffer to start of the data section 112 buffer.position(prologue.getSize()); 113 nextEntry = buffer.position(); 405 * relative position of -UseAdaptiveSizePolicy is not 489 buffer.position(nextEntry); 491 int entryStart = buffer.position(); 560 buffer.position(offset); 584 buffer.position(offset); 587 bb.position(0);
|
/openjdk7/jdk/src/share/classes/javax/swing/border/ |
H A D | TitledBorder.java | 45 * specified position and justification. 160 * title, title-justification, and title-position. 165 * @param titlePosition the position for the title 177 * title, title-justification, title-position, and title-font. 182 * @param titlePosition the position for the title 196 * title, title-justification, title-position, title-font, and 202 * @param titlePosition the position for the title 228 * specified position and size. 231 * @param x the x position of the painted border 232 * @param y the y position o [all...] |
/openjdk7/jdk/src/share/classes/sun/security/jca/ |
H A D | ProviderList.java | 95 int position) { 102 if ((position < 0) || (position > n)) { 103 position = n; 105 list.add(position, new ProviderConfig(p)); 94 insertAt(ProviderList providerList, Provider p, int position) argument
|
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/ |
H A D | LinuxUserDefinedFileAttributeView.java | 156 int pos = dst.position(); 189 dst.position(pos + n); 210 int pos = src.position(); 233 src.position(pos); // reset position as write may fail 243 src.position(pos + rem);
|
/openjdk7/jdk/src/share/classes/sun/font/ |
H A D | CMap.java | 160 cmapBuffer.position(i * 8 + 4); 467 bbuffer.position(offset); 512 buffer.position(pos); 625 buffer.position(offset+6); 739 buffer.position(offset+6); 844 bbuffer.position(offset+6); 886 bbuffer.position(12); 918 bbuffer.position(offset+20); 962 buffer.position(offset+16);
|
/openjdk7/jdk/src/windows/classes/sun/nio/ch/ |
H A D | WindowsAsynchronousSocketChannelImpl.java | 400 int pos = dst.position(); 427 int pos = nextBuffer.position(); 433 nextBuffer.position(newPosition); 435 // position changed by another 442 nextBuffer.position(newPosition); 444 // position changed by another 458 // position changed by another 674 int pos = src.position(); 684 src.position(pos); // leave heap buffer untouched for now 705 int pos = nextBuffer.position(); [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | DocEnv.java | 286 messager.error(doc==null ? null : doc.position(), key); 320 messager.error(doc==null ? null : doc.position(), key, a1); 333 messager.error(doc==null ? null : doc.position(), key, a1, a2); 347 messager.error(doc==null ? null : doc.position(), key, a1, a2, a3); 369 messager.warning(doc==null ? null : doc.position(), key); 392 messager.warning(doc==null ? null : doc.position(), key, a1); 405 messager.warning(doc==null ? null : doc.position(), key, a1, a2); 419 messager.warning(doc==null ? null : doc.position(), key, a1, a2, a3); 434 messager.warning(doc==null ? null : doc.position(), key, a1, a2, a3, a4);
|
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/ |
H A D | XEmbedServerTester.java | 524 private void waitSystemEvent(int position, int event) { argument 525 waitForEvent(position, event | SYSTEM_EVENT_MASK); 528 private void waitForEvent(int position, int event) { argument 531 if (checkEventList(position, event) != -1) { 543 xembedLog.finer("Waiting for " + XEmbedHelper.msgidToString(event) + " starting from " + position); 550 if (checkEventList(position, event) == -1) { 559 * Checks if the <code>event</code> is already in a list at position >= <code>position</code> 561 private int checkEventList(int position, int event) { argument 562 if (position [all...] |
/openjdk7/jaxp/src/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | KeyIndex.java | 80 * Store position after call to setMark() 333 * <p>Returns the position of the current node in the set.</p> 556 * Marked position. Used by {@link #setMark()} and 588 * reset from the current position of the original. 873 * Return the node at the given position. 875 * @param position The position 876 * @return The node at the given position. 878 public int getNodeByPosition(int position) { argument 886 if (position > [all...] |
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/signature/ |
H A D | XMLSignatureInputDebugger.java | 246 int position = getPositionRelativeToDocumentElement(currentNode); 248 if (position == NODE_AFTER_DOCUMENT_ELEMENT) { 254 if (position == NODE_BEFORE_DOCUMENT_ELEMENT) { 272 position = getPositionRelativeToDocumentElement(currentNode); 274 if (position == NODE_AFTER_DOCUMENT_ELEMENT) { 280 if (position == NODE_BEFORE_DOCUMENT_ELEMENT) {
|
/openjdk7/jdk/src/share/classes/sun/net/httpserver/ |
H A D | SSLStreams.java | 354 unwrap_src.position (unwrap_src.limit()); 407 assert dst.position() == 0; 408 while (dst.position() == 0) { 481 assert tmp.position() == 0; 564 bbuf.position (bbuf.position()+n);
|
/openjdk7/jdk/test/sun/nio/cs/OLD/ |
H A D | IBM933_OLD.java | 2686 int sp = src.arrayOffset() + src.position(); 2689 int dp = dst.arrayOffset() + dst.position(); 2873 // Increment input char position 2878 src.position(sp - src.arrayOffset()); 2879 dst.position(dp - dst.arrayOffset()); 2884 int mark = src.position(); 3067 src.position(mark);
|
H A D | IBM949_OLD.java | 1557 int sp = src.arrayOffset() + src.position(); 1560 int dp = dst.arrayOffset() + dst.position(); 1721 src.position(sp - src.arrayOffset()); 1722 dst.position(dp - dst.arrayOffset()); 1727 int mark = src.position(); 1885 src.position(mark);
|
/openjdk7/jaxp/src/com/sun/xml/internal/stream/ |
H A D | Entity.java | 297 public int position; field in class:Entity.ScannedEntity 322 /** This variable is used to calculate the current position in the XML stream. 323 * Note that fCurrentEntity.position maintains the position relative to 325 * At any point of time absolute position in the XML stream can be calculated 326 * as fTotalCountTillLastLoad + fCurrentEntity.position 338 /** Start position in character buffer. */ 463 str.append(",position="+position);
|
/openjdk7/jdk/src/share/classes/javax/swing/text/ |
H A D | GapContent.java | 51 * index and can easily calculate the sequential position from 121 * @param where the starting position >= 0, < length() 124 * @exception BadLocationException if the specified position is invalid 139 * @param where the starting position >= 0, where + nitems < length() 142 * @exception BadLocationException if the specified position is invalid 159 * @param where the starting position >= 0 162 * @exception BadLocationException if the specified position is invalid 177 * @param where the starting position >= 0, where + len <= length() 180 * @exception BadLocationException if the specified position is invalid 222 * Creates a position withi 271 MarkData(int index, StickyPosition position, ReferenceQueue<? super StickyPosition> queue) argument [all...] |
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/ |
H A D | Paint.java | 158 @XmlAttribute private float position; field in class:GradientStop 159 public float getPosition() { return position; }
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | CopyDirect-X-Memory.java.template | 37 b.position(0);
|
/openjdk7/jdk/test/java/nio/channels/AsynchronousSocketChannel/ |
H A D | StressLoopback.java | 100 sentBuffer.position(0); 108 sentBuffer.position(0);
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | Pread.java | 111 long originalPosition = c.position(); 121 long newPosition = c.position(); 134 // Ensure that file pointer position has not changed 136 throw new Exception("File position modified");
|
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/ |
H A D | DelegatedTaskWrongException.java | 210 a.position(a.limit()); 211 b.position(b.limit());
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11Mac.java | 258 int ofs = byteBuffer.position(); 260 byteBuffer.position(ofs + len);
|