/openjdk7/langtools/test/tools/javadoc/T4994049/ |
H A D | T4994049.java | 42 if (method.position().column() == 21) { 43 System.out.println(method.position().column() + ": OK!"); 46 System.err.println(method.position() + ": wrong tab expansion");
|
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/dtm/ref/ |
H A D | EmptyIterator.java | 63 public final int getNodeByPosition(int position){ return END; } argument
|
/openjdk7/jdk/test/java/nio/channels/FileChannel/ |
H A D | ClosedByInterrupt.java | 126 long position = rand.nextInt(K*K - bb.capacity()); 128 bb.position(0).limit(bb.capacity()); 129 fc.write(bb, position); 132 fc.read(bb, position);
|
H A D | Pwrite.java | 91 long originalPosition = c.position(); 100 long newPosition = c.position(); 102 // Ensure that file pointer position has not changed 104 throw new Exception("File position modified"); 108 originalPosition = c.position(); 116 newPosition = c.position(); 118 // Ensure that file pointer position has not changed 120 throw new Exception("File position modified");
|
H A D | ReadFull.java | 45 dstBuffers[i].position(10);
|
/openjdk7/langtools/src/share/classes/com/sun/javadoc/ |
H A D | Doc.java | 257 * Return the source position of the first line of the 259 * no position is available. A default constructor returns 264 SourcePosition position(); method in interface:Doc
|
/openjdk7/jdk/test/javax/crypto/Cipher/ |
H A D | ByteBuffers.java | 59 i0.position(random.nextInt(256)); 60 i0.limit(i0.position() + n); 71 o0.position(random.nextInt(256)); 72 o0.limit(o0.position() + n + 256);
|
/openjdk7/jdk/test/sun/misc/Encode/ |
H A D | GetBytes.java | 48 bb.position(1);
|
/openjdk7/jdk/src/share/classes/sun/nio/ch/ |
H A D | IOVecWrapper.java | 57 // Buffers and position/remaining corresponding to elements in iovec array 59 private final int[] position; field in class:IOVecWrapper 88 this.position = new int[size]; 112 this.position[i] = pos; 125 return position[i];
|
/openjdk7/jdk/test/java/nio/Buffer/ |
H A D | BasicChar.java | 107 b.position(0); 124 c.position(7); 128 c.position(7); 135 b.position(0); 183 ck(slice, 0, slice.position()); 386 b.position(1); 392 b.position(2); 396 ck(c, c.position(), b.position()+1); 397 ck(c, c.limit(), b.position() [all...] |
/openjdk7/jdk/src/share/classes/java/nio/ |
H A D | Direct-X-Buffer.java.template | 207 int pos = this.position(); 219 this.position(), 229 this.position(), 260 int pos = position(); 277 position(pos + length); 314 int spos = sb.position(); 319 int pos = position(); 327 sb.position(spos + srem); 328 position(pos + srem); 331 int spos = src.position(); [all...] |
/openjdk7/jdk/test/com/sun/nio/sctp/SctpMultiChannel/ |
H A D | Send.java | 99 int position = buffer.position(); 106 check(buffer.position() == (position + sent), 107 "buffers position should have been incremented by sent"); 136 position = buffer.position(); 143 check(buffer.position() == (position + sent), 144 "buffers position shoul [all...] |
/openjdk7/jdk/test/java/nio/channels/AsynchronousFileChannel/ |
H A D | Basic.java | 125 long position = 0L; 127 Future<Integer> result = ch.write(src, position); 130 // update position 131 position += n; 143 position = 0L; 146 Future<Integer> result = ch.read(dst, position); 150 // update position 151 if (n > 0) position += n; 400 long[] position = new long[nwriters]; 403 position[ 549 writeFully(final AsynchronousFileChannel ch, final ByteBuffer src, long position) argument 574 readAll(final AsynchronousFileChannel ch, final ByteBuffer dst, long position) argument [all...] |
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | CipherBox.java | 287 * The byte buffers position and limit initially define the amount 288 * to encrypt. On return, the position and limit are 289 * set to last position padded/encrypted. The limit may have changed 297 bb.position(bb.limit()); 302 int pos = bb.position(); 324 bb.position(pos + prefix.length); 328 bb.position(pos); 332 bb.position(pos); 337 bb.position(pos); 352 bb.position(po [all...] |
H A D | ByteBufferInputStream.java | 51 * Increments position(). 68 * Increments position(). 82 * Increments position(). 128 bb.position(bb.position() + skip); 158 * Marks the current position in this input stream. 163 * Repositions this stream to the position at the time the
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/ |
H A D | XMLVersionDetector.java | 251 if(currentEntity.count-currentEntity.position+length > currentEntity.ch.length) { 254 currentEntity.ch = new char[length+currentEntity.count-currentEntity.position+1]; 257 if(currentEntity.position < length) { 259 System.arraycopy(currentEntity.ch, currentEntity.position, currentEntity.ch, length, currentEntity.count-currentEntity.position); 260 currentEntity.count += length-currentEntity.position; 263 for(int i=length; i<currentEntity.position; i++) 268 currentEntity.position = 0;
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/models/ |
H A D | CMLeaf.java | 95 public CMLeaf(QName element, int position) { argument 98 // Store the element index and position 100 fPosition = position; 107 // Store the element index and position 170 // Otherwise, its just the one bit of our position 181 // Otherwise, its just the one bit of our position
|
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/xs/models/ |
H A D | XSCMLeaf.java | 60 public XSCMLeaf(int type, Object leaf, int id, int position) { argument 63 // Store the element index and position 66 fPosition = position; 120 // Otherwise, its just the one bit of our position 130 // Otherwise, its just the one bit of our position
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | MessageDigestSpi.java | 98 * at <code>input.position()</code>. 99 * Upon return, the buffer's position will be equal to its limit; 112 int pos = input.position(); 115 input.position(lim);
|
/openjdk7/jdk/src/share/classes/javax/crypto/ |
H A D | MacSpi.java | 91 * <code>input</code>, starting at <code>input.position()</code>. 92 * Upon return, the buffer's position will be equal to its limit; 108 int pos = input.position(); 111 input.position(lim);
|
/openjdk7/jdk/test/java/nio/channels/Channels/ |
H A D | ShortWrite.java | 49 src.position(src.position() + n);
|
/openjdk7/jdk/test/java/nio/channels/SocketChannel/ |
H A D | Basic.java | 63 bb.position(bb.position() - 2); // Drop CRLF
|
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/ |
H A D | TagImpl.java | 180 public SourcePosition position() { method in class:TagImpl 181 return holder.position();
|
/openjdk7/jdk/src/share/classes/sun/security/x509/ |
H A D | NetscapeCertTypeExtension.java | 93 MapEntry(String name, int position) { argument 95 mPosition = position; 136 * @param position the position in the bit string to check. 138 private boolean isSet(int position) { argument 139 return bitString[position]; 143 * Set the bit at the specified position. 145 private void set(int position, boolean val) { argument 147 if (position >= bitString.length) { 148 boolean[] tmp = new boolean[position [all...] |
/openjdk7/jdk/src/share/classes/sun/nio/cs/ |
H A D | StreamDecoder.java | 279 int pos = bb.position(); 289 bb.position(pos + n); 311 if (cb.position() != 0) 323 if ((cb.position() > 0) && !inReady()) 328 if ((cb.position() == 0) && (!bb.hasRemaining())) 335 assert cb.position() > 0; 346 if (cb.position() == 0) { 351 return cb.position();
|